* Viktor Rosenfeld on Tuesday, April 12, 2011 at 00:48:22 +0200
> I'm having problems opening text/html MIME attachments in Google Chrome
> (or Safari) on OS X 10.6.  (The same setup [with some different paths]
> works on a 10.5 machine, but I think OS X is not the culprit.)
> 
> I have the following mailcap (excerpt):
> 
>  text/html; ~/unix/bin/view_attachment.sh %s html
>  text/html; lynx -dump %s -display_charset=UTF-8; nametemplate=%s.html; 
> copiousoutput
>  application/MSWORD; ~/unix/bin/view_attachment.sh %s -
> 
> In my muttrc I have:
> 
>  alternative_order text/plain
>  auto_view text/html
> 
> If I view a text/html attachment it is displayed inline using lynx.
> I.e. the first mailcap entry is ignored.  (If I remove the second mailcap
> entry, then I get an error message that no mailcap entry for text/html
> is found.)

Let me guess:

1) you've recently upgraded to a newer mutt version
2) you are typing <return> in the attachment menu to view the
   entry

In case I guessed right: try view-mailcap, bound to "m" by
default.

Look up the story of this change in the archives, it's more or
less, to my layman's understanding, about showing all text/*
types as, well, text ;-)

otoh, I might have guessed wrong ...

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions

Reply via email to