On Thursday, May 18, 2023 at 19:53:50 -0400, José María Mateos wrote:

2. If I'm not convinced by that version, press some key and
then text/html is displayed inline (using w3m, lynx, links, or
whatever in the ~/.mailcap file).

I use this macro:

macro pager ~ '<enter-command>unalternative_order *<ENTER><enter-command>alternative_order 
text/html text/enriched text/plain<ENTER><exit><display-message>'

to switch to HTML and this:

macro pager '`' '<enter-command>unalternative_order *<ENTER><enter-command>alternative_order 
text/plain text/enriched text/html<ENTER><exit><display-message>'

to switch to text.

3. If that's still not good enough, use a macro I already have
to run mutt_bgrun and display that mail using Firefox directly.

I use this:

macro pager,index,attach M '<enter-command>set 
pipe_decode=no<ENTER><pipe-message>viewhtmlmsg<ENTER><enter-command>set pipe_decode=yes<ENTER>' 
"view message in graphical browser"

using https://github.com/lilydjwg/viewhtmlmsg

HTH,
Mihai

Reply via email to