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: follow-link in grep buffer Date: Sat, 26 Feb 2005 23:44:43 +0100 Message-ID: References: <16922.19947.785134.975378@farnswood.snap.net.nz> <16926.51952.150749.303780@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109459069 32074 80.91.229.2 (26 Feb 2005 23:04:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2005 23:04:29 +0000 (UTC) Cc: nickrob@snap.net.nz, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 27 00:04:29 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5Ay6-0000lE-CH for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 00:03:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5BG8-0003Wj-V1 for ged-emacs-devel@m.gmane.org; Sat, 26 Feb 2005 18:22:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5BDf-0002HV-Ml for emacs-devel@gnu.org; Sat, 26 Feb 2005 18:19:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5BDX-0002E0-I8 for emacs-devel@gnu.org; Sat, 26 Feb 2005 18:19:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5BDX-00028V-6S for emacs-devel@gnu.org; Sat, 26 Feb 2005 18:19:23 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5Afw-0004FS-9O; Sat, 26 Feb 2005 17:44:40 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id D376D47FE25; Sat, 26 Feb 2005 23:44:38 +0100 (CET) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Sat, 26 Feb 2005 01:16:15 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33848 David Kastrup writes: > Richard Stallman writes: > >> In order not to confuse people too much, I really would want to >> suggest strongly that we remap double-click to mouse-2 unconditionally >> by default (where a "stronger" mouse-2 binding exists), and also map >> mouse-1 to the same when the special "link" property is present. >> >> I do not see any sense in this proposal. That idea for double-click >> seems completely inconsistent with the overall scheme that we have >> adopted. > > The "overall scheme" that we have adopted historically is that any > hyperlink or action is done with mouse-2. That is perfectly > consistent and nobody has argued that it should be removed, The > problem that we are trying to address here is that I looked at grep and gnus group buffers which have been presented as examples of the problems with the follow-link property. In both cases, the follow-link property is set to "mouse-face" meaning that only areas which have the mouse-face property in those buffers will map mouse-1 to mouse-2. In gnus group buffer, the mouse-face is put on the group name only, so it is easy to set point on a group line without entering that group. In grep buffers, it seems that (almost) full lines are highlighted with the mouse-face -- so practically the whole buffer is "mouse-1" aware. As I suggested earlier, one simple solution would be to only put mouse-face on the file:line: part, but this was rejected by some of you (who wants to have his cake and eat it too :-) To me it would be hard to explain to novice users why following a mouse-face highlighted link in an info or help buffer is "opened" with a single click, but a similarly highlighted group name in a gnus buffer need a double click... > Since mouse-1 is rather > commonly used for setting point in Emacs, having large areas behave > like that in Emacs does not seem appropriate, If those large areas have mouse-face, it seems appropriate to me. At least it could be a different mouse-face if they require a double click. -- Kim F. Storm http://www.cua.dk