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

Re: w3m/gnus feature request

>>>>> In [emacs-w3m : No.09491] Tom Tromey wrote:

> I recently started using Emacs 22.  I was pleasantly surprised to find
> that Gnus now displays HTML email using w3m -- nice!

> However, if an HTML message contains a URL, when I click it, it is
> also opened in w3m.  In general I don't want this -- I almost always
> want to use my external web browser.  (However, if I explicitly opened
> w3m myself, I want to continue browsing in Emacs...)

> Is there a way to configure w3m so that, in this situation, clicking
> on a URL uses browes-url instead?

Try this:

(setq w3m-goto-article-function 'browse-url)

You can change the Lisp function `browse-url' into the one you
like.  Or see the documentation of `browse-url' for what it uses
as an external browser.