[PATCH] emacs: use new show --decrypt=stash feature in emacs UI
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Jun 13 08:23:19 PDT 2018
On Tue 2018-06-12 23:07:33 -0700, Jameson Graef Rollins wrote:
> What if notmuch-crypto-process-mime just accepted the same values that
> show --decrypt does, with the same meanings, e.g.:
>
> âââââââââââââââââââââââââââââââââââââââ¬ââââââââ¬âââââââ¬âââââââ¬ââââââââ
> â â false â auto â true â stash â
> âââââââââââââââââââââââââââââââââââââââ¼ââââââââ¼âââââââ¼âââââââ¼ââââââââ¤
> âShow cleartext if session key is â â X â X â X â
> âalready known â â â â â
> âââââââââââââââââââââââââââââââââââââââ¼ââââââââ¼âââââââ¼âââââââ¼ââââââââ¤
> âUse secret keys to show cleartext â â â X â X â
> âââââââââââââââââââââââââââââââââââââââ¼ââââââââ¼âââââââ¼âââââââ¼ââââââââ¤
> âStash any newly recovered session â â â â X â
> âkeys, reindexing message if found â â â â â
> âââââââââââââââââââââââââââââââââââââââ´ââââââââ´âââââââ´âââââââ´ââââââââ
>
> notmuch-crypto-process-mime is really only relevant for show anyway, so
> I think this makes sense.
I agree, i think this makes sense. so these text strings could be
mapped straight through.
in addition to the strings, for the sake of supporting more native
elisp-y style, if notmuch-crypto-process-mime is set to nil it should
probably map to "false", and if it is set to t, it should probably map
to "true".
wdyt?
--dkg
More information about the notmuch
mailing list