[PATCH] Add inside-Emacs mode to GUI pinentry programs

Daiki Ueno ueno at gnu.org
Wed Jul 1 03:39:40 CEST 2015

Werner Koch <wk at gnupg.org> writes:

> On Mon, 15 Jun 2015 05:15, ueno at gnu.org said:
>> +      /* Remove the INSIDE_EMACS variable so that a pinentry does not
>> +         always try to interact with Emacs.  */
>> +#ifndef HAVE_W32_SYSTEM
>> +      gnupg_unsetenv ("INSIDE_EMACS");
>> +#endif
> I think we can do this on all platforms.  The ifdef W32 is used for
> DISPLAY because tehre is no X Server there.

Sorry for the last minute request.  Would you consider the attached
patch for the 2.1.6 release, then?  I suppose this wouldn't be a problem
for the desktop environments starting gpg-agent on session start, but it
might be safer to do that for terminal users.

Daiki Ueno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-agent-Unset-INSIDE_EMACS-on-gpg-agent-startup.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
URL: </pipermail/attachments/20150701/b2197169/attachment-0001.bin>

More information about the Gnupg-devel mailing list