emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch to change mouse binding for html view in gnus


From: Katsumi Yamaoka
Subject: Re: Patch to change mouse binding for html view in gnus
Date: Wed, 04 Jul 2007 08:18:35 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>>>> In <address@hidden> Tom Tromey wrote:

Katsumi> I don't think it is necessary to set it to a certain value in
Katsumi> Gnus.

> The reason I think this patch is needed is that I've already
> configured Emacs to visit URLs the way I like.  I was surprised to
> find that I had to make another modification, in a different and more
> obscure (w3m-goto-article-function is not customizable) place to get
> the effect I want.

I noticed `w3m-goto-article-function' hasn't been made up as a
user option, so I've made it customizable in the emacs-w3m CVS
trunk yesterday.  Feel free to set it to a Lisp function you
like, but I noticed there is a limitation a bit (because it was
introduced for a particular purpose first).  That is the function
set should return a non-nil value.  Though `browse-url' seems to
return a non-nil value normally, it is better to ensure it.  For
this reason, I recommend using the function form

(lambda (url) (browse-url url) t)

rather than just using `browse-url'.

> If you do all your browsing in Emacs then you probably already have
> browse-url-browser-function set as you like...

I leave all those as the default and have no problem (Firefox
happens to be used by default).  I don't always necessarily use
emacs-w3m.   I use Firefox when purchasing something, manipulating
my bank account... ;-)




reply via email to

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