]> git.notmuchmail.org Git - notmuch/commit - test/T350-crypto.sh
emacs: reply: remove wrong sig/enc status buttons
authorMark Walters <markwalters1009@gmail.com>
Tue, 13 Sep 2016 01:45:58 +0000 (22:45 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 18 Sep 2016 13:57:27 +0000 (10:57 -0300)
commita448879e49fb838a302b4e68d73e63c6b75d9175
treec41599d049122543b2bb97a485167566b276ff03
parent653c5ee2217adf4007bf76d2067948f6c603ae59
emacs: reply: remove wrong sig/enc status buttons

This stops the (usually incorrect) sigstatus and encstatus buttons
appearing when replying in emacs, and updates the test suite to match.

Overriding the status button functions is a little unusual but much
less intrusive than passing an argument all the way down the call
chain. It also makes it clear exactly what it does.

We also hide the application/pgp-encrypted part as it can only contain
"Version: 1". We do this in notmuch show, which means it also happens
when replying.
emacs/notmuch-mua.el
emacs/notmuch-show.el
test/T310-emacs.sh
test/T350-crypto.sh