From unknown Wed Jun 18 23:18:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28518 <28518@debbugs.gnu.org> To: bug#28518 <28518@debbugs.gnu.org> Subject: Status: Daemon mode only renders the first image file loaded Reply-To: bug#28518 <28518@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:02 +0000 retitle 28518 Daemon mode only renders the first image file loaded reassign 28518 emacs submitter 28518 s brown severity 28518 normal tag 28518 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 19 16:27:10 2017 Received: (at submit) by debbugs.gnu.org; 19 Sep 2017 20:27:10 +0000 Received: from localhost ([127.0.0.1]:48669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duP6r-0005aQ-Px for submit@debbugs.gnu.org; Tue, 19 Sep 2017 16:27:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duOWo-0002pD-Cn for submit@debbugs.gnu.org; Tue, 19 Sep 2017 15:49:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duOWh-0000c0-1k for submit@debbugs.gnu.org; Tue, 19 Sep 2017 15:49:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duOWg-0000bu-TY for submit@debbugs.gnu.org; Tue, 19 Sep 2017 15:49:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duOWe-0001g7-CB for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 15:49:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duOWa-0000Xy-Ea for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 15:49:44 -0400 Received: from mail-oln040092064075.outbound.protection.outlook.com ([40.92.64.75]:16000 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duOWa-0000X3-11 for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 15:49:40 -0400 Received: from DB5EUR01FT020.eop-EUR01.prod.protection.outlook.com (10.152.4.52) by DB5EUR01HT210.eop-EUR01.prod.protection.outlook.com (10.152.5.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.35.14; Tue, 19 Sep 2017 19:49:37 +0000 Received: from LOXP123MB1381.GBRP123.PROD.OUTLOOK.COM (10.152.4.52) by DB5EUR01FT020.mail.protection.outlook.com (10.152.4.247) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.35.14 via Frontend Transport; Tue, 19 Sep 2017 19:49:37 +0000 Received: from LOXP123MB1381.GBRP123.PROD.OUTLOOK.COM ([10.166.255.7]) by LOXP123MB1381.GBRP123.PROD.OUTLOOK.COM ([10.166.255.7]) with mapi id 15.20.0056.016; Tue, 19 Sep 2017 19:49:38 +0000 From: s brown To: "bug-gnu-emacs@gnu.org" Subject: Daemon mode only renders the first image file loaded Thread-Topic: Daemon mode only renders the first image file loaded Thread-Index: AQHTMX7qyehds+sQcEW6bFYQVX81IA== Date: Tue, 19 Sep 2017 19:49:37 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=live.co.uk; x-incomingtopheadermarker: OriginalChecksum:B1EC1EF7216273743C486040580AB29590BB6C656D58FBC7C56367B601788CE1; UpperCasedChecksum:732C4B2D80D0A3752C832350123FBE4CBF5B293FF0CA337759F1531391C451FB; SizeAsReceived:6805; Count:43 x-tmn: [U6Oh3wmyShcwAYa8Qt7IO/zYfYrHZ8Iq] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR01HT210; 6:5coS4nMTNHEka0zT8meD12XV7dgaa3z/AeAcAzfE/gTcVV7IrrK+ip2kWr3vlda88zTVmC/HLvNpy4dFr+3HpRVZqZ4TdpM/rwW0xHcyYyzpn7wUOFha5qtAa3sc0b7+YV6teRwPZpIOkqgPmnvkdNERkDWT7zSMZ4qBfddYVl7euRk9SKut586XnGEb9APpqtsQYWMKJ2xYJfBpzVZAzexjZU6JcPaU8jTphBzT20nqZEhKIa9K9yHAg+I/AMROJwl6GKFIem8Iu0yXNwMrZ0Ub5FsIlvZftTw6dqSyh56hy6k8JpIs5yt8Pzhjb9uYW94XyTsGw4S1Wl7Y/Hm7ug==; 5:ReABMoaKRszICZpQLry9FM/j7tKxh4zJMKNWRzIHLCKZvqJTPVq39Ga8gxYgjVXSt60hGIivA0l3YKiuoW1km+++gXbmxcpj9DoZYZEuK13/9or9MM+Q6dz7zVTjrBuRxJIkROlBw6l3ToUMbJ4SkA==; 24:a+Bc39RpGuEBsQ0Aq1wHyfRNQehX4l6QGQ1RRB3BtMinfxe2kBoLu3rNqg11xhucl4spAeQvnej7qt6qBVScBAJlSu4r/kizS8oYNhwGpq8=; 7:8ABs1ZYtdMhJFK25R4oVpiUloB29ls5/LTLUDF0TCs/DWOb4TViLm11D5n0MvmxcvA2rqTwA8j80pXxNWk1ZM0EStm9dWXlKfckzvnz9ENrQVJvqNmmeRt2UFrvaBWGLf3fWKCVyRZMzO+4xveyUk8G5bOJTCr3jZ3Xeem1uW7MLuY9W8yHHrrq5ec/BXm9N6mPn/5khjYjqRX5A6Ocv/hlg7es0qGy1yWp+1/sqvLw= x-incomingheadercount: 43 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: aaab6b7f-c8c7-454e-2ace-08d4ff978fa1 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB5EUR01HT210; x-ms-traffictypediagnostic: DB5EUR01HT210: x-exchange-antispam-report-test: UriScan:(250305191791016)(226959686518644)(22074186197030); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:DB5EUR01HT210; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5EUR01HT210; x-forefront-prvs: 04359FAD81 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:DB5EUR01HT210; H:LOXP123MB1381.GBRP123.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_LOXP123MB138155B1F2C0A65FBDDD3B9C81600LOXP123MB1381GBRP_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2017 19:49:37.9837 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT210 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 19 Sep 2017 16:27:08 -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: -4.0 (----) --_000_LOXP123MB138155B1F2C0A65FBDDD3B9C81600LOXP123MB1381GBRP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi there, When running emacs in daemon mode if I open an image file it will be rendered in a window. If I try to open a second image file it will not be rendered and in its place there will be a square. The size of the square is constant and appears unrelated to the size of the image. This issue can also be reproduced by closing the emacsclient, starting it again and trying to open the image file for a second time. For the purposes or reproducing this issue I downloaded the following two files https://lists.gnu.org/archive/html/emacs-devel/2015-10/png8Z1ZsfVurU.png https://www.gnu.org/graphics/gnu-head.jpg as test.png and test.jpg respectively * Image rendering works in normal mode $ emacs -Q C-x C-f ~/test.png ...image loads C-x C-f ~/test.jpg ...image loads C-x C-c $ emacs -Q C-x C-f ~/test.png ...image loads C-x C-f ~/test.jpg ...image loads * Second image file fails to load $ emacs --daemon -Q $ emacsclient -c C-x C-f ~/test.png ...image loads C-x C-f ~/test.jpg ...image fails to load properly It doesn't matter which image is loaded first, the second always fails to render * Loading same file in two different client sessions $ emacs --daemon -Q $ emacsclient -c C-x C-f ~/test.png ...image loads C-x C-c $ emacsclient -c C-x C-f ~/test.png ...image fails to load properly In both of the failure cases I can see imagemagick errors in *messages* Starting Emacs daemon. When done with this frame, type C-x 5 0 Type C-c C-c to view the image as text. When done with this frame, type C-x 5 0 Quit QuitImageMagick error: no decode delegate for this image format `PNG' @ err= or/constitute.c/ReadImage/504 ImageMagick error: no decode delegate for this image format `PNG' @ error/c= onstitute.c/ReadImage/504 [7 times] I'm running Arch Linux and I can see from pacman that I have the required libs for png and jpg support $ uname -a Linux OxBEEFED 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x= 86_64 GNU/Linux $ pacman -Qi imagemagick Name : imagemagick Version : 6.9.9.14-1 Description : An image viewing/manipulation program Architecture : x86_64 URL : http://www.imagemagick.org/ Licenses : custom Groups : None Provides : None Depends On : libltdl lcms2 libxt fontconfig libxext liblqr libra= qm opencl-icd-loader perl>=3D5.26 perl<5.27 Optional Deps : imagemagick-doc: for additional information ghostscript: for Ghostscript support [installed] openexr: for OpenEXR support openjpeg2: for JP2 support [installed] libwmf: for WMF support librsvg: for SVG support [installed] libxml2: for XML support [installed] libpng: for PNG support [installed] libwebp: for WEBP support [installed] libraw: for DNG support Required By : emacs Optional For : feh Conflicts With : None Replaces : None Installed Size : 9.43 MiB Packager : Antonio Rojas Build Date : Mon 18 Sep 2017 16:01:53 BST Install Date : Mon 18 Sep 2017 19:19:33 BST Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19) of 2017-09-16 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-modules 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-str= ong -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LC_COLLATE: value of $LC_CTYPE: value of $LC_MESSAGES: value of $LC_MONETARY: value of $LC_NUMERIC: value of $LC_TIME: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 89565 4765) (symbols 48 19839 0) (miscs 40 164 121) (strings 32 14521 4513) (string-bytes 1 414412) (vectors 16 11838) (vector-slots 8 432375 4931) (floats 8 170 125) (intervals 56 254 0) (buffers 976 21)) --_000_LOXP123MB138155B1F2C0A65FBDDD3B9C81600LOXP123MB1381GBRP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi there,

