From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: finger-pointer curser as default for mouse-face text Date: Sun, 24 Oct 2004 18:31:33 -0400 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 1098657135 29563 80.91.229.6 (24 Oct 2004 22:32:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 22:32:15 +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 Mon Oct 25 00:32:05 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 1CLquD-00012f-00 for ; Mon, 25 Oct 2004 00:32:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLr1p-0006n0-AG for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 18:39:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLr1h-0006mu-3c for emacs-devel@gnu.org; Sun, 24 Oct 2004 18:39:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLr1g-0006mi-Mh for emacs-devel@gnu.org; Sun, 24 Oct 2004 18:39:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLr1g-0006mf-KE for emacs-devel@gnu.org; Sun, 24 Oct 2004 18:39:48 -0400 Original-Received: from [206.47.199.141] (helo=simmts12-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLqti-0001xl-Jc; Sun, 24 Oct 2004 18:31:34 -0400 Original-Received: from empanada.home ([67.71.35.140]) by simmts12-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041024223133.QUVN1580.simmts12-srv.bellnexxia.net@empanada.home>; Sun, 24 Oct 2004 18:31:33 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id E757E338F26; Sun, 24 Oct 2004 18:31:33 -0400 (EDT) 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 (darwin) 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:28863 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28863 > 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. Sounds like a terrible idea to me. Working with X11-over-DSL means that timing is rather unreliable. Same thing with heavy-swapping (as happens when a I do `tla star-merge' :-( ). And even if the timing could be measured accurately, I don't find the "hold the mouse button longer" to be intuitive at all for "move point". I think we're trying to squeeze too much info in those events. I'm quite happy with the distinction between click and drag but I don't think we should go further than that. Stefan PS: David, could you explain exactly what's the problem with Kim's suggested patch and latex-preview? What is the behavior of latex-preview in the case of mouse-1 and in the case of mouse-2? Is mouse-face applied to the actual text or just to the (before|after)-string?