info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading html email with firefox


From: Chris Parsons
Subject: Re: Reading html email with firefox
Date: Fri, 11 Feb 2005 15:17:26 +0000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]