On Wed, Jun 26, 2002 at 09:21:59AM -0700, Gary Johnson wrote:
> On Wed, Jun 26, 2002 at 02:17:53PM +0200, Cedric Duval wrote:
> > Pedro Alves wrote:
> > > Hello. Is it possible to configure mutt to automatically lunch the external
> > > viewer defined in mailcap inside the mutt window? For instance, lunch w3m
> > > or lynx when the type is text/html without having to see 
> > > [-- text/html is unsupported (use 'v' to view this part) --])] ?
> > 
> > Sure.
> > 
> > In your muttrc:
> >    auto_view text/html
> >    # for multipart alternatives, text/plain is prefered
> >    alternative_order text/plain text/enriched text/html
> > 
> > And in your mailcap:
> >    text/html; lynx -dump -force-html %s ; copiousoutput
> > 
> > Note the copiousoutput option.
> 
> I don't think that's what Pedro was asking for.  That will convert HTML
> to plain text and display the plain text in mutt's pager.  What I think
> Pedro wanted was to view the HTML content of the message using a browser
> such as w3m, as can be done from the attachment menu, but with the
> browser invoked automatically when the message is opened from the index
> menu.  I don't think mutt currently supports that.
> 
> Gary
> 

although the suggestion Cedric gave is an interesting approach for what I
want, this would be perfect...


-- 
Pedro Miguel G. Alves

THINK - Tecnologias de Informação
Av. Defensores de Chaves nº 15 4ºD, 1000-109 Lisboa Portugal
Tel: +351 21 3590285   Fax: +351 21 3582729
HomePage: www.think.pt

Reply via email to