]> git.notmuchmail.org Git - notmuch/commit
notmuch show: Include output for the enclosing multipart part of a MIME mail
authorCarl Worth <cworth@cworth.org>
Tue, 17 May 2011 05:28:36 +0000 (22:28 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 17 May 2011 21:51:06 +0000 (14:51 -0700)
commitc51d5b3cdb5ca0816816e88ca6f7136a24e74eee
treebe75427f07bc5c6b16a8467bf3ed6c47ccfc15c3
parentd67f75549785117a8e0c3bc4f0bd71352a29974c
notmuch show: Include output for the enclosing multipart part of a MIME mail

Previously, the outer multipart part of any multipart/mixed,
multipart/signed, etc. MIME message was silently omitted from the
"notmuch show" output. This prevented any client from correctly
determining to which parts a signature applies, for example.

Now, we actually emit these parts as their own parts. The output is
still flattened---the contained parts are not yet included "within"
the multipart part---so it's still not possible to determine to which
parts a signature applies, but this is one step along the path.

The test suite is updated to reflect this change, (though we'll
eventually want to fix the emacs interface to not display buttons for
the multipart enclosure parts as there's nothing useful for the user
to actually do with them).
notmuch-show.c
show-message.c
test/emacs.expected-output/notmuch-show-thread-maildir-storage
test/multipart