all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: EasyPG Assistant and emacs -nw
Date: Tue, 08 Mar 2011 19:26:54 +0000	[thread overview]
Message-ID: <87ipvtct1d.fsf@ucl.ac.uk> (raw)
In-Reply-To: m27hcct71o.fsf@gmail.com

Francis Moreau <francis.moro@gmail.com> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Francis Moreau <francis.moro@gmail.com> writes:
>
> [...]
>
>>>
>>> Is there anyways to avoid this. I just prefer type my passphrase every
>>> time it's needed instead of having a broken interface which drivers me
>>> crazy.
>
> juste to clarify, I just prefer type my passphrase in emacs.
>
>> Try to turn off gpg-agent and uninstall pinentry.
>
> No way !
>
> I'm not going to uninstall gpg-agent because emacs is broken !

I agree with you.  The solution I use is to have the following in my
emacs initialisation:

--8<---------------cut here---------------start------------->8---
(require 'epa)
(if (not window-system)
    (setenv "GPG_AGENT_INFO" nil)) ;to avoid graphical pop-up when on tty
--8<---------------cut here---------------end--------------->8---

this will cause emacs to use the mini-buffer for passphrase input so it
solves one problems; unfortunately, it means that the passphrase is not
cached (i.e. by gpg-agent) so you may have to type it repeatedly.  so
it's not a complete solution...

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.14


  parent reply	other threads:[~2011-03-08 19:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 17:15 EasyPG Assistant and emacs -nw Francis Moreau
2011-02-27 23:26 ` Wang Lei
     [not found] ` <mailman.5.1298849206.385.help-gnu-emacs@gnu.org>
2011-02-28 11:03   ` Francis Moreau
2011-02-28 12:17     ` Wang Lei
     [not found]     ` <mailman.3.1298895441.11648.help-gnu-emacs@gnu.org>
2011-03-01  8:10       ` Francis Moreau
2011-03-01 11:26         ` Wang Lei
2011-03-01 16:39         ` Ted Zlatanov
2011-03-02 13:00           ` Francis Moreau
2011-03-01 17:52         ` Glenn Morris
2011-03-02 12:59           ` Francis Moreau
2011-03-02 13:09             ` Richard Riley
2011-03-03  5:52               ` Francis Moreau
2011-03-05 15:17   ` Francis Moreau
2011-03-05 16:14     ` Peter Dyballa
     [not found]     ` <mailman.13.1299341671.13665.help-gnu-emacs@gnu.org>
2011-03-05 16:53       ` Francis Moreau
2011-03-05 17:47         ` Peter Dyballa
2011-03-05 18:27     ` Thierry Volpiatto
     [not found]     ` <mailman.9.1299349688.24947.help-gnu-emacs@gnu.org>
2011-03-05 20:46       ` Francis Moreau
2011-03-05 22:05         ` Thierry Volpiatto
     [not found]         ` <mailman.23.1299362724.24947.help-gnu-emacs@gnu.org>
2011-03-06 18:53           ` Francis Moreau
2011-03-07 18:26             ` Ted Zlatanov
2011-03-09  7:09               ` Francis Moreau
2011-03-08 19:26             ` Eric S Fraga [this message]
2011-03-09  7:08               ` Francis Moreau
2011-03-09  7:43               ` Francis Moreau
2011-03-09 10:11                 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipvtct1d.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.