GNU bug report logs - #21870
25.0.50; image now shown after decrypting image file

Previous Next

Package: emacs;

Reported by: Dirk-Jan C. Binnema <djcb <at> djcbsoftware.nl>

Date: Tue, 10 Nov 2015 08:35:02 UTC

Severity: normal

Found in version 25.0.50

Done: Daiki Ueno <ueno <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 21870 <at> debbugs.gnu.org (full text, mbox):

From: Dirk-Jan C. Binnema <djcb <at> djcbsoftware.nl>
To: Daiki Ueno <ueno <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 21870 <at> debbugs.gnu.org
Subject: Re: bug#21870: 25.0.50; image now shown after decrypting image file
Date: Mon, 16 Nov 2015 09:50:24 +0200
On Monday Nov 16 2015, Daiki Ueno wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> >> It seems the auto-decryption functionality does not work correctly for
>>> >> encrypted images - that is, decryption works, but then the image is not
>>> >> shown.

[...]

>> Looks like epa-file.el doesn't run normal-mode after decrypting the
>> file?
>
> Thanks for forwarding.  Hmm, it seems that normal-mode is actually
> called, but image-mode tries to load the contents from the file, not
> from the buffer.  Does the following hack look correct?
>
> (It seems reading test.jpeg.gz works because ImageMagick supports
> compressed files.)

Yes -- seems that did the trick. Just tried it with the patch and the
image is now shown as expected.

Thanks!
Dirk.


-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:djcb <at> djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C




This bug report was last modified 9 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.