unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
To: Daiki Ueno <ueno@gnu.org>
Cc: 21870@debbugs.gnu.org
Subject: bug#21870: 25.0.50; image now shown after decrypting image file
Date: Mon, 16 Nov 2015 09:50:24 +0200	[thread overview]
Message-ID: <874mgm1iyu.fsf@djcbsoftware.nl> (raw)
In-Reply-To: <m3io52zd8k.fsf-ueno-ueno@gnu.org>


On Monday Nov 16 2015, Daiki Ueno wrote:

> Eli Zaretskii <eliz@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@djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C





  reply	other threads:[~2015-11-16  7:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10  8:30 bug#21870: 25.0.50; image now shown after decrypting image file Dirk-Jan C. Binnema
2015-11-10 16:22 ` Eli Zaretskii
2015-11-10 17:12   ` Dirk-Jan C. Binnema
2015-11-14 14:34     ` Eli Zaretskii
2015-11-16  6:10       ` Daiki Ueno
2015-11-16  7:50         ` Dirk-Jan C. Binnema [this message]
2015-11-17  2:52           ` Daiki Ueno

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=874mgm1iyu.fsf@djcbsoftware.nl \
    --to=djcb@djcbsoftware.nl \
    --cc=21870@debbugs.gnu.org \
    --cc=ueno@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).