Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Rainer@krugs.de (Rainer M. Krug)
Cc: info-gnus-english@gnu.org
Subject: Re: defining external http viewer for GNUS
Date: Tue, 02 Apr 2013 17:14:18 +0200	[thread overview]
Message-ID: <876205yng5.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <87li91m129.fsf@krugs.de> (Rainer M. Krug's message of "Tue, 02 Apr 2013 16:58:38 +0200")

Rainer@krugs.de (Rainer M. Krug) writes:

Hi Rainer,

>> Is this what you are looking for?
>
> Not exactly. I can open the article in an external viewer, but it is
> always the external viewer as defined in emacs. I use
>
> (setq browse-url-browser-function 'browse-url-generic
>       browse-url-generic-program "x-www-browser")
>
> to define my external browser and I only would like to be able to open
> html mails in a different browser (conqueror or dillo) as this will be
> uch faster them chromium which is my normal x-www-browser (and I want
> to keep chromium for normal browsing).

Ok, I see.  I think this should do the trick (untested):

--8<---------------cut here---------------start------------->8---
(add-to-list 'mm-text-html-renderer-alist
	     '(conqueror mm-inline-render-with-file
			 nil "conqueror" file))
(setq mm-text-html-renderer 'conqueror)
--8<---------------cut here---------------end--------------->8---

Then, `K H' should open conqueror with the mail.

Bye,
Tassilo

  reply	other threads:[~2013-04-02 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 11:11 Rainer M. Krug
2013-04-02 13:46 ` Tassilo Horn
2013-04-02 14:58   ` Rainer M. Krug
2013-04-02 15:14     ` Tassilo Horn [this message]
2013-04-02 16:19       ` Rainer M. Krug
2013-04-02 17:32         ` Tassilo Horn
2013-04-03 10:57           ` Rainer M. Krug

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=876205yng5.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=Rainer@krugs.de \
    --cc=info-gnus-english@gnu.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).