From unknown Sat Aug 16 16:54:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62637: 29.0.60; Issues when displaying images Resent-From: Abdul-Lateef Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62637@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16805001993961 (code B ref -1); Mon, 03 Apr 2023 05:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2023 05:36:39 +0000 Received: from localhost ([127.0.0.1]:43121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjCru-00011n-9S for submit@debbugs.gnu.org; Mon, 03 Apr 2023 01:36:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:57392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pixwW-00013a-V9 for submit@debbugs.gnu.org; Sun, 02 Apr 2023 09:40:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pixwW-00036p-JA for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 09:40:24 -0400 Received: from mail-cwlgbr01on072e.outbound.protection.outlook.com ([2a01:111:f400:fe14::72e] helo=GBR01-CWL-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pixwT-0007Dm-QH for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 09:40:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+vlUGkqfbs9Ob/6sBYMLARulw0t1lFoR5eJ3BrQFebRLLnyTI4jgBSn/a42GaT3oojw9bffwEwer9nhtUnBq1I2rUYH8BKcxr5eBBFk1J0RawxTyDpfd00zUdjiTVH+Nu3f8Gu9i68Xl7QrvKFxSqnZI/qJp8W2BRy3tbiABTta3iaxEMh2kzHc6SxX1FhaiDd6JOE06PiYMjDNj1WlNJF0pTtD2lV+87Nen1XQb2os/QyA51nGFMRsrzdlUy5dh1rRMbd7/iGvvgBZMBzoq5Z+zEHgBKShDwTEImorkuZMowE06PCDFzj4HA1io02KOXssqK7mQLEkNi1Qe8qj1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XbhF/XWMHZXhAV++jwU6/6T7EzXhbOJe2Sm4EBAJ1B8=; b=G+y5L8geQ+Xr3hNKd+FB5DDPFqwfzBQ3kYVUhVnlpXOd29sVjeANqHtgAmh0N5+py8kDgrca+rg+2Dwx7PqKk1yVh3VN2Nx1tKZZd4C6JHcjKQq7dS7kqO8HQnV8xYbuzwlb7gOjVgZuNM24f8u0Fw18/J/FbIO3fLhohybUqmFQN5+uZhiW2fxNxlB55VqO2Hxna3xNHjGw4nw2m3SWRfyY+IhlSywea0NZAdbNGijhl1p8q+Iau9xvA8fyw3EoTipNyvHR4yMwE3utryd9i634yyjH2Bp1GZlkBOjQIDXIGNdr/o2EIDp0FJhJYY2nYxQmOaOQBth34JInrUsx+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hw.ac.uk; dmarc=pass action=none header.from=hw.ac.uk; dkim=pass header.d=hw.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heriotwatt.onmicrosoft.com; s=selector2-heriotwatt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XbhF/XWMHZXhAV++jwU6/6T7EzXhbOJe2Sm4EBAJ1B8=; b=P/kNCKm7WDnSs9oK72qHuhud6XuQDaXZcGzvWXIW/Hv3IDwh5A518mQBqwX9TdLMPxloL7gP0c94VG/eMvEhNCxI16MSM258TAV10FMFM5t6wPNFFnkO9TEi35FfMhf1ft0SXxbvgXdzA9vansos5V9E8TnOMHG5DEsbrxid5cg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hw.ac.uk; Received: from LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:37e::12) by LO0P302MB0049.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:363::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.29; Sun, 2 Apr 2023 13:35:15 +0000 Received: from LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM ([fe80::9a97:1ac6:5e76:7737]) by LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM ([fe80::9a97:1ac6:5e76:7737%4]) with mapi id 15.20.6254.030; Sun, 2 Apr 2023 13:35:15 +0000 From: Abdul-Lateef Haji-Ali Organization: Heriot-Watt University Date: Sun, 02 Apr 2023 14:31:12 +0100 Message-ID: Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0301.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::18) To LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:37e::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO6P302MB0318:EE_|LO0P302MB0049:EE_ X-MS-Office365-Filtering-Correlation-Id: 263ddd29-a7ba-4157-5e39-08db337f1773 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Zsv+eBYaocA4qpkwEC07m6s0Ik9686HiC+ww8spggFmdGSlNggk7CEoC4aau4RfdzJzr/SUO7ed2YK4tepZz+WU+v2p9d2wyC0fcpZap4rP+EvsP7ZLloNsKGy041nH1pFhMh1EM1qkdrXRK6ODfaB3+5UjP2ZH/2xCpgGQnzZ6aR12m4qvsJLjORkieWztYZOdOUoM0qr4J+7SusyC39qE2/z54IBS979VgrwRIk4IKvDdoXA8fYCcd92xEH6B6e83okYprU/YBJbgedIznmgzvaCBBMxVPV8+suB5bO10OxExd7Cfhf5O+wJz46K9hs2fr2EWdip7DcLnUoFnYwBiy8r+Nq0Rm/Q7Kr2ttBDnOjSLgf9DlHTZ3rWK2gt90DU3DNg5QyAvIwbEKBEkH89YA8wJkaxA16+p4Hr/EdoOIGMk/LvQ/eY5vAbgp93dsB/GfRXm4j71Twv5CQs81a8h204OAT6j+IwudA+WEaLvBSGh5D/3QzC5Lshyb1pB2at173COBqUf38Jgq54Ihq18hw6NXTZQ59MdxiqHFBRNgQYkmcj8uXkCDphRM+bT X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(39850400004)(136003)(346002)(376002)(366004)(451199021)(41300700001)(8676002)(6916009)(66476007)(66946007)(66556008)(478600001)(316002)(786003)(8936002)(5660300002)(38100700002)(4743002)(186003)(83380400001)(2616005)(36916002)(6666004)(6486002)(26005)(6512007)(6506007)(86362001)(36756003)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nomcLjOLz+78TtZhjv5PM93YYXDOGyqgUR9oYjHDz10ElKztjLJD8s/navp1zqyzd44r4Yy6oNwQ+JifWUeM1C6c8gi362uGGzLG9soRXoau3aq5adT1Sd7rSbcoQXLwAtKGa0wNvYRMPCBTQ2VqRHKGfJpWqCM+m98SBd+fr2oK82m1gGk6bnK80VdWVKuDOWVjD2j91nkxlv44kX9W8RPlWZNZU0/Z7xayyZTwAdAS0vWdek5yoU/reni4xzKBEEnvEE4I2Q8WuAP8OVxoUyjpLq1tYyynmRWHfL4TTNjZnUV7lErW5xGz/28qk8qFCD49DP8DTyxyd32kAMafh7lINvgz5vjjfbeD+hy35P+XIxiqYTBIUXi3vrgkbf9m46k2KPQOsLKZiNN2nWSReWJT4VsIRYyu00tO9aJ1JZkLTKwUryWYWYK+AzpFthNOyuegCQYHyWQvwvIBgkjQjQ8vUdE+LIr0mz0rPKJ0J2kVMdTDwoT/rMh9YN3fXuYBIEf1lN+ikA0Juf1YnUmBqDfe61i8ECrUXGffWCzi7D7kQicmSXfOQNbavKabEskNcvdHpPDQ6yYssc7uazypYA72KF7MA7yA38UFqLKJzG3AOlScqMovcIipYQzLg5nQ9wVwYNI8gGBDSxhTM8WtpVtfVZ/ZnFKo7cNVdXS8NS9iXEdymhtnCQwdURMkxq/UCHDCnF69A59ZnHKcsmr8QEbfc+ELlt8V843L7/U+Gkoyfv7THrYQBic6727BM/BDXAA8/e/dNrqqrn35j8NJHU1vh9ZZvt2hVtnkqB/wHkz8aCO0WU6d98T67f42eIceUVjyDe3oOpz8+00qEjXf7I5jn1DwwJu2xb34zEpZ7GschlIN7WVXtpjwNSWtvTT0opTrLa781Swk5OczFh3TTvRRBlm7eKA1Un+r3Y0hQ2J7oJuLPkxJAWuICuCjvXghVkNTV31nLaTDMZDuzXR5MQ5Bi7K/nx61LecD8CTtTekL+WklJtpb4db27YedDhow0UaRpqS9xjgevuPMSbem6hlY6qKVEPDYZEOopeCLnfH7D5aOEhJJ7UNKcYOLQCiKqVv5V3N/9SPmTzW/dcZ9YQ7ae4vzKSm9clSpqO2oQBfEoEAz09ioOpFhnRaNivor0pxcp3b9tSkGT+VQBQM5RUUqpq7MrTlyXdPh6AD7ZBxteXw81ymy8hif35nUINSBDkiWA8j4R43/Q9r5IVHrMecw6GXAAAsx6x4dSoAlt9m1Oft8lcPzI8JPVwcOql5cHXZmvwKVToD0uJoVcMoF6HWf0QrXac+LSHdBp7Jsf7TU38FuzQxgXY+mb3CcwVoatRWQ0HqqfxVliYGCXIusJFryAPNYptVgxxSQeiL0yaZAeb5p+K829p795IYFHj2odDfHB1owwAm2Ut9Q3kczLGzwcY/Javne+QhxWCIlRhAWAxtsOx7AUWOFDaStJdNeJJ9SUcghpvcft4PafFQY6gRl8xOj4ttuJvO2+TpZlqxr1V+OmsvtYMJo6LzgT55oKv7nDp4vlUcZ3UrfI0GPwvtsmx8HgvZGMou32C5uAQE= X-OriginatorOrg: hw.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 263ddd29-a7ba-4157-5e39-08db337f1773 X-MS-Exchange-CrossTenant-AuthSource: LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2023 13:35:15.1861 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6c425ff2-6865-42df-a4db-8e6af634813d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: R0xaD9CVPtpKwhVbo4Aeb9fyi7Zgvgxhv5vqgci++u9RmfFqQZCTdKaOOxTTlnUc X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P302MB0049 Received-SPF: pass client-ip=2a01:111:f400:fe14::72e; envelope-from=A.HajiAli@hw.ac.uk; helo=GBR01-CWL-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 03 Apr 2023 01:36:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) It seems that `mm-inline-image` switched to using `insert-image` instead of `put-image` which resulted in some regressions in notmuch that I noticed between emacs 29 and emacs 28.2. However, I tracked down the discrepancy to the following issues in displaying images in emacs-29. First the following code (assuming some image in /tmp/tmp.png), executed in "emacs -Q" on either emacs 28.2 or emacs 29: (let (content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (insert-image (create-image "/tmp/tmp.png")) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) Uncommenting each of the two lines of code shows the two issues (explained in comments). These issues appear in both emacs 29 and 28.2 (though they might be specific to MacOS). Similar code to this example is executed in notmuch when displaying message, but using `mm-inline-image` instead of insert-image: (let* ((buffer (find-file-noselect "/tmp/tmp.png" t t)) (handle (list buffer '("image/jpeg" (charset)) nil nil nil nil `(image :type jpeg :data ,(with-current-buffer buffer (buffer-string)) :scale 1 :transform-smoothing t) nil)) content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (require 'mm-view) (mm-inline-image handle) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) In this case, in Emacs 29, the behaviour is similar to the "wrong" behaviour of the first example. In Emacs 28.2 on the other hand, the behaviour is what I would expect in both cases (though the undo stack gets messed up and I cannot undo inserting the image. Indenting also doesn't work, but at least the image is not removed) As a last test, in case it is helpful, I tried the following in emacs 29 using `put-image` instead of `insert-image` (`mm-inline-image` uses in Emacs 28.2 uses `put-image` while in Emacs 29 it uses 'insert-image'), and noticed an equally puzzling behaviour: (let (content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (put-image (create-image "/tmp/tmp.png") (point-marker)) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) In this case, `indent-rigidly` does not remove the image, but hiding the overlay does not work. Best regards, -- Al ---------------------------------------------------------------------------- In GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68)) of 2023-03-22 built on HW-R9XXWKPJ4D Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.2.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp --infodir=/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/info/emacs --prefix=/opt/homebrew/Cellar/emacs-plus@29/29.0.60 --with-xml2 --with-gnutls --with-native-compilation --without-compress-install --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w -pipe -mmacosx-version-min=13 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' 'CPPFLAGS=-I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/libomp/include -I/opt/homebrew/opt/icu4c/include -I/opt/homebrew/opt/openssl@1.1/include -isystem/opt/homebrew/include -F/opt/homebrew/Frameworks -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' 'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib -L/opt/homebrew/opt/libomp/lib -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/opt/openssl@1.1/lib -L/opt/homebrew/lib -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77309 5714) ________________________________ Heriot-Watt University was founded in 1821 and is a registered Scottish charity (SC000278). (symbols 48 7039 0) (strings 32 18694 2727) (string-bytes 1 577061) (vectors 16 16292) (vector-slots 8 324373 10025) (floats 8 27 46) (intervals 56 297 0) (buffers 984 10)) From unknown Sat Aug 16 16:54:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62637: 29.0.60; Issues when displaying images Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Abdul-Lateef Haji-Ali , Lars Ingebrigtsen Cc: 62637@debbugs.gnu.org Received: via spool by 62637-submit@debbugs.gnu.org id=B62637.16805288913124 (code B ref 62637); Mon, 03 Apr 2023 13:35:02 +0000 Received: (at 62637) by debbugs.gnu.org; 3 Apr 2023 13:34:51 +0000 Received: from localhost ([127.0.0.1]:43735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjKKg-0000oK-H1 for submit@debbugs.gnu.org; Mon, 03 Apr 2023 09:34:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjKKe-0000nw-BB for 62637@debbugs.gnu.org; Mon, 03 Apr 2023 09:34:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjKKY-0002DL-4z; Mon, 03 Apr 2023 09:34:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=X/Cmmpv9JHfTtJyAmxtGbLKCUEeWqY192p8Ndv58Y/M=; b=B73pIMcjiUAk xr3rRM95+u4ZXCEBJ9ECKPa57mfqI/33D8FwDsqZiozTJvL/t+xkQ9WgG65RAGxzmOyXYHkWySGtY 7WxnvFMEQ+Kr9+W7FwVZXGseBojFgJ4yK4MPboTAOZYtXpEaL0xdLMgPnYTNh6soCc5BDYQ0QH1lS IvjGl4DCP6/y93cF/HZCR7skPzdS5WzGqs07vXfRehrbhwvTWh5Y79FtAOrnnvwSo8QP0tFwW7lgT 390Q3h9Qo0xbVzrbTN9CJkOhRDd/8sjWw2Kn1qSN33dcaF2UflMzOyYsmAEHG+KRcd4KtdJ8/8uaj ohBGPF/1y2SEG7Cmmfd5Uw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjKKX-0003XG-Lj; Mon, 03 Apr 2023 09:34:41 -0400 Date: Mon, 03 Apr 2023 16:35:02 +0300 Message-Id: <83355hw0l5.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 02 Apr 2023 14:31:12 +0100 > From: Abdul-Lateef Haji-Ali via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > It seems that `mm-inline-image` switched to using `insert-image` instead of `put-image` which resulted in some regressions in notmuch that I noticed between emacs 29 and emacs 28.2. However, I tracked down the discrepancy to the following issues in displaying images in emacs-29. Maybe I'm missing something (you've lumped together several code fragments without too many explanations), but I see no discrepancies here, only unjustified expectations. > First the following code (assuming some image in /tmp/tmp.png), executed in "emacs -Q" on either emacs 28.2 or emacs 29: > > (let (content-begin > content-end) > (goto-char (point-max)) > (insert "\n") > (setq content-begin (point)) > (insert-image (create-image "/tmp/tmp.png")) > (setq content-end (point)) > > ;; I expect the following line to indent the image (or not). > ;; instead the image is removed completely > ;;(indent-rigidly content-begin content-end 1) indent-rigidly removes the existing whitespace and then inserts new whitespace as needed. And insert-image by default puts the 'display' property on a space character. Does this explain what you see? > ;; This line should hide the image, but it doesn't > ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) > ) Due to the way the Emacs display engine is implemented, 'display' properties (which is how images are implemented in Emacs) are processed before invisible properties. And a 'display' property that specifies an image is a "replacing" property: the image is displayed _instead_ of the buffer text which has this property, and the buffer text itself is skipped. What this means in this case is that the overlay with the invisible property is completely ignored by the display code, because the buffer text on which you put that overlay is skipped when the 'display' property is processed. > Similar code to this example is executed in notmuch when displaying message, but using `mm-inline-image` instead of insert-image: I don't understand all the fine details of what mm-inline-image does, but its current implementation again uses a space for the text on which it puts the 'display' property that is displayed as the image. > As a last test, in case it is helpful, I tried the following in emacs 29 using `put-image` instead of `insert-image` (`mm-inline-image` uses in Emacs 28.2 uses `put-image` while in Emacs 29 it uses 'insert-image'), and noticed an equally puzzling behaviour: > > (let (content-begin > content-end) > (goto-char (point-max)) > (insert "\n") > > (setq content-begin (point)) > (put-image (create-image "/tmp/tmp.png") (point-marker)) > (setq content-end (point)) > > ;; I expect the following line to indent the image (or not). > ;; instead the image is removed completely > ;;(indent-rigidly content-begin content-end 1) > > ;; This line should hide the image, but it doesn't > ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) > ) > > In this case, `indent-rigidly` does not remove the image, but hiding the overlay does not work. For the overlays part, see the above: put-image cannot change that basic fact. If you are saying that notmuch was able to hide images by using overlays, you will need to tell more and show some code which did that in some prior version of Emacs. As for indentation: put-image uses a different default for the text on which it puts the image 'display' property. That explains why re-indentation didn't remove the image in Emacs 28. Perhaps we should modify mm-inline-image to use a non-whitespace text on which to put the image? Can you try that? Lars, any reason you explicitly used whitespace as the STRING argument of insert-image that replaced put-image in mm-inline-image? From unknown Sat Aug 16 16:54:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62637: 29.0.60; Issues when displaying images Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: a.hajiali@hw.ac.uk Cc: larsi@gnus.org, 62637@debbugs.gnu.org Received: via spool by 62637-submit@debbugs.gnu.org id=B62637.16805395251035 (code B ref 62637); Mon, 03 Apr 2023 16:33:02 +0000 Received: (at 62637) by debbugs.gnu.org; 3 Apr 2023 16:32:05 +0000 Received: from localhost ([127.0.0.1]:45084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjN6C-0000Gc-LV for submit@debbugs.gnu.org; Mon, 03 Apr 2023 12:32:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjN6A-0000G8-Rx for 62637@debbugs.gnu.org; Mon, 03 Apr 2023 12:32:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjN62-0008Qe-Jm; Mon, 03 Apr 2023 12:31:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hnzvgcIJ1mLr6+cfZT8fza/xdjpdinLWY71UTyKklhA=; b=QMKaD7hOfv9K MTzrQng7w+ehrm8UnJlpt9ING8Y6NAN2DB5ctcu1pFOc975a3FSNp+GHRAxobR8R+1dYZl0Ll6qnQ W6RfKvqZd4i4XF8fnLSOozCKWNY0MHKhgbkyqO1GMGFQxTtPYENg3G/ULE1bEQ9uHswra9eOoY/Z0 ks9LtL4+fUNRhobiS2movw7jkHmLuOHEgHcmybJcJSDtD4yhWauZzeZHEqIY4n/6oXkuk77Tv4SBk FAc32MV8+Ni0EpuRi2xW3SiUmpX5jNLMRxDfgrZbK896stYUItGdE6865DmwbCXNRo69jRmsZWtEx FrXolsLbqkC98CDJYn8+ug==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjN62-0004j1-3q; Mon, 03 Apr 2023 12:31:54 -0400 Date: Mon, 03 Apr 2023 19:32:15 +0300 Message-Id: <83iledudtc.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83355hw0l5.fsf@gnu.org> (message from Eli Zaretskii on Mon, 03 Apr 2023 16:35:02 +0300) References: <83355hw0l5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 62637@debbugs.gnu.org > Date: Mon, 03 Apr 2023 16:35:02 +0300 > From: Eli Zaretskii > > As for indentation: put-image uses a different default for the text on > which it puts the image 'display' property. That explains why > re-indentation didn't remove the image in Emacs 28. Actually, put-image uses an overlay string with the 'display' property, so it doesn't put the property on buffer text, and thus re-indentation doesn't affect it. From unknown Sat Aug 16 16:54:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62637: 29.0.60; Issues when displaying images Resent-From: Al Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 18:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 62637@debbugs.gnu.org Received: via spool by 62637-submit@debbugs.gnu.org id=B62637.168054665223470 (code B ref 62637); Mon, 03 Apr 2023 18:31:01 +0000 Received: (at 62637) by debbugs.gnu.org; 3 Apr 2023 18:30:52 +0000 Received: from localhost ([127.0.0.1]:45240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjOx9-00066T-SU for submit@debbugs.gnu.org; Mon, 03 Apr 2023 14:30:52 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:50830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjOx7-00066E-E5 for 62637@debbugs.gnu.org; Mon, 03 Apr 2023 14:30:50 -0400 Received: by mail-wm1-f53.google.com with SMTP id n19so17664276wms.0 for <62637@debbugs.gnu.org>; Mon, 03 Apr 2023 11:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680546643; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=igKFFydEeZNWNAiLdp2geDTAaMaVeG9laEjEUHHTSkI=; b=FM39b1NNGsbfg6Jte405PvsuL6g1hm+TzpW74KpBMRz31qrapARuLOTqbjf38CZkLA BqRHLHA9nqmI2LiofNOZwekhgBYPQ5GAGNWoJM5BXl/9aUN9e3SD9qTftX+oHLDBg3n9 Zt4A+FnZr74XfoLv+MDZObpxYBfzn8V0OJ/M3tGYbvCD+MGjLCnkRRImPLQuzIGVCZet FiQzAsgibKbP/k9ihz8Z/JHbdBa5XglTf45cd1/M/O7jI2MenfUsXyIvhrIbfC4AFzDT NuJf7s96GVxlx//nvp4Pl7XMS99edu1J+gX2uo0O8fETEf0xzDx8jZxlxW8W5rlB2Rvd wyPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680546643; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=igKFFydEeZNWNAiLdp2geDTAaMaVeG9laEjEUHHTSkI=; b=e44iC0EZL4O1wDWNf4wyNHQW+/3o3A3oE9WotOQ0g1N0dB4tbQ8Pl2bhP9Td7ddj7N joyrlk7897ewAl8FD6yy6car29APwzAFBTJL9sU9uRkQSL4A4RAuwZMPnXOiS9tRGhWR kiZBRoV/avEYC8J6AmYTR8pdFiqmwwSyColtJsNtMo937zPtcVixxaVp+Ym5x+A1RNbe 7BubYJjdS4MjyN2tFXB/ClrtueAulFlgrx2HP7B3hjm7+T6RD72mwXwoDcC3nEG1DwyU g02WZF2Ma48zaP9AVLPuUm1j8sh2BDSXbi2bfxZEIp+SLxj9MCu3QSkY10rNdbG/fXZI 8psw== X-Gm-Message-State: AAQBX9f3hWHWqiljF5/qE0M+Wy6q6MMhPlori5twlev/mn0Xv/lXXtKo vlSvgX2FhoIjgMtcoZ3yuc0= X-Google-Smtp-Source: AKy350Zb95Lq6XKia2U37r9GvN/UhcNCUTqH2CDHGA6X1gJM2xh2K9tze8mJ2nzCym90yposTo6qDw== X-Received: by 2002:a7b:ca55:0:b0:3ef:672a:2c93 with SMTP id m21-20020a7bca55000000b003ef672a2c93mr255236wml.36.1680546643380; Mon, 03 Apr 2023 11:30:43 -0700 (PDT) Received: from localhost (sgyl-45-b2-v4wan-165314-cust948.vm6.cable.virginm.net. [92.236.87.181]) by smtp.gmail.com with ESMTPSA id t17-20020adff611000000b002c5a790e959sm10311457wrp.19.2023.04.03.11.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 11:30:42 -0700 (PDT) From: Al Haji-Ali In-Reply-To: <83iledudtc.fsf@gnu.org> References: <83355hw0l5.fsf@gnu.org> <83iledudtc.fsf@gnu.org> Date: Mon, 03 Apr 2023 19:30:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks Lars for explaining. I understand the issue now regarding indentation. I think passing a non-empty string to `insert-image` in `mml-inline-image` (and maybe by default in `insert-image`?) would be better IMO. Regarding the overlay visibility, the issue for me was the different behaviour of `put-image` and `insert-image` in different cases. Which can be seen in the following example: (let (content-begin content-end (img (create-image "/tmp/tmp.png"))) (goto-char (point-max)) (insert "\ninsert-image:\n") (setq content-begin (point)) (insert-image img "I") (insert "\n") (setq content-end (point)) (overlay-put (make-overlay content-begin content-end) 'invisible t) (insert "\nput-image without new line:\n") (setq content-begin (point)) (put-image img (point-marker)) (setq content-end (point)) (overlay-put (make-overlay content-begin content-end) 'invisible t) (insert "\nput-image with new line:\n") (setq content-begin (point)) (put-image img (point-marker)) (insert "\n") (setq content-end (point)) (overlay-put (make-overlay content-begin content-end) 'invisible t)) This code tests overlay visibility for images with three cases: - using insert-image: as you explained this does not work as expected. - using put-image: Since put-images uses an overlay, I guess the same logic applies. - put-image with a newline: Seems to work for some reason. This is what `mml-inline-image` was using before and why notmuch was working. Sorry for the noise. I am not sure there's a bug in this case, only unjustified expectations as you put it. Best regards, -- Al On 03/04/2023, Eli Zaretskii wrote: > > >> Cc: 62637@debbugs.gnu.org >> Date: Mon, 03 Apr 2023 16:35:02 +0300 >> From: Eli Zaretskii >> >> As for indentation: put-image uses a different default for the text on >> which it puts the image 'display' property. That explains why >> re-indentation didn't remove the image in Emacs 28. > > Actually, put-image uses an overlay string with the 'display' > property, so it doesn't put the property on buffer text, and thus > re-indentation doesn't affect it. From unknown Sat Aug 16 16:54:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62637: 29.0.60; Issues when displaying images Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Al Haji-Ali Cc: larsi@gnus.org, 62637@debbugs.gnu.org Received: via spool by 62637-submit@debbugs.gnu.org id=B62637.168054732824525 (code B ref 62637); Mon, 03 Apr 2023 18:43:02 +0000 Received: (at 62637) by debbugs.gnu.org; 3 Apr 2023 18:42:08 +0000 Received: from localhost ([127.0.0.1]:45255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjP84-0006NV-1B for submit@debbugs.gnu.org; Mon, 03 Apr 2023 14:42:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjP81-0006My-3x for 62637@debbugs.gnu.org; Mon, 03 Apr 2023 14:42:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjP7v-0002t6-7B; Mon, 03 Apr 2023 14:41:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7Hf9ggh+EIZPo9Pl4dXnSfvlacfa9oK+avs1lj1SzyA=; b=BWOuqjsHar9g 1wRHW3a3ghX0nmTAMncvIuPSkM+4e5rjG8RtNPoDWFZ45w+z+d7Xzdwzg2lU0HqFJn1BSS4Bus2KL Zoq0mbGIZ3StCpl680Re9CNwcwCuF1jC6d61AorNVsjC7wO9sMbSgeknmpIGOib1rYgTkTGBQcmzN vhRueb1edbYDL1zkgPJH+Mn1T6H/8okQdpuvJAL6NGys+rqB/OY0ZPrpbdCk6ggW2qfRoHC5SWp8a pOBw5KbcASYvlfuVN+e74FIb9H+alBd5/aUIrwww5vblKD7/Hqx8cOhF9p0M4a1sc8p6A0hx3ZaT6 EjXyCm3a2Z3kD5vetKo5vg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjP7u-0007ZX-CP; Mon, 03 Apr 2023 14:41:58 -0400 Date: Mon, 03 Apr 2023 21:42:20 +0300 Message-Id: <838rf8vmcz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Al Haji-Ali on Mon, 03 Apr 2023 19:30:38 +0100) References: <83355hw0l5.fsf@gnu.org> <83iledudtc.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Al Haji-Ali > Cc: larsi@gnus.org, 62637@debbugs.gnu.org > Date: Mon, 03 Apr 2023 19:30:38 +0100 > > This code tests overlay visibility for images with three cases: > - using insert-image: as you explained this does not work as expected. > - using put-image: Since put-images uses an overlay, I guess the same logic applies. > - put-image with a newline: Seems to work for some reason. This is what `mml-inline-image` was using before and why notmuch was working. I think the invisible overlay will work if its span is different from exactly the same text as the one on which image is defined. I think notmuch could simply copy the old definition of mml-inline-image, and use that. > Sorry for the noise. I am not sure there's a bug in this case, only unjustified expectations as you put it. No sweat. I'd still like to hear from Lars about the string he used in the insert-image call: should we replace it with a non-whitespace string? From unknown Sat Aug 16 16:54:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Abdul-Lateef Haji-Ali Subject: bug#62637: closed (Re: bug#62637: 29.0.60; Issues when displaying images) Message-ID: References: <83r0sumsq6.fsf@gnu.org> X-Gnu-PR-Message: they-closed 62637 X-Gnu-PR-Package: emacs Reply-To: 62637@debbugs.gnu.org Date: Sat, 08 Apr 2023 13:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1680958982-1282-1" This is a multi-part message in MIME format... ------------=_1680958982-1282-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62637: 29.0.60; Issues when displaying images=20 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62637@debbugs.gnu.org. --=20 62637: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62637 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1680958982-1282-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62637-done) by debbugs.gnu.org; 8 Apr 2023 13:02:50 +0000 Received: from localhost ([127.0.0.1]:57992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl8DR-0000KH-OJ for submit@debbugs.gnu.org; Sat, 08 Apr 2023 09:02:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl8DP-0000K5-SU for 62637-done@debbugs.gnu.org; Sat, 08 Apr 2023 09:02:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pl8DI-0005ON-NW; Sat, 08 Apr 2023 09:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Q1wQtU2s9ufux3u/FJBdY5lJVfl18lluAnoU4nWhu70=; b=A/4SZgABf37z ljqLyrVyA0O/yaeQstN+beVaGfUoFDnbFi904cy6M8lgB3lgwlWAECz7s19KvjSYcCzUVC9DfpU+E gNPf7fxq+T8iDiXOpDK6YoV0PvOk7E+ow5U0Q6lxD8OZ+E680Q86O+dNUTDm756jbe49fWDrlP+9X wHCTM+AVuC6miTHL3DOgRsWTRE+cZpIPOP96MrN1iuUGZG3DUt6FY0w5OGH23KQ1D9l9KH60oGHQa /qgP4faoAbAPIstj7/AtyQfbJar1HQdKzkj2zyuP6iQnm1bfL7KTZtaswK+ogbBr0gqx78NaGxN2C c3HyYNksV57HShdDEkQmLw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pl8DF-00022I-K4; Sat, 08 Apr 2023 09:02:40 -0400 Date: Sat, 08 Apr 2023 16:03:13 +0300 Message-Id: <83r0sumsq6.fsf@gnu.org> From: Eli Zaretskii To: larsi@gnus.org In-Reply-To: <83355hw0l5.fsf@gnu.org> (message from Eli Zaretskii on Mon, 03 Apr 2023 16:35:02 +0300) Subject: Re: bug#62637: 29.0.60; Issues when displaying images References: <83355hw0l5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62637-done Cc: 62637-done@debbugs.gnu.org, a.hajiali@hw.ac.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 62637@debbugs.gnu.org > Date: Mon, 03 Apr 2023 16:35:02 +0300 > From: Eli Zaretskii > > As for indentation: put-image uses a different default for the text on > which it puts the image 'display' property. That explains why > re-indentation didn't remove the image in Emacs 28. Perhaps we should > modify mm-inline-image to use a non-whitespace text on which to put > the image? Can you try that? Lars, any reason you explicitly used > whitespace as the STRING argument of insert-image that replaced > put-image in mm-inline-image? No further comments, so I've now modified mm-inline-image to use "x" as the string on which to put the image 'display' property. Hopefully, this will allow notmuch and other applications to re-indent images inserted using mm-inline-image. And with that, I'm closing the bug. ------------=_1680958982-1282-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Apr 2023 05:36:39 +0000 Received: from localhost ([127.0.0.1]:43121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjCru-00011n-9S for submit@debbugs.gnu.org; Mon, 03 Apr 2023 01:36:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:57392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pixwW-00013a-V9 for submit@debbugs.gnu.org; Sun, 02 Apr 2023 09:40:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pixwW-00036p-JA for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 09:40:24 -0400 Received: from mail-cwlgbr01on072e.outbound.protection.outlook.com ([2a01:111:f400:fe14::72e] helo=GBR01-CWL-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pixwT-0007Dm-QH for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2023 09:40:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+vlUGkqfbs9Ob/6sBYMLARulw0t1lFoR5eJ3BrQFebRLLnyTI4jgBSn/a42GaT3oojw9bffwEwer9nhtUnBq1I2rUYH8BKcxr5eBBFk1J0RawxTyDpfd00zUdjiTVH+Nu3f8Gu9i68Xl7QrvKFxSqnZI/qJp8W2BRy3tbiABTta3iaxEMh2kzHc6SxX1FhaiDd6JOE06PiYMjDNj1WlNJF0pTtD2lV+87Nen1XQb2os/QyA51nGFMRsrzdlUy5dh1rRMbd7/iGvvgBZMBzoq5Z+zEHgBKShDwTEImorkuZMowE06PCDFzj4HA1io02KOXssqK7mQLEkNi1Qe8qj1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XbhF/XWMHZXhAV++jwU6/6T7EzXhbOJe2Sm4EBAJ1B8=; b=G+y5L8geQ+Xr3hNKd+FB5DDPFqwfzBQ3kYVUhVnlpXOd29sVjeANqHtgAmh0N5+py8kDgrca+rg+2Dwx7PqKk1yVh3VN2Nx1tKZZd4C6JHcjKQq7dS7kqO8HQnV8xYbuzwlb7gOjVgZuNM24f8u0Fw18/J/FbIO3fLhohybUqmFQN5+uZhiW2fxNxlB55VqO2Hxna3xNHjGw4nw2m3SWRfyY+IhlSywea0NZAdbNGijhl1p8q+Iau9xvA8fyw3EoTipNyvHR4yMwE3utryd9i634yyjH2Bp1GZlkBOjQIDXIGNdr/o2EIDp0FJhJYY2nYxQmOaOQBth34JInrUsx+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hw.ac.uk; dmarc=pass action=none header.from=hw.ac.uk; dkim=pass header.d=hw.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heriotwatt.onmicrosoft.com; s=selector2-heriotwatt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XbhF/XWMHZXhAV++jwU6/6T7EzXhbOJe2Sm4EBAJ1B8=; b=P/kNCKm7WDnSs9oK72qHuhud6XuQDaXZcGzvWXIW/Hv3IDwh5A518mQBqwX9TdLMPxloL7gP0c94VG/eMvEhNCxI16MSM258TAV10FMFM5t6wPNFFnkO9TEi35FfMhf1ft0SXxbvgXdzA9vansos5V9E8TnOMHG5DEsbrxid5cg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hw.ac.uk; Received: from LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:37e::12) by LO0P302MB0049.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:363::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.29; Sun, 2 Apr 2023 13:35:15 +0000 Received: from LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM ([fe80::9a97:1ac6:5e76:7737]) by LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM ([fe80::9a97:1ac6:5e76:7737%4]) with mapi id 15.20.6254.030; Sun, 2 Apr 2023 13:35:15 +0000 From: Abdul-Lateef Haji-Ali To: bug-gnu-emacs@gnu.org Subject: 29.0.60; Issues when displaying images Organization: Heriot-Watt University Date: Sun, 02 Apr 2023 14:31:12 +0100 Message-ID: Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0301.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::18) To LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:37e::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO6P302MB0318:EE_|LO0P302MB0049:EE_ X-MS-Office365-Filtering-Correlation-Id: 263ddd29-a7ba-4157-5e39-08db337f1773 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Zsv+eBYaocA4qpkwEC07m6s0Ik9686HiC+ww8spggFmdGSlNggk7CEoC4aau4RfdzJzr/SUO7ed2YK4tepZz+WU+v2p9d2wyC0fcpZap4rP+EvsP7ZLloNsKGy041nH1pFhMh1EM1qkdrXRK6ODfaB3+5UjP2ZH/2xCpgGQnzZ6aR12m4qvsJLjORkieWztYZOdOUoM0qr4J+7SusyC39qE2/z54IBS979VgrwRIk4IKvDdoXA8fYCcd92xEH6B6e83okYprU/YBJbgedIznmgzvaCBBMxVPV8+suB5bO10OxExd7Cfhf5O+wJz46K9hs2fr2EWdip7DcLnUoFnYwBiy8r+Nq0Rm/Q7Kr2ttBDnOjSLgf9DlHTZ3rWK2gt90DU3DNg5QyAvIwbEKBEkH89YA8wJkaxA16+p4Hr/EdoOIGMk/LvQ/eY5vAbgp93dsB/GfRXm4j71Twv5CQs81a8h204OAT6j+IwudA+WEaLvBSGh5D/3QzC5Lshyb1pB2at173COBqUf38Jgq54Ihq18hw6NXTZQ59MdxiqHFBRNgQYkmcj8uXkCDphRM+bT X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(39850400004)(136003)(346002)(376002)(366004)(451199021)(41300700001)(8676002)(6916009)(66476007)(66946007)(66556008)(478600001)(316002)(786003)(8936002)(5660300002)(38100700002)(4743002)(186003)(83380400001)(2616005)(36916002)(6666004)(6486002)(26005)(6512007)(6506007)(86362001)(36756003)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nomcLjOLz+78TtZhjv5PM93YYXDOGyqgUR9oYjHDz10ElKztjLJD8s/navp1?= =?us-ascii?Q?zqyzd44r4Yy6oNwQ+JifWUeM1C6c8gi362uGGzLG9soRXoau3aq5adT1Sd7r?= =?us-ascii?Q?SbcoQXLwAtKGa0wNvYRMPCBTQ2VqRHKGfJpWqCM+m98SBd+fr2oK82m1gGk6?= =?us-ascii?Q?bnK80VdWVKuDOWVjD2j91nkxlv44kX9W8RPlWZNZU0/Z7xayyZTwAdAS0vWd?= =?us-ascii?Q?ek5yoU/reni4xzKBEEnvEE4I2Q8WuAP8OVxoUyjpLq1tYyynmRWHfL4TTNjZ?= =?us-ascii?Q?nUV7lErW5xGz/28qk8qFCD49DP8DTyxyd32kAMafh7lINvgz5vjjfbeD+hy3?= =?us-ascii?Q?5P+XIxiqYTBIUXi3vrgkbf9m46k2KPQOsLKZiNN2nWSReWJT4VsIRYyu00tO?= =?us-ascii?Q?9aJ1JZkLTKwUryWYWYK+AzpFthNOyuegCQYHyWQvwvIBgkjQjQ8vUdE+LIr0?= =?us-ascii?Q?mz0rPKJ0J2kVMdTDwoT/rMh9YN3fXuYBIEf1lN+ikA0Juf1YnUmBqDfe61i8?= =?us-ascii?Q?ECrUXGffWCzi7D7kQicmSXfOQNbavKabEskNcvdHpPDQ6yYssc7uazypYA72?= =?us-ascii?Q?KF7MA7yA38UFqLKJzG3AOlScqMovcIipYQzLg5nQ9wVwYNI8gGBDSxhTM8Wt?= =?us-ascii?Q?pVtfVZ/ZnFKo7cNVdXS8NS9iXEdymhtnCQwdURMkxq/UCHDCnF69A59ZnHKc?= =?us-ascii?Q?smr8QEbfc+ELlt8V843L7/U+Gkoyfv7THrYQBic6727BM/BDXAA8/e/dNrqq?= =?us-ascii?Q?rn35j8NJHU1vh9ZZvt2hVtnkqB/wHkz8aCO0WU6d98T67f42eIceUVjyDe3o?= =?us-ascii?Q?Opz8+00qEjXf7I5jn1DwwJu2xb34zEpZ7GschlIN7WVXtpjwNSWtvTT0opTr?= =?us-ascii?Q?La781Swk5OczFh3TTvRRBlm7eKA1Un+r3Y0hQ2J7oJuLPkxJAWuICuCjvXgh?= =?us-ascii?Q?VkNTV31nLaTDMZDuzXR5MQ5Bi7K/nx61LecD8CTtTekL+WklJtpb4db27Yed?= =?us-ascii?Q?Dhow0UaRpqS9xjgevuPMSbem6hlY6qKVEPDYZEOopeCLnfH7D5aOEhJJ7UNK?= =?us-ascii?Q?cYOLQCiKqVv5V3N/9SPmTzW/dcZ9YQ7ae4vzKSm9clSpqO2oQBfEoEAz09io?= =?us-ascii?Q?OpFhnRaNivor0pxcp3b9tSkGT+VQBQM5RUUqpq7MrTlyXdPh6AD7ZBxteXw8?= =?us-ascii?Q?1ymy8hif35nUINSBDkiWA8j4R43/Q9r5IVHrMecw6GXAAAsx6x4dSoAlt9m1?= =?us-ascii?Q?Oft8lcPzI8JPVwcOql5cHXZmvwKVToD0uJoVcMoF6HWf0QrXac+LSHdBp7Js?= =?us-ascii?Q?f7TU38FuzQxgXY+mb3CcwVoatRWQ0HqqfxVliYGCXIusJFryAPNYptVgxxSQ?= =?us-ascii?Q?eiL0yaZAeb5p+K829p795IYFHj2odDfHB1owwAm2Ut9Q3kczLGzwcY/Javne?= =?us-ascii?Q?+QhxWCIlRhAWAxtsOx7AUWOFDaStJdNeJJ9SUcghpvcft4PafFQY6gRl8xOj?= =?us-ascii?Q?4ttuJvO2+TpZlqxr1V+OmsvtYMJo6LzgT55oKv7nDp4vlUcZ3UrfI0GPwvts?= =?us-ascii?Q?mx8HgvZGMou32C5uAQE=3D?= X-OriginatorOrg: hw.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 263ddd29-a7ba-4157-5e39-08db337f1773 X-MS-Exchange-CrossTenant-AuthSource: LO6P302MB0318.GBRP302.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2023 13:35:15.1861 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6c425ff2-6865-42df-a4db-8e6af634813d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: R0xaD9CVPtpKwhVbo4Aeb9fyi7Zgvgxhv5vqgci++u9RmfFqQZCTdKaOOxTTlnUc X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P302MB0049 Received-SPF: pass client-ip=2a01:111:f400:fe14::72e; envelope-from=A.HajiAli@hw.ac.uk; helo=GBR01-CWL-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 03 Apr 2023 01:36:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) It seems that `mm-inline-image` switched to using `insert-image` instead of `put-image` which resulted in some regressions in notmuch that I noticed between emacs 29 and emacs 28.2. However, I tracked down the discrepancy to the following issues in displaying images in emacs-29. First the following code (assuming some image in /tmp/tmp.png), executed in "emacs -Q" on either emacs 28.2 or emacs 29: (let (content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (insert-image (create-image "/tmp/tmp.png")) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) Uncommenting each of the two lines of code shows the two issues (explained in comments). These issues appear in both emacs 29 and 28.2 (though they might be specific to MacOS). Similar code to this example is executed in notmuch when displaying message, but using `mm-inline-image` instead of insert-image: (let* ((buffer (find-file-noselect "/tmp/tmp.png" t t)) (handle (list buffer '("image/jpeg" (charset)) nil nil nil nil `(image :type jpeg :data ,(with-current-buffer buffer (buffer-string)) :scale 1 :transform-smoothing t) nil)) content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (require 'mm-view) (mm-inline-image handle) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) In this case, in Emacs 29, the behaviour is similar to the "wrong" behaviour of the first example. In Emacs 28.2 on the other hand, the behaviour is what I would expect in both cases (though the undo stack gets messed up and I cannot undo inserting the image. Indenting also doesn't work, but at least the image is not removed) As a last test, in case it is helpful, I tried the following in emacs 29 using `put-image` instead of `insert-image` (`mm-inline-image` uses in Emacs 28.2 uses `put-image` while in Emacs 29 it uses 'insert-image'), and noticed an equally puzzling behaviour: (let (content-begin content-end) (goto-char (point-max)) (insert "\n") (setq content-begin (point)) (put-image (create-image "/tmp/tmp.png") (point-marker)) (setq content-end (point)) ;; I expect the following line to indent the image (or not). ;; instead the image is removed completely ;;(indent-rigidly content-begin content-end 1) ;; This line should hide the image, but it doesn't ;;(overlay-put (make-overlay content-begin content-end) 'invisible t) ) In this case, `indent-rigidly` does not remove the image, but hiding the overlay does not work. Best regards, -- Al ---------------------------------------------------------------------------- In GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68)) of 2023-03-22 built on HW-R9XXWKPJ4D Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.2.1 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp --infodir=/opt/homebrew/Cellar/emacs-plus@29/29.0.60/share/info/emacs --prefix=/opt/homebrew/Cellar/emacs-plus@29/29.0.60 --with-xml2 --with-gnutls --with-native-compilation --without-compress-install --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w -pipe -mmacosx-version-min=13 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' 'CPPFLAGS=-I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/libomp/include -I/opt/homebrew/opt/icu4c/include -I/opt/homebrew/opt/openssl@1.1/include -isystem/opt/homebrew/include -F/opt/homebrew/Frameworks -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' 'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib -L/opt/homebrew/opt/libomp/lib -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/opt/openssl@1.1/lib -L/opt/homebrew/lib -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'' Configured features: ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77309 5714) ________________________________ Heriot-Watt University was founded in 1821 and is a registered Scottish charity (SC000278). (symbols 48 7039 0) (strings 32 18694 2727) (string-bytes 1 577061) (vectors 16 16292) (vector-slots 8 324373 10025) (floats 8 27 46) (intervals 56 297 0) (buffers 984 10)) ------------=_1680958982-1282-1--