From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Emacs and ImageMagick-7 issues Date: Fri, 13 Jan 2017 14:31:00 +0100 Message-ID: <03313fc8-86b1-5dac-c17c-4203514d24f5@alice.it> References: <0eead875-d46b-1973-0165-5e42a2522ccb@alice.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1484315659 1543 195.159.176.226 (13 Jan 2017 13:54:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2017 13:54:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 Cc: eliz@gnu.org, sds@gnu.org, Fabrice Popineau , Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 13 14:54:13 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cS2J3-0008Gc-0H for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2017 14:54:13 +0100 Original-Received: from localhost ([::1]:41340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS2J7-0001B4-GK for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2017 08:54:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS1x5-0003uQ-Ng for emacs-devel@gnu.org; Fri, 13 Jan 2017 08:31:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS1x2-0006gl-Ki for emacs-devel@gnu.org; Fri, 13 Jan 2017 08:31:31 -0500 Original-Received: from smtp201.alice.it ([82.57.200.97]:45643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS1x0-0006fM-Gd; Fri, 13 Jan 2017 08:31:28 -0500 Original-Received: from [192.168.1.102] (79.45.0.124) by smtp201.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 58760AF900C53AC0; Fri, 13 Jan 2017 14:31:21 +0100 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.97 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211247 Archived-At: Il 13/01/2017 14:01, Tino Calancha ha scritto: > > > On Fri, 13 Jan 2017, Angelo Graziosi wrote: > >> Start Emacs and visit a PNG or JPG etc, file. For example foo-01.png. >> It is displayed correctly and fitted to the windows *width*. Now do >> the same with another graphical file. For example foo-02.png. It also >> is displayed correctly and fitted to the window WIDTH. >> >> Close foo-02.png and for foo-01.png click Image - Fit to Window >> Height. It complains with a BELL sound and with the message: >> >>> >>> Assertion failed: (= (cdr size) (- (nth 3 (window-inside-pixel-edges)) >>> (nth 1 (window-inside-pixel-edges)))), 821, 814 >>> user-error: Minibuffer window is not active >> >> but the file is displayed correctly, at least in appearance! If now >> one re-visit foo-02.png it is visited in Fundamental mode and with the >> message: >> >>> Cannot display image: ((= (cdr size) (- (nth 3 >>> (window-inside-pixel-edges)) (nth 1 (window-inside-pixel-edges)))) >>> 821 814) >> >> It seems that this build of Emacs does not like "Image - Fit to Window >> Height". The graphical format (PNJ, JPG..) seems irrelevant.. > Hi Angelo, > > that sounds like: > http://debbugs.gnu.org/24393 Hmm.. as I wrote the master build I did a few days ago on GNU/Linux Mint 18.1 with ImageMagick-6 does not show these issues.. They seem related to ImageMagick-7 and/or MSYS2/MinGW64 builds..