From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: epa when using emacs daemon / delaying function call until after emacsclient frame is opened Date: Wed, 22 Jun 2011 23:17:14 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308777994 6066 80.91.229.12 (22 Jun 2011 21:26:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 21:26:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 23:26:31 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZUwQ-0001Ge-KH for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2011 23:26:30 +0200 Original-Received: from localhost ([::1]:51738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZUwP-0001kJ-Fr for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2011 17:26:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZUnS-00008Q-Sq for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 17:17:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZUnR-0000DN-99 for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 17:17:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZUnQ-0000DG-RN for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 17:17:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZUnO-0004i4-MB for help-gnu-emacs@gnu.org; Wed, 22 Jun 2011 23:17:10 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2011 23:17:10 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2011 23:17:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:7AuG8Ui6kAwEmFUcVBdvzh6U+ws= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81401 Archived-At: Benjamin Slade writes: > Date: Wed, 22 Jun 2011 17:38:58 +0200 > From: Richard Riley > >>Just FYI that was my article and I ended up giving up.... Weak I > know ;) >> I start emacs daemon when I first start emacs and use the gpg agent > and >> gtk-pinentry. > > That's unfortunate. I'm just manually calling the function that needs > to look at the gpg file after I open up an emacs frame (which is very > non-ideal). There must be some way of making this work, I would > think. If you dont need it until you open a frame then it should be easy but that said I am guessing you are starting emacs as you login for a reason and the timing is the issue if you need to open the gpg to get passwords for "daemon"y things. I found issues with gpg-agent and keychain when starting emacs automatically. Best of luck anyway!