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

Re: undo mailcap viewer



On 2003-12-09, Spiro Trikaliotis <trik-news@xxxxxx> wrote:
> Hello Michael,
> 
> On Tue, Dec 09, 2003 at 06:50:10PM +0100, Michael Tatge wrote:
> > * On Tue, Dec 09, 2003 Mike Arrison (arrison@xxxxxxxxxxxxx) muttered:
> > >     I have w3m setup in my mailcap file to autoview html emails.  This
> > >     is all well and good, but sometimes I'd like to see the plaintext of
> > >     the html (usually just for kicks). Could I write a macro to switch
> > >     from using w3m to just paging the plaintext?
> 
> > why don't you just pipe the message to less?
> 
> One reason might be because doing a "|less" results in the preprocessed
> mail going through less, not the raw one, resulting in almost the same
> view as before.

Only if you have "pipe_decode" set, which by default it is not.  If
you haven't changed the default setting, or if you unset it, "|less"
will work just fine.

Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA