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: Chong Yidong
Subject: Re: Fix needed for communication with gpg-agent
Date: Fri, 23 Feb 2007 19:19:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

address@hidden (Kim F. Storm) writes:

> Noone has yet explained why using accept-process-output to wait just
> for the pgp process and not process keyboard input while waiting is
> not sufficient.
>
> If we need to enable SYNC_INPUT for that to work, and we don't want to
> do that in general, we could make a negative "just-this-one" arg mean
> "wait for single process to terminate with input blocked."
>
> I.e. a call like this:
>
>    (accept-process-output process nil nil -1)
>
> We would only have to do that on a terminal, as pinentry works fine on
> X already.
>
> Any readon that wouldn't work??

Have you tried it?  When I tried, gpg quits immediately, with or
without SYNC_INPUT; I can't debug it because I don't understand how
this idea is supposed to work in the first place.  IIUC, incoming tty
input in stored by Emacs, never forwarded to the gpg process.




reply via email to

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