GNU bug report logs - #25411
25.1; rmail decryption problems

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Tue, 10 Jan 2017 16:11:02 UTC

Severity: minor

Tags: fixed

Found in version 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Francesco Potortì <pot <at> gnu.org>
Cc: 25411 <at> debbugs.gnu.org
Subject: Re: bug#25411: 25.1; rmail decryption problems
Date: Sat, 12 Dec 2020 21:17:06 +0100
Francesco Potortì <pot <at> gnu.org> writes:

> When using rmail, an ecrypted message can be decrypted by using
> epa-mail-decrypt or rmail-epa-decrypt.
>
> 1) none of these is bound to any keys, which is annoying.  The obvious
> keybinding in rmail should be C-cC-ed

I've now bound `C-c C-d' to `rmail-epa-decrypt'.

> 2) it is not clear if there is any difference between these two
> functions: both seem to do the same thing.

Presumably rmail function is rmail-specific, which explains:

> 3) epa-mail-decrypt behaves well when told not to replace the email
> contents, but when told to replace it, it should mark the email message
> as "decrypted", which it does not

That's an rmail-specific thing, so I think it's correct that it doesn't
do that.

> 4) rmail-epa-decrypt behaves well when told to replace the email
> message, but when told not to, it marks the email message as decrypted,
> which is wrong because this modifies the mail buffer, which should
> stay unmodified.  Moreover, if the buffer is saved, the (unmodified)
> mail message carries the "decrypted" tag, which does not make sense.

This should now be fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 151 days ago.

Previous Next


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