Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#55838 - [emacs] Image[imagemagick] mode does not work properly since imagemagick 6.9.9.14
Attached to Project:
Arch Linux
Opened by nammidd (nammidd) - Monday, 02 October 2017, 09:43 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 October 2017, 16:23 GMT
Opened by nammidd (nammidd) - Monday, 02 October 2017, 09:43 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 October 2017, 16:23 GMT
|
DetailsDescription:
Image in "Image[imagemagick]" mode is showing only in the first time. Additional info: GNU Emacs 25.3.1 Imagemagick since 6.9.9.14 Steps to reproduce: Open an image, open another image. |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 04 October 2017, 16:23 GMT
Reason for closing: Fixed
Additional comments about closing: imagemagick 6.9.9.18
Wednesday, 04 October 2017, 16:23 GMT
Reason for closing: Fixed
Additional comments about closing: imagemagick 6.9.9.18
Imagemagick reports that no image format is supported:
(fboundp 'imagemagick-types) --> t: Emacs is built with Imagemagick support
(imagemagick-types) --> nil: no image type. Should return a list of symbols.
Not sure when it started, but it's annoying for me...
Packages:
emacs 25.3-1
imagemagick 6.9.9.17-1
1. Start Emacs with "emacs -Q"
2. Open an image file: C-x C-f ~/test.jpg RET: the image is displayed
3. Display it as text: C-c, then back as an image: C-c
4. No image, just a square.
5. Go to the *Messages* buffer: C-x b *Messages* RET. There are now several error messages: ImageMagick error: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/504
(And, just for fun, before loading the first image, (imagemagick-types) actually returns the expected list of symbols.)
This issue has been present for several days and has been reported several times in the Emacs mailing lists:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-09/msg00700.html
https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-09/msg01089.html
https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-09/msg01069.html
But no solution was found (only suggestion: https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-09/msg01071.html)
Rebuilt ImageMagick 6.9.9.17: no change, same issue.
Rebuilt ImageMagick 6.9.9.10: no issue at all... So this is very likely a bug/regression in ImageMagick. I'm currently bisecting it and will either report it upstream or even submit a pull request if possible.
But I didn't manage to fix it :(