GNU bug report logs - #21947
24.5; epa: option for always replace encrypted text without asking

Previous Next

Package: emacs;

Reported by: Christian Schwarzgruber <c.schwarzgruber.cs <at> gmail.com>

Date: Tue, 17 Nov 2015 22:18:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daiki Ueno <ueno <at> gnu.org>
To: Christian Schwarzgruber <c.schwarzgruber.cs <at> gmail.com>
Cc: 21947 <at> debbugs.gnu.org
Subject: bug#21947: 24.5; epa: option for always replace encrypted text without asking
Date: Wed, 18 Nov 2015 11:05:17 +0900
Christian Schwarzgruber <c.schwarzgruber.cs <at> gmail.com> writes:

> When I get a new encrypted email and I hit `C-c C-e d' (epa-mail-decrypt) epa
> asks, if I want replace the original text. Which in my opinion is a bit
> superfluous in this case. This will become especially unpleasant once the
> auto-decrypt functionality is implemented in mu/mu4e.

That sounds reasonable.

> So I patched epa.el and added a boolean `defcustom', when set to `t',
> the text will always be replaced without asking.

I tend to make this a choice of three: never (nil), ask (a symbol),
always (t).  Would that make sense?

Also please adjust `epa-verify-region' as well.

Regards,
-- 
Daiki Ueno




This bug report was last modified 8 years and 47 days ago.

Previous Next


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