Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: Current version, Opening HTML mails in browser
Date: Sun, 24 Sep 2017 12:01:34 +0200	[thread overview]
Message-ID: <87r2uw8lfl.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <871smwh880.fsf@bitburger.home.felix>

Felix writes:

>> I use K H (which runs gnus-article-browse-html-article), works fine for
>> me.

> In my configuration, this creates a working HTML:
> Wrote /tmp/mm-3420ojm.html
>
> but it does not trigger the browser.
>
> This is probably because by default, I render HTML inline
> (I need "K H" for viewing HTML with inline images):

Uhm, so do I, but I don't use K H to render inline images.

> (setq mm-text-html-renderer 'w3m

I would recommend trying the built in, default renderer, shr. It's good
and fast.

> Any idea?

This is what I have got configured:

  ; Show images in HTML:
  (setq mm-w3m-safe-url-regexp nil
        mm-inline-text-html-with-images t)

In my custom settings I have:

  '(browse-url-browser-function (quote browse-url-firefox))
  '(browse-url-firefox-new-window-is-tab t)

I'm guessing the first here is what you need.


  Best regards,

    Adam

-- 
 "Language design is being taken over by hackers. The         Adam Sjøgren
  results so far are messy, but encouraging."            asjo@koldfront.dk




  reply	other threads:[~2017-09-24 10:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 19:36 Felix Natter
2017-09-17 19:10 ` Adam Sjøgren
2017-09-24  7:17   ` Felix Natter
2017-09-24 10:01     ` Adam Sjøgren [this message]
2017-09-24 15:21       ` Eric Abrahamsen

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=87r2uw8lfl.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --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).