bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21239: 25.0.50; `(image-size image 'pixels)` is causing Emacs to fre


From: Keith David Bershatsky
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

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.






reply via email to

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