From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#7487: 24.0.50; Gnus nnimap broken
Date: Wed, 15 Dec 2010 08:39:18 -0600 [thread overview]
Message-ID: <877hfb14o9.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.3.1292379760.6505.bug-gnu-emacs@gnu.org
On Wed, 15 Dec 2010 11:06:42 +0900 Daiki Ueno <ueno@unixuser.org> wrote:
DU> BTW, I forgot to mention in the previous response, I think it overkill
DU> to make epa-file to encrypt files with symmetric encryption by default,
DU> because as long as a file is visited in a buffer, epa-file remembers the
DU> last used encryption method (in epa-file-encrypt-to local variable),
DU> which will be used on the next save-buffer. So a user should see the
DU> key selection UI only the first time she saves the buffer.
DU> Default symmetric might be useful when Emacs does visit/save/kill-buffer
DU> repeatedly, but I think it is a rare case.
I agree. The user may not even know the implications of symmetric
encryption. So IMHO this should be an external option (maybe requested
by setting `epa-file-encrypt-to' to 'ask if it's nil) which would change
the current key selection UI as follows (this is a refinement of my
previous UI proposal):
1) show prompt "Do you want to encrypt %s with a passphrase (symmetric)
or with a specific key? (p/k/P/K/h)"
2) on `h', show some help, mentioning for instance that this question is
asked only once per file and link to the EPA manual
3) on `p', proceed without the key selection UI
4) on `k', proceed with the current key selection UI
5) on `P' or `K', save the choice as a new customized default for
`epa-file-encrypt-to'
All of this shouldn't involve auth-source.el beyond setting
`epa-file-encrypt-to' to 'ask if it's nil. That way other packages can
use this same approach.
So this inconveniences users at least once, but gives them a chance to
understand what's going on, and with `P' will not be asked again. What
do you think?
Ted
next prev parent reply other threads:[~2010-12-15 14:39 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.0.1290791691.11667.bug-gnu-emacs@gnu.org>
2010-11-28 2:56 ` bug#7487: 24.0.50; Gnus nnimap broken Lars Magne Ingebrigtsen
[not found] ` <m3ipziupey.fsf@quimbies.gnus.org>
2010-12-06 16:11 ` Ted Zlatanov
2010-12-07 23:32 ` Lars Magne Ingebrigtsen
2010-12-08 17:00 ` Jason Rumney
2010-12-09 21:15 ` Lars Magne Ingebrigtsen
2010-12-10 2:55 ` Stefan Monnier
[not found] ` <ids61l$jr6$2@quimby.gnus.org>
2010-12-10 16:18 ` Lars Magne Ingebrigtsen
2010-12-08 17:05 ` Jason Rumney
2010-12-08 23:32 ` Stefan Monnier
2010-12-09 21:10 ` Lars Magne Ingebrigtsen
[not found] ` <mailman.1.1291931529.5417.bug-gnu-emacs@gnu.org>
2010-12-10 18:48 ` Ted Zlatanov
2010-12-10 20:56 ` Stefan Monnier
[not found] ` <mailman.38.1292016144.4804.bug-gnu-emacs@gnu.org>
2010-12-13 3:19 ` Lars Magne Ingebrigtsen
2010-12-13 17:08 ` Ted Zlatanov
2010-12-13 20:11 ` Lars Magne Ingebrigtsen
2010-12-14 1:08 ` Daiki Ueno
2010-12-15 2:06 ` Daiki Ueno
[not found] ` <mailman.3.1292379760.6505.bug-gnu-emacs@gnu.org>
2010-12-15 14:39 ` Ted Zlatanov [this message]
2010-12-15 22:05 ` Daiki Ueno
2010-12-15 23:42 ` Daiki Ueno
2010-12-16 2:45 ` Daiki Ueno
[not found] ` <mailman.13.1292467961.28766.bug-gnu-emacs@gnu.org>
2010-12-16 16:00 ` Ted Zlatanov
2010-12-16 19:15 ` Ted Zlatanov
2010-12-16 19:39 ` Lars Magne Ingebrigtsen
2010-12-16 19:44 ` Lars Magne Ingebrigtsen
2010-11-26 17:10 Jason Rumney
2010-12-05 16:49 ` Lars Magne 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hfb14o9.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=bug-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.