emacs: Use mailcap.el to guess the type of application/octet-stream parts
authorDavid Edmondson <dme@dme.org>
Tue, 23 Mar 2010 11:54:05 +0000 (11:54 +0000)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 20:14:39 +0000 (13:14 -0700)
commit6c0621962a7990d15da50d38300ad9fd07e97592
tree7bec566e44d41da65a1107bc40fe29f268c4f1ba
parent4488cf30f6f266bbfae2a5cd330422ce8b831484
emacs: Use mailcap.el to guess the type of application/octet-stream parts

Use the mailcap functionality to guess a MIME type for attachments of
type application/octet-stream and, presuming successful, feed the
attachment back into the display code with the determine type.

This is mostly useless at the moment, as the JSON output from notmuch
does not include the content of application/octet-stream parts, so
they cannot be displayed even if the guess is a good one.
emacs/notmuch-show.el