From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Baumann Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: gpg-agent support removed?! Date: Sat, 08 Apr 2006 09:03:26 +0200 Message-ID: <23943.1144479806@norvel.baumann-gauting.site> References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <4adea371-1634-4525 -8817-d19c2918d4a1@well-done.deisui.org> <25746.1144418743@norvel.baumann-gauting.site> <09a5814c-146d-4c5a-bede-b5ab473c2d27@well-done.deisui.org> Reply-To: thomas.baumann@ch.tum.de NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1144480043 23529 80.91.229.2 (8 Apr 2006 07:07:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2006 07:07:23 +0000 (UTC) Original-X-From: ding-owner+m11125@lists.math.uh.edu Sat Apr 08 09:07:21 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 1FS7XS-0003np-3J for ding-account@gmane.org; Sat, 08 Apr 2006 09:07:18 +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 1FS7XG-00061e-00; Sat, 08 Apr 2006 02:07:06 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FS7Tm-00061W-00 for ding@lists.math.uh.edu; Sat, 08 Apr 2006 02:03:30 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FS7Tl-0002ZJ-AL for ding@lists.math.uh.edu; Sat, 08 Apr 2006 02:03:30 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1FS7Tk-0005ZX-00 for ; Sat, 08 Apr 2006 09:03:28 +0200 Original-Received: (qmail invoked by alias); 08 Apr 2006 07:03:27 -0000 Original-Received: from p549606C4.dip0.t-ipconnect.de (EHLO norvel.baumann-gauting.site) [84.150.6.196] by mail.gmx.net (mp036) with SMTP; 08 Apr 2006 09:03:27 +0200 X-Authenticated: #18609929 Original-Received: from norvel.baumann-gauting.site (localhost [127.0.0.1]) by norvel.baumann-gauting.site (Postfix) with ESMTP id 940BA176A7; Sat, 8 Apr 2006 09:03:26 +0200 (CEST) Original-To: Daiki Ueno , ding@gnus.org, emacs-devel@gnu.org In-reply-to: Comments: In-reply-to Reiner Steib message dated "Fri, 07 Apr 2006 23:22:51 +0200." X-Mailer: MH-E 7.93+cvs; nmh 1.2; GNU Emacs 22.0.50.1 X-Y-GMX-Trusted: 0 X-Spam-Score: -2.3 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62598 gmane.emacs.devel:52529 Archived-At: Reiner Steib wrote: > On Fri, Apr 07 2006, Daiki Ueno wrote: > > >>>>>> Reiner Steib wrote: > >> > Looks odd. I think that the code which waits only for "BEGIN_SIGNING" > >> > has not ever been incorporated in Gnus CVS. > > > >> | X-Mailer: MH-E 7.93+cvs; nmh 1.2; GNU Emacs 22.0.50.1 > > > >> MH-E uses the MIME stuff from Gnus, but Thomas is using MH-E from > >> Emacs CVS. > > > > Did someone mistakenly installed the first BEGIN_SIGNING patch to Emacs > > CVS, while it has not been commited in Gnus CVS? > > ---------------------------- > revision 1.13 > date: 2006-04-05 11:00:11 +0000; author: jas; state: Exp; lines: +2 -2 > 2006-04-05 Daiki Ueno > > * pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): Wait > for BEGIN_SIGNING too, new in GnuPG 1.4.3. > ---------------------------- > > > Simon vetoed it because it does _not_ work with the earlier GnuPG > > versions than 1.4.3. > > AFAICS, Simon installed a modified version: > > --8<---------------cut here---------------start------------->8--- > --- pgg-gpg.el 4 Apr 2006 23:30:02 -0000 1.12 > +++ pgg-gpg.el 5 Apr 2006 11:00:11 -0000 1.13 > @@ -256,7 +256,7 @@ > (list pgg-gpg-user-id)))))))) > (process (pgg-gpg-start-process args))) > (if (and sign (not pgg-gpg-use-agent)) > - (pgg-gpg-wait-for-status process '("GOOD_PASSPHRASE"))) > + (pgg-gpg-wait-for-status process '("BEGIN_SIGNING" "GOOD_PASSPHRASE"))) > (process-send-region process start end) > (pgg-gpg-wait-for-completion process) > (save-excursion > @@ -303,7 +303,7 @@ > (if pgg-text-mode '("--textmode")))) > (process (pgg-gpg-start-process args))) > (unless pgg-gpg-use-agent > - (pgg-gpg-wait-for-status process '("GOOD_PASSPHRASE"))) > + (pgg-gpg-wait-for-status process '("BEGIN_SIGNING" "GOOD_PASSPHRASE"))) > (process-send-region process start end) > (pgg-gpg-wait-for-completion process) > (save-excursion > --8<---------------cut here---------------end--------------->8--- > > Thomas should update from CVS (I have reverted to revision 1.8, > i.e. before your asynchronous gpg call, after adding gpg-agent support > from Sascha) and check again, I think. Or test your version. > > Bye, Reiner. > -- > ,,, > (o o) > ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ > Everything back to normal with this mornings CVS, at least for the pgg-gpg.el, thanks Thomas