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 13:04:14 -0400

To: David Bremner, Jameson Graef Rollins,


From: Daniel Kahn Gillmor

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.

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