unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: eliz@gnu.org, sds@gnu.org,
	Tino Calancha <tino.calancha@gmail.com>,
	Fabrice Popineau <fabrice.popineau@centralesupelec.fr>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Emacs and ImageMagick-7 issues
Date: Fri, 13 Jan 2017 22:01:44 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1701132200020.5486@calancha-pc> (raw)
In-Reply-To: <0eead875-d46b-1973-0165-5e42a2522ccb@alice.it>



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

Regards,
Tino



  reply	other threads:[~2017-01-13 13:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 10:03 Emacs and ImageMagick-7 issues Angelo Graziosi
2017-01-13 10:54 ` Angelo Graziosi
2017-01-13 13:01   ` Tino Calancha [this message]
2017-01-13 13:31     ` Angelo Graziosi
2017-01-13 13:49       ` Tino Calancha
  -- strict thread matches above, loose matches on Subject: below --
2016-10-02 20:14 Angelo Graziosi
2017-01-12 17:38 ` Sam Steingold
2017-01-12 20:11   ` Fabrice Popineau
2017-01-12 20:13     ` Fabrice Popineau
2017-01-13  8:08     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1701132200020.5486@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).