From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chong Yidong" Newsgroups: gmane.emacs.devel Subject: Re: Mouse Sel mode and mouse-1-click-follows-link Date: Tue, 10 May 2005 11:43:36 -0400 (EDT) Message-ID: <1386.220.255.40.146.1115739816.squirrel@220.255.40.146> References: <1446.220.255.40.146.1115564993.squirrel@220.255.40.146> <200505081655.j48GtwS25966@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1115740017 12433 80.91.229.2 (10 May 2005 15:46:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 15:46:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 10 17:46:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVWvK-00031h-3u for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 17:45:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVX3s-0007IK-OI for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 11:54:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVX0z-00044f-EG for emacs-devel@gnu.org; Tue, 10 May 2005 11:51:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVX0s-00040o-HQ for emacs-devel@gnu.org; Tue, 10 May 2005 11:51:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVX0r-0003qP-Mu for emacs-devel@gnu.org; Tue, 10 May 2005 11:51:13 -0400 Original-Received: from [64.21.80.18] (helo=shark.dnsvelocity.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DVWzr-0006yw-3L for emacs-devel@gnu.org; Tue, 10 May 2005 11:50:11 -0400 Original-Received: from stupidch by shark.dnsvelocity.com with local (Exim 4.50) id 1DVWtU-0005BB-2B for emacs-devel@gnu.org; Tue, 10 May 2005 11:43:36 -0400 Original-Received: from 220.255.40.146 ([220.255.40.146]) (SquirrelMail authenticated user cyd@stupidchicken.com); by www.stupidchicken.com with HTTP; Tue, 10 May 2005 11:43:36 -0400 (EDT) In-Reply-To: <200505081655.j48GtwS25966@raven.dms.auburn.edu> Original-To: emacs-devel@gnu.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shark.dnsvelocity.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [32675 33085] / [47 12] X-AntiAbuse: Sender Address Domain - stupidchicken.com X-Source: /usr/local/cpanel/3rdparty/bin/php X-Source-Args: /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/base/3rdparty/squirrelmail/src/compose.php X-Source-Dir: :/base/3rdparty/squirrelmail/src 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:36948 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36948 > The trouble is, I can't get it to work with *Customize* buffers. > This is probably due to some widget magic that I'm ignorant of. Can > someone help me figure it out? > > That is because Custom implements the mouse-1 behavior in a different > way from mouse-1-click-follows-link. > > I believe that the best solution might be to get rid of the mouse-1 > binding and use the follow-link property to implement the mouse-1 > behavior in Custom, as is done elsewhere. I don't know enough about the widget library to have an opinion on changing it. Come to think of it, does mouse-1 on custom widgets work with mouse-sel-mode in Emacs 21? I suspect that it doesn't, but I can't check right now. If it's never worked, then maybe it's not so important to fix it for the release. The patch I posted does at least adapt mouse-sel-mode to mouse-1-click-follows-link, so Info and Help buffers will work. If someone could review it and check it in, that would be great.