From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: finger-pointer curser as default for mouse-face text Date: Sun, 24 Oct 2004 15:10:37 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098623470 17951 80.91.229.6 (24 Oct 2004 13:11:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 13:11:10 +0000 (UTC) Cc: rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 15:11:03 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLi9G-0007Wb-00 for ; Sun, 24 Oct 2004 15:11:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLiGr-0004fC-Qh for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 09:18:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLiGh-0004dr-Oj for emacs-devel@gnu.org; Sun, 24 Oct 2004 09:18:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLiGg-0004cM-Mx for emacs-devel@gnu.org; Sun, 24 Oct 2004 09:18:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLiGg-0004cF-9H for emacs-devel@gnu.org; Sun, 24 Oct 2004 09:18:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLi90-000240-J7 for emacs-devel@gnu.org; Sun, 24 Oct 2004 09:10:46 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CLi8c-0002po-0C; Sun, 24 Oct 2004 09:10:22 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Sun, 24 Oct 2004 14:42:03 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28832 storm@cua.dk (Kim F. Storm) writes: > Richard Stallman writes: > >> Maybe it is good enough to be able to drag the mouse into the area >> and then release it and ignore the mark setting that it made. >> >> This is the sort of change for which we need to conduct a poll of the >> users. > > I found a simpler solution which works really well, as it provides the > fallback directly on mouse-1 itself: > > Measure the time between the mouse-1 down event and the up event, and > if it less than 300 ms (configurable), follow the link, else do what > mouse-1 normally does. > > So a "fast" click follows the link, a slightly slower click sets the > point (or whatever mouse-1 does). Dragging the mouse also inhibits > following the link. Actually, for me this is somewhat backward: I use a touchpad, and setting the cursor is naturally done by tapping (which is short), while following a link currently is done by pressing both mouse keys together (which by necessity is longer). Since setting the cursor is usually followed by typing ahead soon, one wants to continue fast (because you continue at the point at which you usually look). Whereas if you follow the link, you are waiting for something to happen. So I'd very much prefer making the long press follow the link, even though a long press is more likely to get interpreted as a drag instead. Perhaps the sign of that variable can be used for specifying whether the long or the short duration means following the link? Positive means longer than given duration, negative means shorter? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum