Re: How to decrypt multipart/encrypted parts in notmuch-emacs

Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs

Date: Wed, 11 Apr 2012 17:09:09 -0400

To: Olivier Berger

Cc: notmuch@notmuchmail.org

From: Daniel Kahn Gillmor


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 (application/pgp-signature)

Thread: