There are at least 3 bugs present.

1) notmuch-show-insert-part-message/rfc822 assumes that message/rfc822
parts will have a ":content" property, but that turns out not to be
the case.

2) something deep in gnus wants gnus-newsgroup-charset, but that is
defined in gnus-sum, which is not loaded by default.

3) If gnus-sum is loaded, then the display of the message/rfc822 part
succeeds, but the buffer gets put into gnus-article-mode, which means
that, inter alia, notmuch text properties and keybindings get wiped.
 test/ | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/ b/test/
index 9d08d2cc..bf7c1fe0 100755
--- a/test/
+++ b/test/
@@ -219,6 +219,13 @@ test_emacs '(notmuch-show 
 test_expect_equal_file $EXPECTED/notmuch-show-decrypted-message OUTPUT
+test_begin_subtest "show encrypted rfc822 message"
+test_emacs '(notmuch-show 
+            (test-visible-output)'
+fgrep '!!!' OUTPUT > OUTPUT.err
+test_expect_equal_file /dev/null OUTPUT.err
 test_begin_subtest "show undecryptable message"
 test_emacs '(notmuch-show "")
notmuch mailing list --
To unsubscribe send an email to

Reply via email to