Hi,

* Marco Fioretti [05/11/02 15:26:39 CEST] wrote:
> I am trying to follow the suggestions given some days ago on the list
> about using w3m as the internal mutt pager, so that html email is
> formatted properly, and URLs are clickable.
> If I put:

>       macro pager \cw |w3m\n "Read with w3m"

> inside .muttrc, and then hit C-w when looking at an html message, w3m
> starts inside the mutt window, but gives me the raw HTML source. If I
> press ":" URLs are highligthed and clickable, but reading the message
> is not possible. What am I missing?

You're missing, that you have to tell w3m to assume text/html
input ('-T text/html'). The example given was not use w3m as a
pager for html mails but as a replacement for urlview to more
easily view URLs within a message.

Given that, you'll need to different macros: one calling w3m
without arguments to click URLs in text/plain mails; and
another to call w3m with arguments to make it display
text/html.

Cheers, Rocco.

Reply via email to