* Reading html email with firefox
@ 2005-02-01 13:51 Chris Parsons
2005-02-03 21:04 ` Simon Kellett
0 siblings, 1 reply; 3+ messages in thread
From: Chris Parsons @ 2005-02-01 13:51 UTC (permalink / raw)
Hi there
Something I was thinking of the other day... has anyone ever configured
gnus to read html email with a browser (such as firefox?)
I suppose to do this one would write a function to save the html part
and then boot up FF with the temporary url (maybe inserting a <BASE> tag
if necessary)...
Anyone got any pointers?
Cheers
Chris
--
Chris Parsons
(Email: chrisDOTparsonsDOTorg with an AT instead of the 'a')
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Reading html email with firefox
2005-02-01 13:51 Reading html email with firefox Chris Parsons
@ 2005-02-03 21:04 ` Simon Kellett
2005-02-11 15:17 ` Chris Parsons
0 siblings, 1 reply; 3+ messages in thread
From: Simon Kellett @ 2005-02-03 21:04 UTC (permalink / raw)
Chris Parsons <newspost.p@rsons.org> writes:
> Something I was thinking of the other day... has anyone ever configured
> gnus to read html email with a browser (such as firefox?)
For inline reading I have:
(setq mm-text-html-renderer 'w3m)
(setq mm-inline-text-html-renderer
'mm-inline-text-html-render-with-w3m)
(eval-after-load "mm-decode"
'(progn
(add-to-list 'mm-discouraged-alternatives "text/html")
(add-to-list 'mm-discouraged-alternatives "text/richtext")))
for browsing a link I have:
(setq browse-url-browser-function 'browse-url-mozilla
browse-url-mozilla-program "firefox"
; browse-url-mozilla-arguments '("-a" "firefox")
browse-url-new-window-flag t)
Perhaps some combination will render HTML mail externally ?
--
Simon Kellett, Darmstadt, Germany | http://home.arcor.de/zoxed
Gentoo Linux, Fvwm, Firefox | Xemacs, vm, Gnus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Reading html email with firefox
2005-02-03 21:04 ` Simon Kellett
@ 2005-02-11 15:17 ` Chris Parsons
0 siblings, 0 replies; 3+ messages in thread
From: Chris Parsons @ 2005-02-11 15:17 UTC (permalink / raw)
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')
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-11 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01 13:51 Reading html email with firefox Chris Parsons
2005-02-03 21:04 ` Simon Kellett
2005-02-11 15:17 ` Chris Parsons
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).