Hi!

I have this in my ~/.mailcap:

text/html; links %s; needsterminal

And I didn't set auto_view for text/html in Mutt, but when I press Enter
or Space on the text/html part (after (v)iewing the message from index)
it just display the raw HTML.

I've been struggling with Mutt's mailcap handling for a while now, it
seems broken to me. For example, if I have these in .mailcap:

text/html; google-chrome %s; nametemplate=%s.html; test=test -n "$DISPLAY"
text/html; links -force-html %s; needsterminal; nametemplate=%s.html

... this should open the html file in chrome if $DISPLAY is set, and run
links otherwise. No such luck; Mutt just display the raw HTML.

Interesting thing is when I save a multipart message to a file, and open
it with metamail (`metamail something.mail`), then the above mailcap
entries work (except for the filename template, because it won't create
it with the .html extension...).



Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to