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

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

Re: Displaying html mail


From: Hermann
Subject: Re: Displaying html mail
Date: Tue, 21 Oct 2008 16:02:38 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

On 21.10.2008 at 15:12:07 Charles Sebold <csebold@gmail.com> wrote:

> 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.

I put the lines in my .emacs, but when I hit enter on a link, Gnus
states that it tries to load links in Mozilla. The only exception are
links in RSS-Feeds, where the word "link" appears under the first lines
of the article.
In that case Emacs-w3m starts.
Putting these lines in .gnus does not change anything. So what am I
missing?
Hermann


reply via email to

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