How to decrypt multipart/encrypted parts in notmuch-emacs

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 11 14:09:09 PDT 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120411/6ddadb74/attachment.pgp>


More information about the notmuch mailing list