[PATCH] emacs: use new show --decrypt=stash feature in emacs UI
Jameson Graef Rollins
jrollins at finestructure.net
Wed Jun 13 11:15:20 PDT 2018
On Wed, Jun 13 2018, Daniel Kahn Gillmor <dkg at fifthhorseman.net> 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.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20180613/5a4ff2d4/attachment.sig>
More information about the notmuch
mailing list