From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Fix needed for communication with gpg-agent Date: Fri, 23 Feb 2007 19:30:10 +0100 Message-ID: References: <87irdzs6pp.fsf@stupidchicken.com> <87fy91g1pl.fsf@catnip.gol.com> <87wt2dk2rv.fsf@stupidchicken.com> <873b4yt7xx.fsf@stupidchicken.com> <87ps82ukz8.fsf@wheatstone.g10code.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172255421 1499 80.91.229.12 (23 Feb 2007 18:30:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2007 18:30:21 +0000 (UTC) Cc: rms@gnu.org, Sascha Wilde , Chong Yidong , Daiki Ueno , emacs-devel@gnu.org, Werner Koch , Miles Bader To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 23 19:30:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKfBL-0005VS-HN for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 19:30:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKfBL-0007Bu-5f for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 13:30:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKfBA-0007BW-R4 for emacs-devel@gnu.org; Fri, 23 Feb 2007 13:30:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKfB9-0007B4-Cv for emacs-devel@gnu.org; Fri, 23 Feb 2007 13:30:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKfB9-0007B1-8Z for emacs-devel@gnu.org; Fri, 23 Feb 2007 13:29:59 -0500 Original-Received: from pfepc.post.tele.dk ([195.41.46.237]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKfB1-0004jf-QO; Fri, 23 Feb 2007 13:29:52 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id C5E3B8A001C; Fri, 23 Feb 2007 19:29:25 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Fri\, 23 Feb 2007 18\:13\:47 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:66693 Archived-At: Andreas Schwab writes: > Werner Koch writes: > >> Is it possible to enhance server-start/emacsclient so that it does not >> edit a file but asks for string and returns that one? Pinentry could >> then use this feature for user interaction. > > emacsclient --eval can execute arbitrary lisp code. But we must then assure that Emacs can execute that lisp code. It may need special treatment since Emacs is currently waiting for gpg to finish (so it's "sleeping" inside accept-process-output). -- Kim F. Storm http://www.cua.dk