From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: mouse-1-click-follows-link with t-mouse Date: Mon, 19 Mar 2007 14:22:55 +1200 Message-ID: <17917.62463.641822.65241@kahikatea.snap.net.nz> References: <87mz2tqhhn.fsf@pacem.orebokech.com> <878xeayadw.fsf@pacem.orebokech.com> <87649eaqti.fsf@wigwam.brockman.se> <877itezkg9.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174270999 22312 80.91.229.12 (19 Mar 2007 02:23:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 02:23:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 03:23:10 2007 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 1HT7Wb-0008KU-Ri for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 03:23:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HT7Y2-000785-63 for ged-emacs-devel@m.gmane.org; Sun, 18 Mar 2007 21:24:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HT7Xx-00075g-Ak for emacs-devel@gnu.org; Sun, 18 Mar 2007 22:24:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HT7Xv-00075U-NJ for emacs-devel@gnu.org; Sun, 18 Mar 2007 22:24:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HT7Xv-00075O-Eg for emacs-devel@gnu.org; Sun, 18 Mar 2007 21:24:27 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HT7WV-00048h-PN for emacs-devel@gnu.org; Sun, 18 Mar 2007 22:23:00 -0400 Original-Received: from kahikatea.snap.net.nz (147.60.255.123.dynamic.snap.net.nz [123.255.60.147]) by viper.snap.net.nz (Postfix) with ESMTP id 326603D919F; Mon, 19 Mar 2007 14:22:57 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id A84774F72F; Mon, 19 Mar 2007 14:22:56 +1200 (NZST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.95.6 X-detected-kernel: Linux 2.4-2.6 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:68070 Archived-At: > > I think there is a more fundamental obstruction to using the > > mouse-1-click-follows-link mechanism t-mouse. On graphical displays, > > if you hold down the mouse button for 0.45 seconds (by default), that > > is supposed to set point where you clicked instead of following links. > > In t-mouse-mode, this information is simply unavailable (and, OTOH, > > impossible to extract). > > OTOH, xterm-mouse-mode does follow links on mouse-1 (ignoring the > delay). (Personally, I dislike mouse-1-click-follows-link and turn it > off.) Yes, I think if it works for xterm-mouse-mode, it should be possible to make it work with t-mouse-mode. I see xt-mouse.el has: ;; Cheat `mouse-drag-region' with move event. (list 'mouse-movement click-data) ;; Generate a drag event. (if (symbolp down-where) ... but I don't know why mouse-1-click-follows-link uses mouse-drag-region as the down and click events are generally at the same place. -- Nick http://www.inet.net.nz/~nickrob