From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] mouse-1 click follows link Date: Sun, 31 Oct 2004 00:04:07 +0200 Message-ID: References: <200410292354.i9TNsCq01994@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099173873 4863 80.91.229.6 (30 Oct 2004 22:04:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2004 22:04:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 00:04:24 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 1CO1Ki-0002Uk-00 for ; Sun, 31 Oct 2004 00:04:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CO1Sd-0002Dz-K3 for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2004 18:12:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CO1SX-0002Du-5B for emacs-devel@gnu.org; Sat, 30 Oct 2004 18:12:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CO1SW-0002Di-MS for emacs-devel@gnu.org; Sat, 30 Oct 2004 18:12:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CO1SW-0002Df-Hy for emacs-devel@gnu.org; Sat, 30 Oct 2004 18:12:28 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CO1KI-0001WC-C9 for emacs-devel@gnu.org; Sat, 30 Oct 2004 18:03:58 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 02EB4262814; Sun, 31 Oct 2004 00:03:56 +0200 (CEST) Original-To: Luc Teirlinck In-Reply-To: <200410292354.i9TNsCq01994@raven.dms.auburn.edu> (Luc Teirlinck's message of "Fri, 29 Oct 2004 18:54:12 -0500 (CDT)") 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: , 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: main.gmane.org gmane.emacs.devel:29195 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29195 Luc Teirlinck writes: > Kim Storm wrote: > > Here is the full patch (without doc updates) for the proposed > mouse-1-click-follows-link functionality, including rewriting of > tooltips and making C-h k aware of the remapping. > > I do not have the time to read your patch in detail. I hope that I am > wrong, but at first view it looks as if you do: > > (setcar event 'mouse-2) > > whenever the user clicked mouse-1 and the text has the mouse-face > property and does not have the new dont-follow-link property. Exactly. > Hopefully I am misunderstanding this, as it would obviously be > disastrous, even for an optional feature. Can you elaborate on this? > > Having the mouse-face property does _not at all_ imply that the text > is a link. So far we have identified two examples of this in external packages (preview-latex and AUCtex) -- it would be trivial for those to add the dont-follow-link property. > I would rather work with a `link' property if you want to > remap, than with a `dont-follow-link' if not. I think it is better to mark the exceptions, rather than the rule. -- Kim F. Storm http://www.cua.dk