Re: [PATCH] emacs: process crypto for reply only when specified

Subject: Re: [PATCH] emacs: process crypto for reply only when specified

Date: Mon, 14 Apr 2014 11:42:36 +0300

To: Jameson Graef Rollins, David Bremner, Notmuch Mail

Cc:

From: Tomi Ollila


On Mon, Apr 14 2014, Jameson Graef Rollins <jrollins@finestructure.net> wrote:

> On Sun, Apr 13 2014, Tomi Ollila <tomi.ollila@iki.fi> wrote:
>>> Perhaps people with no ability to sign are less likely to have
>>> "notmuch-crypto-process-mime" set?  Or we can add another configuration
>>> variable initialized from notmuch-crypto-process-mime, but allowing
>>> people to shut this off.
>>
>> Well, I set notmuch-crypto-process-mime to nil -- it still wants to
>> sign the message and runs gpg...
>
> Was my followup patch applied?  My patch controls the insertion of the
> mml tag depending on whether or not notmuch-crypto-process-mime is t or
> not.  If notmuch-crypto-process-mime is nil the tag won't be added.
> Presumably you either did not have that patch applied, or had manually
> set it to t?

For those who don't follow IRC your patch was applied.
>
> In any event, if the mml tag is present, it's no longer in notmuch's
> hands; emacs's mail processing is handling things and calling gpg-agent
> to sign/encrypt the message.
>
> Can you clarify what exactly your situation was?

Exactly that -- the mml tag was present -- so case closed on that issue :D

I did some experiments changing the value of notmuch-crypto-process-mime
before pressing 'r' button: I had to quit from show mode to search mode and
choose the thread and then message to have the change to take effect.

I will keep my notmuch-crypto-process-mime set t (and I keep removing
the mml tags in this system -- and if I forget killing those processes),
as I want to see [ Good signature by key: 0x... ] -messages. Maybe
I^HSomebody, Someday provides a patch that provides separate value to
do just signature checking...


> Presumably people who have not set up any crypto processing should not
> have notmuch-crypto-process-mime set t.
>
> jamie.

Thanks,

Tomi

PS: pkill '(pinentry-curses|gpg)' ++ ;/ -- one step closer to implement that...

Thread: