From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62521 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg-gpg: BEGIN_SIGNING Date: Wed, 05 Apr 2006 20:46:03 +0900 Message-ID: References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <87pskfq361.fsf@latte.josefsson.org> <877j6mg2af.fsf@latte.josefsson.org> <87lkv1whmh.fsf@latte.josefsson.org> <897751e5-a148-4109-8da6-6f69cce0dec0@well-done.deisui.org> <87d5gd2ts1.fsf@latte.josefsson.org> <87wteiypvv.fsf@latte.josefsson.org> <87irq1evdk.fsf@catnip.gol.com> <0443f268-1caf-4aef-9a06-daa4a59b0682@well-done.deisui.org> <87slp587cw.fsf@latte.josefsson.org> <44c10525-91e8-4814-b616-d6d1050393c3_-_@well-done.deisui.org> <87fyks8ley.fsf@latte.josefsson.org> <1d247daf-c9b5-4da8-a34d-4ecf01acc268@well-done.deisui.org> <873bgs8evn.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Wed_Apr__5_20:46:03_2006-1" X-Trace: sea.gmane.org 1144237605 28380 80.91.229.2 (5 Apr 2006 11:46:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2006 11:46:45 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m11048@lists.math.uh.edu Wed Apr 05 13:46:44 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FR6T8-00077Q-96 for ding-account@gmane.org; Wed, 05 Apr 2006 13:46:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FR6T3-00052j-00; Wed, 05 Apr 2006 06:46:33 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FR6SL-00052d-00 for ding@lists.math.uh.edu; Wed, 05 Apr 2006 06:45:49 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FR6SJ-000539-3u for ding@lists.math.uh.edu; Wed, 05 Apr 2006 06:45:48 -0500 Original-Received: from 221x255x76x220.ap221.ftth.ucom.ne.jp ([221.255.76.220] helo=localhost) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FR6SI-0002iE-00 for ; Wed, 05 Apr 2006 13:45:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org ident=ueno) by localhost with esmtp (Exim 4.60) (envelope-from ) id 1FR6SZ-0001Yz-E5; Wed, 05 Apr 2006 20:46:03 +0900 Original-To: Simon Josefsson X-Attribution: DU In-Reply-To: <873bgs8evn.fsf@latte.josefsson.org> (Simon Josefsson's message of "Wed, 05 Apr 2006 13:02:04 +0200") User-Agent: T-gnus/6.17.4 (based on No Gnus v0.4) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 XEmacs/21.4.16 (i686-pc-linux) MULE X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62521 Archived-At: --Multipart_Wed_Apr__5_20:46:03_2006-1 Content-Type: text/plain; charset=US-ASCII >>>>> In <873bgs8evn.fsf@latte.josefsson.org> >>>>> Simon Josefsson wrote: > >> Can't we change it, so that if pgg-gpg-use-agent is nil, it will wait > >> for either GOOD_PASSPHRASE or BEGIN_SIGNING? Then it will work fine > >> for everyone (both new and old GnuPG) except those with old GnuPG and > >> smart cards, I think. > > > >> I think we can get it so that pgg-gpg-use-agent is only ever needed if > >> you use an old GnuPG with smart cards. > > > > Ok, here is the patch. > Applied, thanks! I'm sorry. The patch has a bug. Please apply the fix attached below. --Multipart_Wed_Apr__5_20:46:03_2006-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="pgg-gpg.el.diff" Content-Transfer-Encoding: 7bit ? pgg-gpg.el.diff Index: lisp/pgg-gpg.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/pgg-gpg.el,v retrieving revision 7.21 diff -u -r7.21 pgg-gpg.el --- lisp/pgg-gpg.el 5 Apr 2006 10:57:51 -0000 7.21 +++ lisp/pgg-gpg.el 5 Apr 2006 11:40:57 -0000 @@ -122,12 +122,10 @@ (save-excursion (if (looking-at "\\[GNUPG:] \\([A-Z_]+\\)\\>.*") (let* ((status (match-string 1)) - (symbol (intern-soft (concat "pgg-gpg-status-" status))) - (entry (member status pgg-gpg-pending-status-list))) - (if entry - (setq pgg-gpg-pending-status-list - (delq (car entry) - pgg-gpg-pending-status-list))) + (symbol (intern-soft (concat "pgg-gpg-status-" + status)))) + (if (member status pgg-gpg-pending-status-list) + (setq pgg-gpg-pending-status-list nil)) (if (and symbol (fboundp symbol)) (funcall symbol process (buffer-substring --Multipart_Wed_Apr__5_20:46:03_2006-1 Content-Type: text/plain; charset=US-ASCII Regards, -- Daiki Ueno --Multipart_Wed_Apr__5_20:46:03_2006-1--