From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#28633: bug#28518: Daemon mode only renders the first image file loaded Date: Tue, 17 Oct 2017 11:24:40 -0700 Organization: UCLA Computer Science Department Message-ID: References: <87mv4rxycd.fsf@cassou.me> <87r2u3tj2d.fsf@petton.fr> <87mv4rux1o.fsf@petton.fr> <838tg9g7k2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1508264731 30005 195.159.176.226 (17 Oct 2017 18:25:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 18:25:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 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, jrm@ftfl.ca, npostavs@users.sourceforge.net, mdl@imapmail.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 17 20:25:22 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4WYE-000612-Hy for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 20:25:14 +0200 Original-Received: from localhost ([::1]:41060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4WYI-0005DQ-VP for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 14:25:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4WY7-0005CW-Oz for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 14:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4WY5-0007eu-Fm for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 14:25:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4WY5-0007ec-Cm for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 14:25:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4WY5-0004xh-55 for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 14:25:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 18:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28633 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 28633-submit@debbugs.gnu.org id=B28633.150826469319019 (code B ref 28633); Tue, 17 Oct 2017 18:25:05 +0000 Original-Received: (at 28633) by debbugs.gnu.org; 17 Oct 2017 18:24:53 +0000 Original-Received: from localhost ([127.0.0.1]:46591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4WXt-0004wh-Iq for submit@debbugs.gnu.org; Tue, 17 Oct 2017 14:24:53 -0400 Original-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 Original-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) Original-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) Original-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 Original-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) Original-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) In-Reply-To: <838tg9g7k2.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138638 Archived-At: 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.