Re: [PATCH] emacs: use new show --decrypt=stash feature in emacs UI

Subject: Re: [PATCH] emacs: use new show --decrypt=stash feature in emacs UI

Date: Wed, 13 Jun 2018 11:15:20 -0700

To: Daniel Kahn Gillmor, David Bremner,


From: Jameson Graef Rollins

On Wed, Jun 13 2018, Daniel Kahn Gillmor <> wrote:
> On Wed 2018-06-13 13:25:54 -0300, David Bremner wrote:
>> What about using symbols and some kind of case? less efficient but
>> better error checking
> symbols would also make for a more brittle interaction between future
> versions of the notmuch cli and notmuch-emacs, but i agree that the
> error checking would probably be worth it (it's not hard to update the
> list of symbols if a new option gets added to "show --decrypt".
> also, it looks like notmuch-mua-reply reasons about
> notmuch-show-process-crypto to create the --decrypt= arg for "notmuch
> reply".  "notmuch reply" doesn't have --decrypt=stash (and i don't think
> there's any sensible workflow that would warrant puting it there) so
> some reasoning needs to be done there.  symbols would make that a more
> sensible approach.

I'm not sure exactly what you mean by "symbols", but I'm working on
something that will turn notmuch-crypto-process-mime into a choice
custom with constant values.  A separate derived value will be used to
provide the correct bool to notmuch-show-process-crypto.

I'll provide another iteration that we can discuss.

signature.asc (application/pgp-signature)
notmuch mailing list