]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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.


No differences found