When running emacs in daemon mode if I open an image file it will be
rendered in a window. If I try to open a second image file it will not
be rendered and in its place there will be a square. The size of the
square is constant and appears unrelated to the size of the image.

This issue can also be reproduced by closing the emacsclient, starting it again and trying to open the image file for a second time.

For the purposes or reproducing this issue I downloaded the following
two files

https://lists.gnu.org/archive/html/emacs-devel/2015-10/png8Z1ZsfVurU.png https://www.gnu.org/graphics/gnu-head.jpg

as test.png and test.jpg respectively

* Image rendering works in normal mode

$ emacs -Q
C-x C-f ~/test.png
...image loads
C-x C-f ~/test.jpg
...image loads
C-x C-c
$ emacs -Q
C-x C-f ~/test.png
...image loads
C-x C-f ~/test.jpg
...image loads

* Second image file fails to load

$ emacs --daemon -Q
$ emacsclient -c
C-x C-f ~/test.png
...image loads
C-x C-f ~/test.jpg
...image fails to load properly

It doesn't matter which image is loaded first, the second always fails
to render

* Loading same file in two different client sessions

$ emacs --daemon -Q
$ emacsclient -c
C-x C-f ~/test.png
...image loads
C-x C-c
$ emacsclient -c
C-x C-f ~/test.png
...image fails to load properly

In both of the failure cases I can see imagemagick errors in *messages*

Starting Emacs daemon.
When done with this frame, type C-x 5 0
Type C-c C-c to view the image as text.
When done with this frame, type C-x 5 0
Quit
QuitImageMagick error: no decode delegate for this image format `PNG' @ err= or/constitute.c/ReadImage/504
ImageMagick error: no decode delegate for this image format `PNG' @ error/c= onstitute.c/ReadImage/504 [7 times]

I'm running Arch Linux and I can see from pacman that I have the
required libs for png and jpg support

$ uname -a
Linux OxBEEFED 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x= 86_64 GNU/Linux

$ pacman -Qi imagemagick
Name            : im= agemagick
Version         : 6.9.9.14-1
Description     : An image viewing/manipulation program=
Architecture    : x86_64
URL            = : http://www.imagemagick.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : libltdl  lcms2  libxt&= nbsp; fontconfig  libxext  liblqr  libraqm  opencl-icd-= loader  perl>=3D5.26  perl<5.27
Optional Deps   : imagemagick-doc: for additional information
            &nb= sp;     ghostscript: for Ghostscript support [installed= ]
            &nb= sp;     openexr: for OpenEXR support
            &nb= sp;     openjpeg2: for JP2 support [installed]
            &nb= sp;     libwmf: for WMF support
            &nb= sp;     librsvg: for SVG support [installed]
            &nb= sp;     libxml2: for XML support [installed]
            &nb= sp;     libpng: for PNG support [installed]
            &nb= sp;     libwebp: for WEBP support [installed]
            &nb= sp;     libraw: for DNG support
Required By     : emacs
Optional For    : feh
Conflicts With  : None
Replaces        : None
Installed Size  : 9.43 MiB
Packager        : Antonio Rojas <aroj= as@archlinux.org>
Build Date      : Mon 18 Sep 2017 16:01:53 BST
Install Date    : Mon 18 Sep 2017 19:19:33 BST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature




In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19)
 of 2017-09-16 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000<= br> Configured using:
 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/li= b
 --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-modu= les
 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protecto= r-strong
 -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
  value of $LC_COLLATE:
  value of $LC_CTYPE:
  value of $LC_MESSAGES:
  value of $LC_MONETARY:
  value of $LC_NUMERIC:
  value of $LC_TIME:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message idna dired format-spec rfc822
mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 89565 4765)
 (symbols 48 19839 0)
 (miscs 40 164 121)
 (strings 32 14521 4513)
 (string-bytes 1 414412)
 (vectors 16 11838)
 (vector-slots 8 432375 4931)
 (floats 8 170 125)
 (intervals 56 254 0)
 (buffers 976 21))


