[sup-talk] mutt's auto_view and alternative_order

jeff covey jeff.covey at pobox.com
Thu Jun 14 11:32:09 EDT 2007


something i'm really missing from mutt is the auto_view setting for mime
types.  unfortunately, so many mail user agents send out only html messages,
and they appear in sup as just a single "mime attachment" line.  when you
reply to one of them, you get an empty quote of the sender's message, and
you have to go back, launch the attachment in an external viewer, copy and
paste, put the text in the reply with "> "s, etc.

it would be great if config.yaml let the user specify a list of mime types
which should have their attachments run through the .mailcap-specified
filters with copiousoutput tags, and have the results inserted into the text
of the message.  i think it might be good to keep the "mime attachment" line
as well, so that hitting enter on it would launch an external viewer for the
times you want that.  (mutt's documentation has a thorough section on how
they handle .mailcap; it has some good ideas.)

mutt's alternative_order is also nice.  it lets you say, for example, "if
there's multipart/alternative mail with the same message as text/plain and
text/html, just show me the text/plain version."  this could be handled
nicely by displaying the most-desired version as its full text and the
less-desirable ones as "mime attachment" lines.

thanks,

-- 
jeff covey
http://jeffcovey.net/



More information about the sup-talk mailing list