]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: show: let the user override the mime-type of an attachment
authorMark Walters <markwalters1009@gmail.com>
Mon, 11 Jul 2016 07:49:19 +0000 (08:49 +0100)
committerDavid Bremner <david@tethera.net>
Mon, 12 Sep 2016 11:03:34 +0000 (08:03 -0300)
commitf94921520778ae4005500f5d1b943e2d4ddd3b2a
tree9053b5aef66fa340e22af3a68e35c00af6f0b364
parente954310d70674a439a50cf4c699467567095b057
emacs: show: let the user override the mime-type of an attachment

This allows the user to override the mime-type of a part in the show
buffer. This takes the simple option of displaying the part with the
specified mime-type in its own buffer (in view mode). This avoids
further complicating the part handling code.

Bound to ". m" (i.e., m in the part map). Then the user can either
enter a mime-type (with completion to all mime types that mailcap (and
thus notmuch) knows about, or press return for the default choice of
text/plain.
emacs/notmuch-show.el