From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: follow-link in grep buffer Date: Tue, 22 Feb 2005 10:08:59 +1300 Message-ID: <16922.19947.785134.975378@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109020158 24104 80.91.229.2 (21 Feb 2005 21:09:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 21:09:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 21 22:09:18 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3Kni-0007RN-D8 for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2005 22:09:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3L4j-0004ZK-4X for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2005 16:26:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3L3i-0004FA-22 for emacs-devel@gnu.org; Mon, 21 Feb 2005 16:25:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3L3g-0004ED-4D for emacs-devel@gnu.org; Mon, 21 Feb 2005 16:25:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3L3f-0004Dn-OF for emacs-devel@gnu.org; Mon, 21 Feb 2005 16:25:35 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3KpQ-0000s8-9r for emacs-devel@gnu.org; Mon, 21 Feb 2005 16:10:52 -0500 Original-Received: from farnswood.snap.net.nz (p221-tnt1.snap.net.nz [202.124.110.221]) by viper.snap.net.nz (Postfix) with ESMTP id 1273E417B8A for ; Tue, 22 Feb 2005 10:10:47 +1300 (NZDT) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id EEA5C62FBE; Mon, 21 Feb 2005 21:09:00 +0000 (GMT) Original-To: emacs-devel@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.50.2 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:33682 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33682 I realise that applications like web browsers use mouse-1 to follow links, so it is a good idea for Emacs to provide some consistency and it works well with Info pages. However, I am not sure if it is always appropriate as Emacs users understand that mouse-1 just generally moves the cursor, while mouse-2 might jump to another buffer. The grep buffer is an example. If I try to place the cursor anywhere on a line before the end of a match, the associated file pops up in another buffer. However I might just want to select that window to resize it. I could select the window by clicking on the modeline but if I click on the wrong part I get a different buffer. All this functionality must be daunting for the new user, so I suggest the following: 1) Mouse-1 is not used to follow links in the grep or compilation buffers. 2) If it has to be used for this purpose, then it only works where the match occurs (this must be easy to implement as it already has a different face) and the match is also underlined so that it looks like a link. Nick