From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Gnus asking for key twice
Date: Thu, 01 Dec 2011 13:55:43 +0900 [thread overview]
Message-ID: <b4md3c8sxf4.fsf@jpl.org> (raw)
In-Reply-To: <b4md3c9deam.fsf@jpl.org>
Katsumi Yamaoka wrote:
> That you are prompted twice seems to be due to a bug of
> `mml2015-epg-sign'. The encrypting function might have it, too.
> There are two issues in the following section:
> (or (message-options-get 'mml2015-epg-signers)
> (message-options-set 'mml2015-epg-signers ...))
> The second line tries to save a signer to the `message-options'
> variable and the first line gets it back in the next time.
> However, `message-options' is always buffer-local and those are
> done in a temporary buffer. So, this save-and-back plan goes
> wrong.
Fixed. The value of `message-options' is shared between a draft
buffer and temporary working buffers now. So, a signer you once
select is kept in it and you should never be prompted for a signer
twice even if you set `mm-sign-option' to `guided'.
> In addition, `epa-select-keys', that passes a signer to the second
> line from the selection menu, always returns nil as far as I can
> observe.
I should have used the `m' key, not the mouse-2 button, to select
one.
next prev parent reply other threads:[~2011-12-01 4:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-28 18:02 Adam
2011-11-28 22:22 ` Adam
2011-11-28 22:40 ` Adam
2011-11-29 10:00 ` Katsumi Yamaoka
2011-11-29 10:19 ` Katsumi Yamaoka
2011-11-29 10:56 ` Adam
2011-11-30 11:45 ` Katsumi Yamaoka
2011-12-01 4:55 ` Katsumi Yamaoka [this message]
2011-12-01 11:17 ` Adam
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=b4md3c8sxf4.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).