On 04/11/2012 05:02 PM, Olivier Berger wrote: > So : if I launch emacs (23) from bash running in gnome-terminal in my gnome > (fallback) session, decryption works. > > If I use Alt+F2 to trigger gnome's launcher, and type emacs, then > decryption won't work :-/ > > Both emacses run in X, but they don't have same ancestry, which may > explain why agent connection runs or not ?
Can you try comparing their environments?
Assuming you're using the Linux kernel, if the two emacsen have process
IDs $PID0 and $PID1, then in bash you can do:
diff -u \
<(tr '\0' '\n' < /proc/$PID0/environ | sort) \
<(tr '\0' '\n' < /proc/$PID1/environ | sort) \
hth,
--dkg
signature.asc
Description: OpenPGP digital signature
_______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
