Gnus development mailing list
 help / color / mirror / Atom feed
From: Emanuel Berg <moasenwood@zoho.eu>
To: ding@gnus.org
Subject: Re: View HTML Mail in Browser
Date: Mon, 08 Feb 2021 12:44:31 +0100	[thread overview]
Message-ID: <87o8guss0w.fsf@zoho.eu> (raw)
In-Reply-To: <874kimn7jj.fsf@ucl.ac.uk>

Eric S Fraga wrote:

>> I would like to open mails using w3m by default, and if
>> I hit K H I would like to open it in the browser:
>
> I use eww for HTML emails; eww has the & key bound to open
> up the current URL in an external browser so easy to pop-up
> Firefox (or whatever) if the HTML results to be too
> complicated for eww.

I do this:

  (setq mm-discouraged-alternatives '("text/html" "text/richtext"))
  (setq mm-text-html-renderer       'w3m)

Here, "w3m" isn't w3m (for that, use `w3m-standalone'), "w3m"
is Emacs-w3m.

Ah, might as well yank the list:

 ‘shr’: use the built-in Gnus HTML renderer;
 ‘gnus-w3m’: use Gnus renderer based on w3m;
 ‘w3m’: use emacs-w3m;
 ‘w3m-standalone’: use plain w3m;
 ‘links’: use links;
 ‘lynx’: use lynx;
 ‘html2text’: use html2text.

Despite being a happy Emacs-w3m user and after spending half
a lifetime configuring [1] it I could never change,
practically speaking but ... why isn't eww in the list?

Also, that order ... is it the recommended pecking order
according to the developers? If not, alpha sort always work:

 ‘gnus-w3m’: use Gnus renderer based on w3m
 ‘html2text’: use html2text
 ‘links’: use links
 ‘lynx’: use lynx
 ‘shr’: use the built-in Gnus HTML renderer
 ‘w3m-standalone’: use plain w3m
 ‘w3m’: use emacs-w3m

[1] https://dataswamp.org/~incal/emacs-init/w3m/

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal



  reply	other threads:[~2021-02-08 11:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-06 13:39 Felix Natter
2021-02-06 14:03 ` Andreas Schwab
2021-02-06 21:33   ` Felix Natter
2021-02-06 21:54     ` Adam Sjøgren
2021-02-07  9:36       ` Felix Natter
2021-02-07 12:50         ` Adam Sjøgren
2021-02-13 11:34           ` Felix Natter
2021-02-13 17:30             ` Adam Sjøgren
2021-02-08 11:05         ` Eric S Fraga
2021-02-08 11:44           ` Emanuel Berg [this message]
2021-02-08 11:58             ` Eric S Fraga
2021-02-08 12:12             ` Andreas Schwab
2021-02-08 15:06               ` Emanuel Berg
2021-02-06 23:19     ` Eric Abrahamsen
2021-05-26 14:08   ` Steinar Bang
2021-02-07 10:23 ` Valtteri Vuorikoski
2021-02-09 22:02   ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8guss0w.fsf@zoho.eu \
    --to=moasenwood@zoho.eu \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).