GNU bug report logs -
#21239
25.0.50; `(image-size image 'pixels)` is causing Emacs to freeze on OSX Snow Leopard.
Previous Next
Reported by: Keith David Bershatsky <esq <at> lawlist.com>
Date: Wed, 12 Aug 2015 02:02:02 UTC
Severity: normal
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 5 years and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.