--_000_LOXP123MB138155B1F2C0A65FBDDD3B9C81600LOXP123MB1381GBRP_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 04:59:28 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 08:59:28 +0000 Received: from localhost ([127.0.0.1]:42498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e41FA-0001JA-EJ for submit@debbugs.gnu.org; Mon, 16 Oct 2017 04:59:28 -0400 Received: from mail.choca.pics ([62.210.108.126]:33818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e41F3-0001Iw-4e for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 04:59:24 -0400 Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id A2598232C055; Mon, 16 Oct 2017 10:59:19 +0200 (CEST) Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id e2d3f_hHfrFu; Mon, 16 Oct 2017 10:59:18 +0200 (CEST) Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 03D95232C059; Mon, 16 Oct 2017 10:59:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics 03D95232C059 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1508144358; bh=k8A5jn2By/AP26xJCcrXeXa87hsqK4cYayZ325TEhqE=; h=From:To:Date:Message-ID:MIME-Version; b=YJ3635/hj6PYtVlTMcWX/US6CYnNCKY3GrpMa5DEHQf78+8gsVHyJyi6P+0ofAksj nXU/rIsLvQ/iOaiVcfRrR9Gwxj3x3EJrtvvMpIZa1VKy8Thvj3/Ce7DwR/fMAhxrvb Yb1O16Az4ORyg5uGZoEm1S2mhWrF7EV2spxx6c5ewD6I8MxP4YvpYvvE+zoVHxh0if LnXhuJcrUEDZ6FtFDNjXFwmLGnTNxBiGwOxktZz5k+5NcdLZkEkVbDOjz9baZJKxFU Ay1c97kGFQ+L0jmyg9Ktkd78jKRRfsx9pQ0+mqPNdVNNKQYjqDXX9azXtfMT5dkEhC aDx24yktzNerA== X-Virus-Scanned: amavisd-new at choca.pics Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id tPnHwKluLqxd; Mon, 16 Oct 2017 10:59:17 +0200 (CEST) Received: from luz4 (31-211-216-84.customers.ownit.se [31.211.216.84]) by mail.choca.pics (Postfix) with ESMTPSA id 9369D232C055; Mon, 16 Oct 2017 10:59:17 +0200 (CEST) From: Damien Cassou To: s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded References: Date: Mon, 16 Oct 2017 10:59:14 +0200 In-Reply-To: (s. brown's message of "Tue, 19 Sep 2017 19:49:37 +0000") Message-ID: <87mv4rxycd.fsf@cassou.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28518 Cc: 28518@debbugs.gnu.org, Paul Eggert 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: 0.0 (/) I have a similar problem with a similar message ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/504 My setup: - Fedora 26 - Emacs 25 and 26 However, I don't use the Emacs daemon and can reproduce with emacs -Q directly: $ emacs -Q C-x C-f ~/test.png ...image loads C-x C-f ~/test.jpg ...image DOES NOT load C-x C-c Even opening the same image again fails. It used to work. I guess the problem comes from an update of my system but I don't know for how long it has been broken. I'm CC'ing Paul as he has been involved in some changes that might be related, especially: commit 3c2c50260e19deff2a0a054882eaea4049f25a2f Author: Paul Eggert Date: Thu Sep 29 20:09:37 2016 -0700 Fix problems found by static checking --with-ns This is for Fedora 24 when configured with --enable-gcc-warnings. Although it does not fix all the problems, it fixes many of them. * src/frame.c (XParseGeometry): * src/nsterm.m (mouseDown:): Mark locals with UNINIT to pacify --enable-gcc-warnings. * src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen): Remove unused macros. (slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image) (xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v) (xpm_put_color_table_v, xpm_get_color_table_v) (xpm_make_color_table_h, xpm_put_color_table_h) (xpm_get_color_table_h, xpm_load_image, xpm_load) (pbm_next_char, pbm_scan_number, pbm_load, svg_load) (svg_load_image): * src/nsfns.m (x_get_string_resource): * src/nsimage.m (ns_image_from_XBM): Fix pointer signedness problems. * src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load) (imagemagick_load_image): Omit unused locals. * src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types) (Fx_open_connection): * src/nsfont.m (ns_antialias_threshold): Move extern decl to nsterm.h so it can be checked. * src/nsmenu.m (svcsMenu, dockMenu): Move to the only file that uses them, so they can be static. * src/nsterm.h (find_and_call_menu_selection): * src/nsterm.m (x_set_frame_alpha): Omit duplicate decls. * src/nsterm.h (ns_dump_glyphstring): Mark as EXTERNALLY_VISIBLE. * src/nsfns.m (ns_tooltip, ns_display_info_for_name) (ns_set_name_as_filename, x_set_menu_bar_lines) (x_set_tool_bar_lines, x_set_internal_border_width): * src/nsterm.m (ns_drag_types, ns_draw_text_decoration): Now static. * src/nsfns.m (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): * src/nsterm.m (ns_free_indexed_color, ns_color_to_lisp): Remove; unused. * src/nsfont.m (ns_dump_glyphstring): * src/nsterm.m (hide_bell, ns_get_color, ns_color_to_lisp) (ns_clear_frame, keyDown:): Fix signedness problem with printf arg. * src/nsterm.h (ns_input_events, ns_finish_events): * src/nsterm.m (ns_finish_events, hide_bell): Prototype the decls. * src/nsterm.m (NSMenuDidBeginTrackingNotification): Omit unnecessary decl. (dockMenu): (mainMenu) [NS_IMPL_COCOA]: Now static, and in this file. (ns_dumpglyphs_box_or_relief, changeFont:, initFrameFromEmacs:) (toggleFullScreen:): Use FACE_FROM_ID instead of FACE_FROM_ID_OR_NULL in contexts where the caller expects the result to be non-null. (applicationShouldTerminate:): Fix misleading indentation. commit cbb2e845187bfbcc62e2accc9df7891a2326608a Author: Mark Oteiza Date: Wed Sep 28 13:08:12 2016 -0400 Turn on more lexical-binding * lisp/dom.el: * lisp/faces.el: * lisp/htmlfontify.el: Turn on lexical-binding. (htmlfontify-string): Use pushnew instead of add-to-list. * lisp/info-xref.el: : ^ ^commit 3c2c50260e19deff2a0a054882eaea4049f25a2f Author: Paul Eggert Date: Thu Sep 29 20:09:37 2016 -0700 Fix problems found by static checking --with-ns This is for Fedora 24 when configured with --enable-gcc-warnings. Although it does not fix all the problems, it fixes many of them. * src/frame.c (XParseGeometry): * src/nsterm.m (mouseDown:): Mark locals with UNINIT to pacify --enable-gcc-warnings. * src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen): Remove unused macros. (slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image) (xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v) (xpm_put_color_table_v, xpm_get_color_table_v) (xpm_make_color_table_h, xpm_put_color_table_h) (xpm_get_color_table_h, xpm_load_image, xpm_load) (pbm_next_char, pbm_scan_number, pbm_load, svg_load) (svg_load_image): * src/nsfns.m (x_get_string_resource): * src/nsimage.m (ns_image_from_XBM): Fix pointer signedness problems. * src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load) (imagemagick_load_image): Omit unused locals. * src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types) (Fx_open_connection): * src/nsfont.m (ns_antialias_threshold): Move extern decl to nsterm.h so it can be checked. * src/nsmenu.m (svcsMenu, dockMenu): Move to the only file that uses them, so they can be static. * src/nsterm.h (find_and_call_menu_selection): * src/nsterm.m (x_set_frame_alpha): : ^ ^commit 3c2c50260e19deff2a0a054882eaea4049f25a2f Author: Paul Eggert Date: Thu Sep 29 20:09:37 2016 -0700 Fix problems found by static checking --with-ns This is for Fedora 24 when configured with --enable-gcc-warnings. Although it does not fix all the problems, it fixes many of them. * src/frame.c (XParseGeometry): * src/nsterm.m (mouseDown:): Mark locals with UNINIT to pacify --enable-gcc-warnings. * src/image.c (PIX_MASK_DRAW, DefaultDepthOfScreen): Remove unused macros. (slurp_file xbm_scan, xbm_read_bitmap_data, xbm_load_image) (xbm_file_p, xbm_load, xpm_scan, xpm_make_color_table_v) (xpm_put_color_table_v, xpm_get_color_table_v) (xpm_make_color_table_h, xpm_put_color_table_h) (xpm_get_color_table_h, xpm_load_image, xpm_load) (pbm_next_char, pbm_scan_number, pbm_load, svg_load) (svg_load_image): * src/nsfns.m (x_get_string_resource): * src/nsimage.m (ns_image_from_XBM): Fix pointer signedness problems. * src/image.c (xpm_load_image, x_build_heuristic_mask, pbm_load) (imagemagick_load_image): Omit unused locals. * src/nsfns.m (ns_send_types, ns_return_types, ns_drag_types) (Fx_open_connection): * src/nsfont.m (ns_antialias_threshold): Move extern decl to nsterm.h so it can be checked. * src/nsmenu.m (svcsMenu, dockMenu): Move to the only file that uses them, so they can be static. * src/nsterm.h (find_and_call_menu_selection): * src/nsterm.m (x_set_frame_alpha): Omit duplicate decls. * src/nsterm.h (ns_dump_glyphstring): Mark as EXTERNALLY_VISIBLE. * src/nsfns.m (ns_tooltip, ns_display_info_for_name) (ns_set_name_as_filename, x_set_menu_bar_lines) (x_set_tool_bar_lines, x_set_internal_border_width): * src/nsterm.m (ns_drag_types, ns_draw_text_decoration): Now static. * src/nsfns.m (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): * src/nsterm.m (ns_free_indexed_color, ns_color_to_lisp): Remove; unused. * src/nsfont.m (ns_dump_glyphstring): * src/nsterm.m (hide_bell, ns_get_color, ns_color_to_lisp) (ns_clear_frame, keyDown:): Fix signedness problem with printf arg. * src/nsterm.h (ns_input_events, ns_finish_events): * src/nsterm.m (ns_finish_events, hide_bell): Prototype the decls. * src/nsterm.m (NSMenuDidBeginTrackingNotification): Omit unnecessary decl. (dockMenu): (mainMenu) [NS_IMPL_COCOA]: Now static, and in this file. (ns_dumpglyphs_box_or_relief, changeFont:, initFrameFromEmacs:) (toggleFullScreen:): Use FACE_FROM_ID instead of FACE_FROM_ID_OR_NULL in contexts where the caller expects the result to be non-null. (applicationShouldTerminate:): Fix misleading indentation. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 06:43:09 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 10:43:10 +0000 Received: from localhost ([127.0.0.1]:42547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e42rV-0003zs-Mg for submit@debbugs.gnu.org; Mon, 16 Oct 2017 06:43:09 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:51165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e42rU-0003zY-11; Mon, 16 Oct 2017 06:43:08 -0400 Received: by mail-io0-f181.google.com with SMTP id 97so15589379iok.7; Mon, 16 Oct 2017 03:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fBJOfHL9hDOwckf1sydE+e8wP3fkJf5rcn2WQ+R8ozA=; b=VEaifBgW+LrMlJ9yT3CQxhRp49WQUZJNM2rUHthh480druTDo0XpKOjlbpQ3P1jeeW SIt7rQwV3uikj8lN9FDVNFlMEMzTHJHNxULZMXzZEQ44KOjcCNVUGskg+S9Ty8Pk67c3 AAjekSmbDkFuLGlyq8ggx62XwLclnHRzmYxmqaVEG7lyvextUB/Cwxwr7Tt7OS2EttEr B+QZ8ebnT/lxjYqxYe5KOK5egdrByzraDeQ4qV68x/8npS6YhjNTfzdQND+XAYiN/g5q tRLc24a7VntACrFwcBCMSZjeW5ststVBC62lCV5+km7LC+WZd02Sm8PoXGs8VV9TLLvG 7OnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=fBJOfHL9hDOwckf1sydE+e8wP3fkJf5rcn2WQ+R8ozA=; b=fEV1H8+nQ7YcJzkyybyFfxR4KZ5DhqdV7GSbdko91Gmc0XB6woTB4f716DOBdyOAPr 4Ro5e1uTlaT1NHiWfxgeC/4xPSDt34X+Acb6EyXcyFP+BfcR9ITm29Gsf+YwHIRkGCwO kc15wvj+vJdiL0qrljN8dubrXl5iuOR3EsuvRB2TooU34r1+hlyhI8ew0KPLlSUYexdQ e+HVdL3/N7G4qP5tVxd9y2nlaKGZcnMe5BZyx4Fb1h/b28XXGIVgeP9VS30FAO02iNph BZmxaaXxzqAOVJ/W5TF52lugL6E7k5+dl3or6f7D/i9JyX7b6r0BDWgc+rGkyEWNSrH0 wLtQ== X-Gm-Message-State: AMCzsaUCHt/IkeBOUgk8nd2YT1FKANDn3JsRusx3dpgp8uO6gjQXrTh5 boL6urmT3W6tEuTyd4jBMlakJy/v X-Google-Smtp-Source: ABhQp+TGX7oPk0+s12/VDouXzM53sidtmFyFSSv1kYkY6vMuvRTPJrK/AdZmuP6acsyYrXxuBzNOdg== X-Received: by 10.107.130.19 with SMTP id e19mr11691375iod.119.1508150581979; Mon, 16 Oct 2017 03:43:01 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id d16sm1190732iod.38.2017.10.16.03.43.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 03:43:01 -0700 (PDT) From: Noam Postavsky To: s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded References: Date: Mon, 16 Oct 2017 06:42:59 -0400 In-Reply-To: (s. brown's message of "Tue, 19 Sep 2017 19:49:37 +0000") Message-ID: <87r2u3gyq4.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 28518 Cc: damien@cassou.me, 28518@debbugs.gnu.org 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.1 (--) forcemerge 28770 28518 quit s brown writes: > $ pacman -Qi imagemagick > Name : imagemagick > Version : 6.9.9.14-1 Damien Cassou writes: > I have a similar problem with a similar message > > ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/504 > > My setup: > > - Fedora 26 > - Emacs 25 and 26 Please try updating imagemagick to 6.9.9.18-1. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28633#13 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 07:37:19 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 11:37:19 +0000 Received: from localhost ([127.0.0.1]:42562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43hv-0000gA-1q for submit@debbugs.gnu.org; Mon, 16 Oct 2017 07:37:19 -0400 Received: from mail.choca.pics ([62.210.108.126]:35884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43hs-0000fz-NG for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 07:37:17 -0400 Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id A4C4F232C193; Mon, 16 Oct 2017 13:37:15 +0200 (CEST) Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id s-zPvWSmrlS1; Mon, 16 Oct 2017 13:37:14 +0200 (CEST) Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id BB52A232C19A; Mon, 16 Oct 2017 13:37:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics BB52A232C19A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1508153834; bh=6Sp2Lpt8COraL1dd0aOk66zESrQ4va6X/GyaPBw3jPY=; h=From:To:Date:Message-ID:MIME-Version; b=Y7aAZmfhNIsF8pSiHygwaq0VkZz+ijYVLDHGNHZgMelJC8TceP/kyj5voFUooD1re O1jbh3T1M8bZzaOUffSGJA82AzTbZ70Q3FGMMHIXBiE0yMZvNBUojc0eAMJMurvGfa 8LT27fSWSrBLedRmzecJ1kiRYLeWsiY5SyurHZUi+r3wYzbAgdMJLk54g7KMPXrNhm 9jCXqns2DqDiSIQdFlrBTCwk5jjbf3IbWzNBTdX2fUHVCGmyL/NvJmwJrG5CTCbGFZ YkRadByZ0/HcGcRPlXBD1hQCq/Eq1H9uq0gJmqLZCLzYrb/5eOqX/lgCz14g5e12Sl je9yxF4z3j1qw== X-Virus-Scanned: amavisd-new at choca.pics Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id yhg42qnuSfx0; Mon, 16 Oct 2017 13:37:14 +0200 (CEST) Received: from luz4 (31-211-216-84.customers.ownit.se [31.211.216.84]) by mail.choca.pics (Postfix) with ESMTPSA id 5C3B7232C193; Mon, 16 Oct 2017 13:37:14 +0200 (CEST) From: Damien Cassou To: Noam Postavsky , s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded In-Reply-To: <87r2u3gyq4.fsf@users.sourceforge.net> References: <87r2u3gyq4.fsf@users.sourceforge.net> Date: Mon, 16 Oct 2017 13:37:12 +0200 Message-ID: <87376jxr13.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28518 Cc: 28518@debbugs.gnu.org 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: 0.0 (/) Noam Postavsky writes: > Please try updating imagemagick to 6.9.9.18-1. > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28633#13 thank you very much Noam. For reference, I created a ticket for Fedora 26: https://bugzilla.redhat.com/show_bug.cgi?id=1502636. It is however strange that it works for a colleague using exactly the same version of ImageMagick and distribution and Emacs version as me. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 07:43:00 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 11:43:00 +0000 Received: from localhost ([127.0.0.1]:42570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43nQ-0000pA-G0 for submit@debbugs.gnu.org; Mon, 16 Oct 2017 07:43:00 -0400 Received: from petton.fr ([89.234.186.68]:41012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43nO-0000ox-Co for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 07:42:58 -0400 From: Nicolas Petton To: Damien Cassou , s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded In-Reply-To: <87mv4rxycd.fsf@cassou.me> References: <87mv4rxycd.fsf@cassou.me> Date: Mon, 16 Oct 2017 13:42:50 +0200 Message-ID: <87r2u3tj2d.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1508154172; bh=CmCu5FF7hbbR3FNdQJX6/keGE2J+YQ1LfDMQofnBwPo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=UmPw20LqyV2QbIk+sYg6BJCKWA6W5pKMrZFoOFK/LvRFXVJLcz19j+U0jZm8qvvNBnJJFcz391hzjUdT4w3INeCyS6zD/0j5bfmi6bXnsJp3OrmGec150khliIwgywZ4sUJRhbENVCA40rsbbkvVRstcBBmf5cAAGS7W0gwmSUw= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28518 Cc: 28518@debbugs.gnu.org, Paul Eggert 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: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Damien Cassou writes: > I have a similar problem with a similar message I can reproduce the problem with `emacs -Q' on Fedora 26 with Emacs 25.3 from the official repository. However, with my .emacs.d loaded, the problem disappears. I'll investigate. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKNO+2FH986tX/vk8IzWHpHwgeRAFAlnkmzoACgkQIzWHpHwg eRDVEwgA0abnubwC8W1xvaiDmgpFfFbG+VuyUiWi9VcgJrXe64bmCxm/qMb5go5o 2u4HUbUfLYrxKodLRGa2S4ixvQBG6mPX57lwnl0TIBILQjWeUgyJkzlftq8CHrv6 64HM4gBgh0ZjvpBV0z2mWKI0CCx4KOYWvZYM8dHWlWs89VjS9T4eDHqBlAuR1LOx Tf3P3OXrYoOjAY9FXnhHjK1tP8GG2CjOqM2Jdnyoh8rssv7/S73JLc8J5Nbrf/4Y W2YJdlfuxsZKQES9Y9jEpqgjgO50ElcXdWwjM0kh9yZLX3T6mtmPFJnaTtOJCD5d XHVfCqUiwDicj9W1tfg/n+5ZLzB39Q== =WbQw -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 07:55:41 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 11:55:41 +0000 Received: from localhost ([127.0.0.1]:42584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43zh-00019s-CE for submit@debbugs.gnu.org; Mon, 16 Oct 2017 07:55:41 -0400 Received: from petton.fr ([89.234.186.68]:43834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43ze-00019c-Oj for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 07:55:39 -0400 From: Nicolas Petton To: Damien Cassou , s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded In-Reply-To: <87r2u3tj2d.fsf@petton.fr> References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> Date: Mon, 16 Oct 2017 13:55:31 +0200 Message-ID: <87mv4rux1o.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1508154933; bh=X7tnokSNQlxJcELXWJ/krg6vVPTEuccWOySylKbJeLM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=vzrV5WmT9Xp7h3sDYdvqbhvSYe2zSOqkf+z/vajmyiaxBT/kRgk2q3CyABQoo3WoWm50PpRY6PeGE6lCk2ugngyeoSk4vK6Kuv3Vco+1fI1u6Iur9ZcCNxZGJxzVZ3lhct+6DoXvBg9vvqd3/xHOXyZICaiErTeJ/HJdSyLRUjk= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28518 Cc: 28518@debbugs.gnu.org, Paul Eggert 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: 0.0 (/) --=-=-= Content-Type: text/plain Nicolas Petton writes: > I can reproduce the problem with `emacs -Q' on Fedora 26 with Emacs 25.3 > from the official repository. I could actually reproduce after restarting Emacs. The problem appears to come from ImageMagick 6.9.9.15, which is the version currently shipped in Fedora 26. https://bugzilla.redhat.com/show_bug.cgi?id=1502636 Apparently, the issue has been resolved in 6.9.9-18. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKNO+2FH986tX/vk8IzWHpHwgeRAFAlnknjMACgkQIzWHpHwg eRDNrAgAs7Vh4mC4pbH8ooZ7T7VwToG2r05LNY1iLzRlFhPPh6GBtX/IkvWdZDC/ MIov2BfjWOBIT+mQ6qp8+dpHKumhnN0q4HNYZgGTh1uXw+CPXZBDIkASYKbBjFYi wnWTPFiCNS8l1Uj0K+xqmtJBmRLS2bBmm2Jd9c4UcKb68zJHvau5Ipz1Y7RGwjhV mbl7KUvdwapuDpSeYkvXpISf/yH8T+mSSY2M38uAw+jXhztvSbqUztsUTdlHeHbv tFoDzDvTDa4KJC9ZS73aBariBbk23H9TS6bGf0pVYu4lcHQ3aeKoAQFeRBT/1Mik wN5B2kfJCatkXUzcKjtbhDDg18fU1w== =rpHu -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 11:15:25 2017 Received: (at 28518) by debbugs.gnu.org; 16 Oct 2017 15:15:25 +0000 Received: from localhost ([127.0.0.1]:44002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e476z-0001hS-Bq for submit@debbugs.gnu.org; Mon, 16 Oct 2017 11:15:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e476x-0001hE-HR for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 11:15:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e476o-00028V-Ul for 28518@debbugs.gnu.org; Mon, 16 Oct 2017 11:15:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e476o-00027q-Kb; Mon, 16 Oct 2017 11:15:14 -0400 Received: from [176.228.60.248] (port=1971 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e476o-0002Jy-1V; Mon, 16 Oct 2017 11:15:14 -0400 Date: Mon, 16 Oct 2017 18:14:58 +0300 Message-Id: <83shejf7kd.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87r2u3gyq4.fsf@users.sourceforge.net> (message from Noam Postavsky on Mon, 16 Oct 2017 06:42:59 -0400) Subject: Re: bug#28518: Daemon mode only renders the first image file loaded References: <87r2u3gyq4.fsf@users.sourceforge.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28518 Cc: damien@cassou.me, sjbrown@live.co.uk, 28518@debbugs.gnu.org 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Noam Postavsky > Date: Mon, 16 Oct 2017 06:42:59 -0400 > Cc: damien@cassou.me, 28518@debbugs.gnu.org > > > $ pacman -Qi imagemagick > > Name : imagemagick > > Version : 6.9.9.14-1 > > Damien Cassou writes: > > > I have a similar problem with a similar message > > > > ImageMagick error: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/504 > > > > My setup: > > > > - Fedora 26 > > - Emacs 25 and 26 > > Please try updating imagemagick to 6.9.9.18-1. > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28633#13 I think this pops up so frequently that it warrants an entry in etc/PROBLEMS. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 17 02:57:24 2017 Received: (at 28518) by debbugs.gnu.org; 17 Oct 2017 06:57:24 +0000 Received: from localhost ([127.0.0.1]:44678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4Loa-00070o-1E for submit@debbugs.gnu.org; Tue, 17 Oct 2017 02:57:24 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4LoX-00070O-99; Tue, 17 Oct 2017 02:57:22 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3D7091601EF; Mon, 16 Oct 2017 23:57:15 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kagpNs7WwESc; Mon, 16 Oct 2017 23:57:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E1422160E30; Mon, 16 Oct 2017 23:57:13 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m-sJPlZJyIBS; Mon, 16 Oct 2017 23:57:13 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.18.85]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EBB521601EF; Mon, 16 Oct 2017 23:57:12 -0700 (PDT) Subject: Re: bug#28518: Daemon mode only renders the first image file loaded To: Nicolas Petton , Damien Cassou , s brown References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Mon, 16 Oct 2017 23:57:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87mv4rux1o.fsf@petton.fr> Content-Type: multipart/mixed; boundary="------------DF6FBBCAFFF4712B27717FA0" Content-Language: en-US X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 28518 Cc: Glenn Morris , 28518@debbugs.gnu.org, 28770@debbugs.gnu.org, 28632@debbugs.gnu.org, 28633@debbugs.gnu.org, 28626@debbugs.gnu.org, Waleed Yousef , Joseph Mingrone , Noam Postavsky , Eli Zaretskii , Matt Lundin 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: 0.7 (/) This is a multi-part message in MIME format. --------------DF6FBBCAFFF4712B27717FA0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Nicolas Petton wrote: > Apparently, the issue has been resolved in 6.9.9-18. Yes, that's right. Still, the ImageMagick bug is so easy to work around, = and the=20 workaround so benign, that I installed the attached into the emacs-26 bra= nch to=20 do that. Although Fedora will probably upgrade its ImageMagick version s= oon and=20 this upgrade will eventually filter out to users, the testing hassles are= =20 significant in the meantime. --------------DF6FBBCAFFF4712B27717FA0 Content-Type: text/x-patch; name="0001-Work-around-ImageMagick-bug-825.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Work-around-ImageMagick-bug-825.patch" =46rom b38724ab675ac02dec865930a35abd8e06ee8e76 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 16 Oct 2017 23:44:32 -0700 Subject: [PATCH] Work around ImageMagick bug 825 This should fix several bugs reported recently against Emacs (Bug#28518, Bug#28626, Bug#28632, Bug#28633, Bug#28770). * src/image.c (imagemagick_load_image): Do not call MagickWandTerminus. --- src/image.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/image.c b/src/image.c index 335a43e..c1c1671 100644 --- a/src/image.c +++ b/src/image.c @@ -8552,13 +8552,19 @@ imagemagick_load_image (struct frame *f, struct i= mage *img, char hint_buffer[MaxTextExtent]; char *filename_hint =3D NULL; =20 + /* Initialize the ImageMagick environment. */ + static bool imagemagick_initialized; + if (!imagemagick_initialized) + { + imagemagick_initialized =3D true; + MagickWandGenesis (); + } + /* Handle image index for image types who can contain more than one im= age. Interface :index is same as for GIF. First we "ping" the image to = see how many sub-images it contains. Pinging is faster than loading the im= age to find out things about it. */ =20 - /* Initialize the imagemagick environment. */ - MagickWandGenesis (); image =3D image_spec_value (img->spec, QCindex, NULL); ino =3D INTEGERP (image) ? XFASTINT (image) : 0; image_wand =3D NewMagickWand (); @@ -8859,8 +8865,10 @@ imagemagick_load_image (struct frame *f, struct im= age *img, DestroyMagickWand (image_wand); if (bg_wand) DestroyPixelWand (bg_wand); =20 - /* `MagickWandTerminus' terminates the imagemagick environment. */ - MagickWandTerminus (); + /* Do not call MagickWandTerminus, to work around ImageMagick bug 825.= See: + https://github.com/ImageMagick/ImageMagick/issues/825 + Although this bug was introduced in ImageMagick 6.9.9-14 and + fixed in 6.9.9-18, it's simpler to work around it in all versions. = */ =20 return 1; =20 @@ -8868,7 +8876,6 @@ imagemagick_load_image (struct frame *f, struct ima= ge *img, DestroyMagickWand (image_wand); if (bg_wand) DestroyPixelWand (bg_wand); =20 - MagickWandTerminus (); /* TODO more cleanup. */ image_error ("Error parsing IMAGEMAGICK image `%s'", img->spec); return 0; --=20 2.7.4 --------------DF6FBBCAFFF4712B27717FA0-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 17 03:20:01 2017 Received: (at 28518) by debbugs.gnu.org; 17 Oct 2017 07:20:02 +0000 Received: from localhost ([127.0.0.1]:44721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4MAT-0007a7-Fm for submit@debbugs.gnu.org; Tue, 17 Oct 2017 03:20:01 -0400 Received: from mail.choca.pics ([62.210.108.126]:52582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4MAQ-0007Zf-Vb; Tue, 17 Oct 2017 03:19:59 -0400 Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id EDA68232C404; Tue, 17 Oct 2017 09:19:56 +0200 (CEST) Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id TzWFtj8ov0B4; Tue, 17 Oct 2017 09:19:56 +0200 (CEST) Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 10570232D0EE; Tue, 17 Oct 2017 09:19:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.choca.pics 10570232D0EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=9EA44F5C-DEF4-11E6-A83F-A08DF322D8FB; t=1508224796; bh=rRuQL0qZwQNU/NwoX2epqP45CiPHLoDKQUco7M15G4A=; h=From:To:Date:Message-ID:MIME-Version; b=FZDkzBgQBQYreXQyxOvNPucyHqnynMUE8yezWS8728wCQU/PWLHLFPNtVMxWg/vMn 8CtRCSD0x4T27AHSQwiTx5MU7hw1+rHWVo00CMz0ZFVwh8n+9r10doPAbwbCBzpfrQ oAqYuk/w05/Fd9PjPILoO8AZArrI2SaOA0f+ZzVZOW3L8HMoKj71YFKCVmKlQ1lm51 jy51vcuuMrpatRaVtUv0dT9sH/ZvP0fdixtW5IJKV9BHN/WZ6MbRxOLnGBrj8tSw2g DQESKciDTgVAlqsH/fuDb1sQkDZQsEvjIXktpBfaZXppoTH0LS7UdJLMSpWUUdm3rX s5y7khdjyH9vg== X-Virus-Scanned: amavisd-new at choca.pics Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id f0hI3XJoe1mf; Tue, 17 Oct 2017 09:19:55 +0200 (CEST) Received: from luz4 (31-211-216-84.customers.ownit.se [31.211.216.84]) by mail.choca.pics (Postfix) with ESMTPSA id 2DDFF232C404; Tue, 17 Oct 2017 09:19:55 +0200 (CEST) From: Damien Cassou To: Paul Eggert , Nicolas Petton , s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded In-Reply-To: References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> Date: Tue, 17 Oct 2017 09:19:52 +0200 Message-ID: <87wp3umeav.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Paul Eggert writes: > Yes, that's right. Still, the ImageMagick bug is so easy to work around, and the > workaround so benign, that I installed the attached into the emacs-26 branch to > do that. Although Fedora will probably upgrade its ImageMagick > version soon [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 28518 Cc: Glenn Morris , 28518@debbugs.gnu.org, 28770@debbugs.gnu.org, 28632@debbugs.gnu.org, 28633@debbugs.gnu.org, 28626@debbugs.gnu.org, Waleed Yousef , Joseph Mingrone , Noam Postavsky , Eli Zaretskii , Matt Lundin 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.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Paul Eggert writes: > Yes, that's right. Still, the ImageMagick bug is so easy to work around, and the > workaround so benign, that I installed the attached into the emacs-26 branch to > do that. Although Fedora will probably upgrade its ImageMagick > version soon [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Paul Eggert writes: > Yes, that's right. Still, the ImageMagick bug is so easy to work around, and the > workaround so benign, that I installed the attached into the emacs-26 branch to > do that. Although Fedora will probably upgrade its ImageMagick > version soon the fixed ImageMagick is already in Fedora-s updates-testing and can be installed with dnf --enablerepo=updates-testing update ImageMagick\* -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 17 04:54:03 2017 Received: (at 28518) by debbugs.gnu.org; 17 Oct 2017 08:54:03 +0000 Received: from localhost ([127.0.0.1]:44838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4NdT-0001Sm-8p for submit@debbugs.gnu.org; Tue, 17 Oct 2017 04:54:03 -0400 Received: from petton.fr ([89.234.186.68]:38900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4NdR-0001S3-D3; Tue, 17 Oct 2017 04:54:01 -0400 From: Nicolas Petton To: Damien Cassou , Paul Eggert , s brown Subject: Re: bug#28518: Daemon mode only renders the first image file loaded In-Reply-To: <87wp3umeav.fsf@cassou.me> References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> <87wp3umeav.fsf@cassou.me> Date: Tue, 17 Oct 2017 10:53:48 +0200 Message-ID: <87a80qkvdv.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1508230430; bh=EkU6x3rWCn5yYbrUqb/el1P9TBRWWZhEjnrN9U1Ga9Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=ockU9vBPRFiYhCcY+3TbgGHNX+Ygoi9EVU4HYgkNszQvnmTpm21wwCoAbagPzQ9Pdl+tu4/SF06qEHr6OmtgczN+vIS1M3ogI/PMnUndduHnQAcr7FGafudmKFMhqHU1MgfFfzlsA5KsY5irdqQYweB9YUVHnxmTobYjd2K8nt0= X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Damien Cassou writes: > the fixed ImageMagick is already in Fedora-s updates-testing and can be > installed with > > dnf --enablerepo=updates-testing update ImageMagick\* Thanks, that worked for me as well. [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 28518 Cc: Glenn Morris , 28518@debbugs.gnu.org, 28770@debbugs.gnu.org, 28632@debbugs.gnu.org, 28633@debbugs.gnu.org, 28626@debbugs.gnu.org, Waleed Yousef , Joseph Mingrone , Noam Postavsky , Eli Zaretskii , Matt Lundin 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.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Damien Cassou writes: > the fixed ImageMagick is already in Fedora-s updates-testing and can be > installed with > > dnf --enablerepo=updates-testing update ImageMagick\* Thanks, that worked for me as well. [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --=-=-= Content-Type: text/plain Damien Cassou writes: > the fixed ImageMagick is already in Fedora-s updates-testing and can be > installed with > > dnf --enablerepo=updates-testing update ImageMagick\* Thanks, that worked for me as well. Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKNO+2FH986tX/vk8IzWHpHwgeRAFAlnlxRwACgkQIzWHpHwg eRAAHAf8DkbarvWYeFJqGKkSoWfDjgpjn/DJgQZ5Z6LJ60IJBKuLrfwy3DECae0a mwX53nzST6kjoe6Wj3xy0x1NCykdE0nhISWWR5ik+i5CDf/zjSvAjPmJ7ccwWkf4 G/VLLMijKw4P8bbWDqHdxriOC6EYgiCnVO7+jIta89yM063pL8976+gQXcoF28MI QqWvRzJMvv8OjLKHI5cyXVwH1ny0JFVylJnHSaN0+0BFsCzqttksUM86XxvFVfe+ Jfgp2YioW4McDKImx0uesO7omdgkZoslqYgKlWehRPMkqS4GC9a0lPud1ssmsylt xmH7fDDRcyD+J3xJOOONRLJMAieQ4Q== =SzKk -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 17 10:43:53 2017 Received: (at 28518) by debbugs.gnu.org; 17 Oct 2017 14:43:53 +0000 Received: from localhost ([127.0.0.1]:46444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4T5x-00048f-M4 for submit@debbugs.gnu.org; Tue, 17 Oct 2017 10:43:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4T5w-00048N-1l for 28518@debbugs.gnu.org; Tue, 17 Oct 2017 10:43:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4T5n-0000Qi-Ib for 28518@debbugs.gnu.org; Tue, 17 Oct 2017 10:43:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4T4d-000807-7y; Tue, 17 Oct 2017 10:42:27 -0400 Received: from [176.228.60.248] (port=2811 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e4T4Z-0007rx-0M; Tue, 17 Oct 2017 10:42:23 -0400 Date: Tue, 17 Oct 2017 17:42:05 +0300 Message-Id: <838tg9g7k2.fsf@gnu.org> From: Eli Zaretskii To: Paul Eggert In-reply-to: (message from Paul Eggert on Mon, 16 Oct 2017 23:57:01 -0700) Subject: Re: bug#28518: Daemon mode only renders the first image file loaded References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 28518 Cc: sjbrown@live.co.uk, 28518@debbugs.gnu.org, 28770@debbugs.gnu.org, damien@cassou.me, 28633@debbugs.gnu.org, nicolas@petton.fr, 28626@debbugs.gnu.org, wyousef@fcih.net, 28632@debbugs.gnu.org, rgm@gnu.org, jrm@ftfl.ca, npostavs@users.sourceforge.net, mdl@imapmail.org 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Cc: 28518@debbugs.gnu.org, 28626@debbugs.gnu.org, 28632@debbugs.gnu.org, > 28633@debbugs.gnu.org, 28770@debbugs.gnu.org, Glenn Morris , > Noam Postavsky , Eli Zaretskii > , Waleed Yousef , > Matt Lundin , Joseph Mingrone > From: Paul Eggert > Date: Mon, 16 Oct 2017 23:57:01 -0700 > > > Apparently, the issue has been resolved in 6.9.9-18. > > Yes, that's right. Still, the ImageMagick bug is so easy to work around, and the > workaround so benign, that I installed the attached into the emacs-26 branch to > do that. Although Fedora will probably upgrade its ImageMagick version soon and > this upgrade will eventually filter out to users, the testing hassles are > significant in the meantime. [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain > Cc: 28518@debbugs.gnu.org, 28626@debbugs.gnu.org, 28632@debbugs.gnu.org, > 28633@debbugs.gnu.org, 28770@debbugs.gnu.org, Glenn Morris , > Noam Postavsky , Eli Zaretskii > , Waleed Yousef , > Matt Lundin , Joseph Mingrone > From: Paul Eggert > Date: Mon, 16 Oct 2017 23:57:01 -0700 > > > Apparently, the issue has been resolved in 6.9.9-18. > > Yes, that's right. Still, the ImageMagick bug is so easy to work around, and the > workaround so benign, that I installed the attached into the emacs-26 branch to > do that. Although Fedora will probably upgrade its ImageMagick version soon and > this upgrade will eventually filter out to users, the testing hassles are > significant in the meantime. Thanks. However, IME such workarounds should be conditioned on the pertinent versions of ImageMagick, otherwise they might get in the way further down the road. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 17 14:24:48 2017 Received: (at 28518) by debbugs.gnu.org; 17 Oct 2017 18:24:49 +0000 Received: from localhost ([127.0.0.1]:46585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4WXo-0004wI-OF for submit@debbugs.gnu.org; Tue, 17 Oct 2017 14:24:48 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:57022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4WXn-0004vq-7I; Tue, 17 Oct 2017 14:24:47 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4F0DA160E39; Tue, 17 Oct 2017 11:24:41 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id sDIgDtktynVL; Tue, 17 Oct 2017 11:24:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 91D96160E3A; Tue, 17 Oct 2017 11:24:40 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HKb4-8tA2QIQ; Tue, 17 Oct 2017 11:24:40 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 667BE160E39; Tue, 17 Oct 2017 11:24:40 -0700 (PDT) Subject: Re: bug#28518: Daemon mode only renders the first image file loaded To: Eli Zaretskii References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> <838tg9g7k2.fsf@gnu.org> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Tue, 17 Oct 2017 11:24:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <838tg9g7k2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 28518 Cc: sjbrown@live.co.uk, 28518@debbugs.gnu.org, 28770@debbugs.gnu.org, damien@cassou.me, 28633@debbugs.gnu.org, nicolas@petton.fr, 28626@debbugs.gnu.org, wyousef@fcih.net, 28632@debbugs.gnu.org, rgm@gnu.org, jrm@ftfl.ca, npostavs@users.sourceforge.net, mdl@imapmail.org 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: 0.7 (/) On 10/17/2017 07:42 AM, Eli Zaretskii wrote: > IME such workarounds should be conditioned on the > pertinent versions of ImageMagick, otherwise they might get in the way > further down the road. Normally I'd do that, and I first wrote code to operate that way. However, in this particular case the version-number testing code (which must be done at runtime, and cannot be done via simple integer comparison) was significantly more complicated and error-prone than simply working around the bug everywhere. As the workaround changes Emacs to use ImageMagick the way most other programs use ImageMagick, it's unlikely to cause problems in the future. From unknown Wed Jun 18 23:18:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Nov 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator