I occasionally receive html messages and I would like to see whether text has been formatted or colored by the sender. I can simply navigate to the attachment list and open the text/html MIME type attachment with a web browser; however, for the sake of simplicity, I would prefer for the html to be rendered as formatted text within the pager. To do this, I have enabled html rendering by w3m with the following line in my .muttrc file:
auto_view text/html.
Additionally, I have added to my config file lines such as the following to highlight text that the sender may have designated as important:
color bold brightred default.
I expect that any text that was formatted as bold by the sender will appear as brightred in the pager. However, this formatting is not actually applied. Instead, I see only plaintext preceded by the statement:
[-- Autoview using /usr/bin/w3m -I 'ISO-8859-1' -dump -T text/html ''/tmp/mutt.html'' --].
What am I doing wrong? How do I enable display of html-formatted messages within pager?
muttcolor settings are for the built-in pager only -mutthas no control overw3mcolors. You'll have to find a way to configurew3mto display colors the way you want in addition tomutt. – jw013 Jul 31 '12 at 2:30auto_view text/html), the bold text from an html email is not formattedbrightred(as per my example). Instead, the bold text is flanked by asterisks. What do I need to do to enable coloring for the built-in pager. Thanks. – user001 Jul 31 '12 at 3:15color object foreground backgroundsyntax from §3.9 of themuttdocumentation. I interpretedboldobjects/patterns as being html-defined, but I now suppose these are defined asboldin some other manner (how?). Many thanks. – user001 Jul 31 '12 at 3:34^H, letter) sequence described in section 5.2. – jw013 Jul 31 '12 at 22:11