From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15553: 24.3.50; epg.el and GnuPG 2.x cause unavoidable pinentry prompts for symmetrically encrypted files Date: Wed, 09 Oct 2013 20:33:55 -0400 Message-ID: References: <87mwml0xib.fsf@flea.lifelogs.com> <87a9ikwsbi.fsf-ueno-ueno@gnu.org> <87d2ngutom.fsf-ueno@gnu.org> <87bo2zcm6s.fsf-ueno@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381365322 30445 80.91.229.3 (10 Oct 2013 00:35:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2013 00:35:22 +0000 (UTC) Cc: tzz@lifelogs.com, 15553@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 02:35:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VU4Dr-0002gY-Og for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 02:35:23 +0200 Original-Received: from localhost ([::1]:44439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU4Dr-0000sl-9s for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 20:35:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU4Dh-0000qR-HC for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 20:35:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VU4DZ-0005b7-Li for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 20:35:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU4DZ-0005Zr-IK for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 20:35:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VU4DY-0007Lc-Ni for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 20:35:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2013 00:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 15553-submit@debbugs.gnu.org id=B15553.138136524528163 (code B ref 15553); Thu, 10 Oct 2013 00:35:03 +0000 Original-Received: (at 15553) by debbugs.gnu.org; 10 Oct 2013 00:34:05 +0000 Original-Received: from localhost ([127.0.0.1]:38954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VU4CZ-0007Jz-Jq for submit@debbugs.gnu.org; Wed, 09 Oct 2013 20:34:04 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53589) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VU4CS-0007Jg-Au for 15553@debbugs.gnu.org; Wed, 09 Oct 2013 20:33:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFMCreE/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0BwsUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFFMCreE/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0BwsUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="35158661" Original-Received: from 76-10-183-132.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.183.132]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Oct 2013 20:30:09 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 56172AE0C1; Wed, 9 Oct 2013 20:33:55 -0400 (EDT) In-Reply-To: (Daiki Ueno's message of "Wed, 09 Oct 2013 13:10:43 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79127 Archived-At: >>>> But it calls accept-process-output, so it can still get stuck. >>> Yes, but it's not a hard lockup. I can get out from the loop with C-g. >> But if you have no terminal open (yet) on that emacs-server, you can't >> hit C-g. > Well, is that a realistic use case? What do you suppose precisely? > I thought that you meant like: > $ emacs -nw file.gpg > or even > $ emacs -batch -l file.el.gpg Sorry I didn't use the right terminology. I meant an "emacs --daemon" I.e. run an emacs process as a server and then connect to it via emacsclient. This server can sit in the background with no tty nor GUI frame open anywhere. If you then "emacsclient -eval " and this involves opening a .gpg file you might get stuck with an emacs server. In any case, this is hypothetical. I haven't even tried it, and who knows maybe it does behave properly in the end (e.g. gpg2 errors out because it can't find any X11 display nor any tty to use to prompt the user). So let's not worry about it too much until there's a concrete problematic case. Stefan