emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix needed for communication with gpg-agent


From: Miles Bader
Subject: Re: Fix needed for communication with gpg-agent
Date: Sat, 24 Feb 2007 23:08:03 +0900

Stefan Monnier <address@hidden> writes:
>   emacsclient --eval '(read-passwd "gpg passwd: ")'
>
> This looks like a very clean solution.  Except that you have to make sure
> that Emacs is running a server, and if the user is running several Emacsen at
> the same time you may not be able to get to that server.

Given Werner's proposed mechanism, pinentry is contacting emacs because
emacs asked it to (by setting the special environment variable) -- so
Emacs should be prepared to be contacted, and can communicate any needed
info in the environment variable.

-Miles

-- 
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house.  And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
  [George Carlin]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]