unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: 21239@debbugs.gnu.org
Subject: bug#21239: 25.0.50; `(image-size image 'pixels)` is causing Emacs to freeze on OSX Snow Leopard.
Date: Wed, 12 Aug 2015 00:29:45 -0700	[thread overview]
Message-ID: <FAC6C214-8CA5-40A3-8736-16BAAC69E32E@lawlist.com> (raw)
In-Reply-To: <m2tws51czc.wl%esq@lawlist.com>

Additional follow-up:

In the older version of Emacs Trunk from last year, the test `(fboundp 'imagemagick-types)' is `nil'.  In the Emacs Trunk  from August 4, 2015, the same test is `t`.

The section of code from `doc-view-insert-image` tests for both `doc-view-scale-internally' AND `(fboundp 'imagemagick-types)'.

So, while it seemed that the culprit was `doc-view-scale-internally', it is actually how Emacs behaves in `image-mode' and `doc-view-mode' when `(fboundp 'imagemagick-types)' is `t`.

Setting `imagemagick-types-inhibit' to `t' seems to fixe the problem with displaying a raw xpm in `image-mode'` in a buffer all by itself; and, adding an additional test to `doc-view-insert-image' of `(not (eq imagemagick-types-inhibit t))' is one way to get Emacs to stop freezing.






  parent reply	other threads:[~2015-08-12  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12  2:01 bug#21239: 25.0.50; `(image-size image 'pixels)` is causing Emacs to freeze on OSX Snow Leopard Keith David Bershatsky
2015-08-12  5:57 ` Keith David Bershatsky
2015-08-12  7:29 ` Keith David Bershatsky [this message]
2019-09-26 16:29   ` Lars Ingebrigtsen

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=FAC6C214-8CA5-40A3-8736-16BAAC69E32E@lawlist.com \
    --to=esq@lawlist.com \
    --cc=21239@debbugs.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).