<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2972: Have auto_view use its own command instead of



#2972: Have auto_view use its own command instead of consulting mailcap

Comment (by Michael Tatge):

 {{{
 * On Sat, Oct 20, 2007 Mutt wrote:
 > #2972: Have auto_view use its own command instead of consulting mailcap
 >  I think it would be a good thing if one could specify a mailcap-style
 >  command definition for a given MIME type, to be used (only) when
 >  auto_view-ing something.

 Isn't that already the case? The mailcap entry that has "copiousoutput"
 is used for auto_view.
 I use this for text/html:

 # used when (v)iewing
 text/html; links -dump-charset ISO-8859-15 '%s'; nametemplate=%s.html;
 needsterminal

 # for autoview
 text/html; lynx -stdin -dump -force_html ; copiousoutput; needsterminal

 Also see the wiki (http://wiki.mutt.org/?MuttFaq/Attachment)

 HTH,

 Michael
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2972#comment:>