From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Small patch to enable use of gpg-agent with pgg Date: Thu, 23 Mar 2006 11:54:54 +0100 Message-ID: <87wtelwhvl.fsf@latte.josefsson.org> References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <2cd46e7f0510061541w73bb6a92wb6d22829b6e804ae@mail.gmail.com> <20051007100014.GB4850@kenny.sha-bang.local> <2cd46e7f0510071106k3d4d3e6agc36f16a37d8b6bc6@mail.gmail.com> <20051007214952.GA30235@kenny.sha-bang.local> <20051008103627.GA1218@kenny.sha-bang.local> <2cd46e7f0510081131h14e2bbeaga7f1a33ebd6347c8@mail.gmail.com> <2cd46e7f0510101415t76825ea7u9749fe23da54ce@mail.gmail.com> <2cd46e7f0510121647x3c51fb65pc883ed61f4e864ab@mail.gmail.com> <2cd46e7f0510200708x4640d1c2t50743cf439e52dd4@mail.gmail.com> <87pskfq361.fsf@latte.josefsson.org> <87zmjicv9d.fsf@latte.josefsson.org> <87irq6yrfo.fsf@latte.josefsson.org> <87slp9y15z.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143111323 16446 80.91.229.2 (23 Mar 2006 10:55:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2006 10:55:23 +0000 (UTC) Cc: Katsumi Yamaoka , "Daiki Ueno \(pgg author\)" , ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 23 11:55:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FMNTG-0003Ms-DK for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 11:55:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMNTG-0004Sj-4s for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 05:55:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMNT2-0004SP-UO for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:55:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMNT1-0004SD-Ai for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:55:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMNT1-0004SA-7p for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:54:59 -0500 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMNTa-0000Yn-Fg for emacs-devel@gnu.org; Thu, 23 Mar 2006 05:55:34 -0500 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k2NAssmf020860; Thu, 23 Mar 2006 11:54:55 +0100 Original-To: Sascha Wilde OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:060323:ding@gnus.org::9FsyIdG++TDIlcaI:uRu X-Hashcash: 1:21:060323:wilde@sha-bang.de::IEHF5ybBec0dwrTW:58yO X-Hashcash: 1:21:060323:yamaoka@jpl.org::gw2iM3lX0CaSsK+1:JSAP X-Hashcash: 1:21:060323:emacs-devel@gnu.org::KrpnExwwDLsb3Kzo:Tu77 X-Hashcash: 1:21:060323:ueno@unixuser.org::JlO5WbaeJit/wnGx:bCez In-Reply-To: (Sascha Wilde's message of "Thu, 23 Mar 2006 11:26:36 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on yxa.extundo.com X-Virus-Status: Clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51995 gmane.emacs.gnus.general:62379 Archived-At: Sascha Wilde writes: > Simon Josefsson wrote: > >> Katsumi Yamaoka writes: >> >>>>>>>> In <87irq6yrfo.fsf@latte.josefsson.org> Simon Josefsson wrote: >>> >>>> Katsumi Yamaoka writes: >>> >>>>> Emacs 20, 21 and XEmacs complain to use of make-network-process >>>>> which isn't available. To solve the problem, we may want to >>>>> introduce it as dns.el does. >>> >>>> Do those emacsen support socket processes? If not, maybe we should >>>> remove pgg-gpg-update-agent. >>> >>> Oops. ISHIKAWA Mutsumi wrote (in Japanese) in >>> >>> http://lists.debian.or.jp/debian-devel/200502/msg00007.html >>> >>> that Emacs 21 doesn't support the communication passing the UNIX >>> domain socket. If we need to use it at all costs, we will have >>> to use an external program which communicates with the agent >>> process by way of the socket. >> >> I think it is too complicated. It is simpler to remove the function. >> Sascha, what do you think? People who enable pgg-gpg-use-agent >> manually might be expected to make sure the agent really is running. > > I would like to see pgg do the right think when ever it can -- could > we keep it for emacs 22 and just not use it if its not available? > > How about testing for the emacs version, or availability of > make-network-process? > > I'll purpose a more compatible patch later -- but I don't have the > time right now, sorry. Given that this function probably won't be used at all if Daiki's idea is implemented, I think we should remove the function for now. Daiki's approach (if I understand it correctly) of not second-guessing what parameters gpg will need is more reliable than this approach, even if this approach would work fine on all emacsen.