This is a slightly tweaked version of id:1367672478-12247-1-git-send-email-markwalters1009@gmail.com minus the first two patches which have already been pushed. The second patch of the previous series obsoleted the handler notmuch-show-insert-part-inline-patch-fake-part so we remove that and we update the commit message of the second patch in this series to but otherwise patches 2 and 3 of this are identical to patches 3 and 4 of the previous series. There is one change that inadvertently slipped into the second patch of the previous series: it changed the (fake) name of the fake inline patch parts from inline-patch-fake-part to "inline patch". (I think this was when I was testing whether I could do away with the notmuch-show-insert-part-inline-patch-fake-part handler but I forgot to revert it after). The only place it shows to a user is in the part button title: it will say something like [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline patch (as text/x-diff) ] instead of [ 0001-emacs-show-separate-out-handling-of-application-octe.patch: inline-patch-fake-part (as text/x-diff) ] but perhaps it should be reverted anyway. Sorry for messing that bit up Best wishes Mark Mark Walters (3): emacs: show: fake wash parts are handled at insert-bodypart level emacs: show: move the insertion of the header button to the top level emacs: show: implement lazy hidden part handling emacs/notmuch-show.el | 121 +++++++++++++++++++++++++++++-------------------- 1 files changed, 71 insertions(+), 50 deletions(-) -- 1.7.9.1