On 2017-04-22 12:41:36 -0500, Derek Martin wrote: > On Tue, Apr 18, 2017 at 12:27:32PM -0700, Brendan Cully wrote: > > changeset: 7013:33995363e723 > > user: Kevin McCarthy <ke...@8t8.us> > > date: Tue Apr 18 12:25:17 2017 -0700 > > link: http://dev.mutt.org/hg/mutt/rev/33995363e723 > > > > Fix GPG_TTY to be added to envlist. (closes #3931) > > > > Changeset 37209157e33c converted filters to use the envlist. > > Unfortunately, I missed that pgp.c sets GPG_TTY when using the GnuPG > > agent. Convert to add GPG_TTY to the envlist too. > > So wait, what? Mutt is now filtering out environment variables when > it spawns MIME handlers, filters, etc.? That seems pretty broken.
This is not what Kevin said. A setenv() *in Mutt* is not sufficient to export the variable to child processes. The envlist needs to be updated too. See: https://dev.mutt.org/trac/ticket/3922 -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)