unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Francesco Potortì" <pot@gnu.org>
Cc: 25411@debbugs.gnu.org
Subject: bug#25411: 25.1; rmail decryption problems
Date: Sat, 12 Dec 2020 21:17:06 +0100	[thread overview]
Message-ID: <871rfu93ul.fsf@gnus.org> (raw)
In-Reply-To: <E1cQyzx-0005cd-6z@tucano.isti.cnr.it> ("Francesco Potortì"'s message of "Tue, 10 Jan 2017 17:10:09 +0100")

Francesco Potortì <pot@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





  reply	other threads:[~2020-12-12 20:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 16:10 bug#25411: 25.1; rmail decryption problems Francesco Potortì
2020-12-12 20:17 ` Lars Ingebrigtsen [this message]
2020-12-13 17:18   ` Francesco Potortì
2020-12-14 16:12     ` Lars Ingebrigtsen
     [not found]       ` <E1kor0r-002Vzd-3l@tucano.isti.cnr.it>
2020-12-15  5:37         ` Lars Ingebrigtsen
2020-12-15 21:31           ` Francesco Potortì
2020-12-17 11:45             ` Lars Ingebrigtsen
2020-12-16  5:35           ` Richard Stallman
2020-12-17 11:46             ` Lars Ingebrigtsen
2020-12-18  5:48               ` Richard Stallman
2020-12-19 15:33                 ` Lars Ingebrigtsen

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=871rfu93ul.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25411@debbugs.gnu.org \
    --cc=pot@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).