From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80628 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus asking for key twice Date: Thu, 01 Dec 2011 13:55:43 +0900 Organization: Emacsen advocacy group Message-ID: References: <87sjl8dt6t.fsf@earth.home> <878vmz7uvi.fsf@earth.home> <8762i36fig.fsf@earth.home> <87ipm3ci7f.fsf@earth.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1322715421 3740 80.91.229.12 (1 Dec 2011 04:57:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 04:57:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28910@lists.math.uh.edu Thu Dec 01 05:56:58 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVyhd-0006d8-BT for ding-account@gmane.org; Thu, 01 Dec 2011 05:56:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RVygP-0005EI-7F; Wed, 30 Nov 2011 22:55:41 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RVygO-0005EA-5k for ding@lists.math.uh.edu; Wed, 30 Nov 2011 22:55:40 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RVygM-0005Gq-L8 for ding@lists.math.uh.edu; Wed, 30 Nov 2011 22:55:39 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RVygK-00048P-Qj for ding@gnus.org; Thu, 01 Dec 2011 05:55:36 +0100 Original-Received: from localhost ([127.0.0.1]:54447) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1RVygG-0005rc-Bj for ding@gnus.org; Wed, 30 Nov 2011 22:55:33 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (i686-pc-cygwin) Cancel-Lock: sha1:R5neC0G/avcX8R/qzCPSELOt0E4= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80628 Archived-At: 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.