[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying html mail
From: |
Charles Sebold |
Subject: |
Re: Displaying html mail |
Date: |
Tue, 21 Oct 2008 08:12:07 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) |
On 21 Oct 2008, Laura Conrad wrote:
> For instance, if a retailer sends me an email saying "click here to
> see images", I'd like to be able to click. At the moment, if the
> article is text, I can see a URL and click it, but if it's html, I see
> only the text and not the URL.
You could try this:
,----[ (info "(gnus)Customizing w3") ]
| File: gnus, Node: Customizing w3, Prev: Web Archive, Up: Browsing the Web
|
| Customizing w3
| --------------
|
| Gnus uses the url library to fetch web pages and Emacs/w3 to display
| web pages. Emacs/w3 is documented in its own manual, but there are some
| things that may be more relevant for Gnus users.
|
| For instance, a common question is how to make Emacs/w3 follow links
| using the `browse-url' functions (which will call some external web
| browser like Netscape). Here's one way:
|
| (eval-after-load "w3"
| '(progn
| (fset 'w3-fetch-orig (symbol-function 'w3-fetch))
| (defun w3-fetch (&optional url target)
| (interactive (list (w3-read-url-with-default)))
| (if (eq major-mode 'gnus-article-mode)
| (browse-url url)
| (w3-fetch-orig url target)))))
|
| Put that in your `.emacs' file, and hitting links in w3-rendered
| HTML in the Gnus article buffers will use `browse-url' to follow the
| link.
|
`----
I don't think it would be hard to do something like that with emacs-w3m
either, and these days w3m is faster and better at rendering HTML.
--
Charles Sebold 21st of October, 2008