From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64872 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Patch to change mouse binding for html view in gnus Date: Wed, 04 Jul 2007 08:18:35 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183504736 7464 80.91.229.12 (3 Jul 2007 23:18:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 23:18:56 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 04 01:18:54 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5rdy-0005yc-Js for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 01:18:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5rdy-0003s6-0u for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 19:18:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5rdu-0003s1-7G for emacs-devel@gnu.org; Tue, 03 Jul 2007 19:18:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5rdt-0003rl-Oe for emacs-devel@gnu.org; Tue, 03 Jul 2007 19:18:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5rdt-0003ri-J2 for emacs-devel@gnu.org; Tue, 03 Jul 2007 19:18:45 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5rdt-0002OD-8S for emacs-devel@gnu.org; Tue, 03 Jul 2007 19:18:45 -0400 Original-Received: from [66.225.201.151] (port=57227 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1I5rdn-0008Ez-Nb; Tue, 03 Jul 2007 18:18:40 -0500 X-Hashcash: 1:20:070703:tromey@redhat.com::VaHYySiOAessE3Ue:000000000000000000000000000000000000000000001vE1 X-Hashcash: 1:20:070703:ding@gnus.org::tK54yKOPA6cZk2g+:00000Mgo X-Hashcash: 1:20:070703:emacs-devel@gnu.org::h5sNt/dCmxZylro3:0000000000000000000000000000000000000000000SOI X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:rYNnjyAJImNsuJMAxq4o8+0idC4= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74258 gmane.emacs.gnus.general:64872 Archived-At: >>>>> In 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... ;-)