Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Chris Parsons <newspost.p-CL5Vg82fmDzYtjvyW6yDsg@public.gmane.org>
Subject: Re: Reading html email with firefox
Date: Fri, 11 Feb 2005 15:17:26 +0000	[thread overview]
Message-ID: <uhdkj2kjd.fsf@edendevelopment.co.uk> (raw)
In-Reply-To: <m38y652w57.fsf@arcor.de>

On the 3rd of February 2005 at 21:04, Simon Kellett <zoxed_p#arcor.de> wrote:

> Perhaps some combination will render HTML mail externally ?

In the end I went for the following lisp to do it, which saves out the
html and calls browse-url. Renders all but cid links.

(defun chrismdp/save-and-view-in-browser (handle)
	"Save and view in browser"
	(interactive)
	(let ((filename (concat temporary-file-directory "tempgnus.htm")))
		(with-current-buffer gnus-article-buffer
			(mm-save-part-to-file handle filename)
			(browse-url filename))))
(setq mm-text-html-renderer 'chrismdp/save-and-view-in-browser)

-- 
Chris Parsons
(Email: chrisDOTparsonsDOTorg with an AT instead of the 'a')


      reply	other threads:[~2005-02-11 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 13:51 Chris Parsons
2005-02-03 21:04 ` Simon Kellett
2005-02-11 15:17   ` Chris Parsons [this message]

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=uhdkj2kjd.fsf@edendevelopment.co.uk \
    --to=newspost.p-cl5vg82fmdzytjvyw6ydsg@public.gmane.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).