emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and ImageMagick-7 issues


From: Angelo Graziosi
Subject: Re: Emacs and ImageMagick-7 issues
Date: Fri, 13 Jan 2017 14:31:00 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

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..



reply via email to

[Prev in Thread] Current Thread [Next in Thread]