From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Underlining in compile.el Date: Wed, 29 Jun 2005 13:42:04 +1200 Message-ID: <17089.64620.599304.437766@farnswood.snap.net.nz> References: <17088.28432.470.506291@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 1120010178 30791 80.91.229.2 (29 Jun 2005 01:56:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 01:56:18 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 03:56:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnRo2-0004Cm-7N for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 03:56:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnRvz-0000IY-Ec for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 22:04:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnRuL-00081E-OV for emacs-devel@gnu.org; Tue, 28 Jun 2005 22:02:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnRuA-0007wb-Kt for emacs-devel@gnu.org; Tue, 28 Jun 2005 22:02:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnRuA-0007rt-AA for emacs-devel@gnu.org; Tue, 28 Jun 2005 22:02:22 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnRe4-0007OY-GC; Tue, 28 Jun 2005 21:45:44 -0400 Original-Received: from farnswood.snap.net.nz (p150-tnt1.snap.net.nz [202.124.110.150]) by viper.snap.net.nz (Postfix) with ESMTP id 4227354CBD3; Wed, 29 Jun 2005 13:41:00 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 9B33062A99; Wed, 29 Jun 2005 02:42:05 +0100 (BST) Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.75 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: news.gmane.org gmane.emacs.devel:39842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39842 > My next preference would be to restrict the area where mouse-1 worked > e.g in grep just on file and line number while mouse-2 could still work > over the whole line. I would not know how to do this, but I am > prepared to work on it after the release. > > This is already the case when I try it. Do you see something > different? If so, would you please provide a precise self-contained > test case? emacs -Q cd emacs/lisp M-x grep Run grep (like this): grep -nH -e hello *el The mouse-face and mouse-1 binding lasts until the end of the first match (shown by carets): newcomment.el:279: (insert cs " hello " ce) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I think it should be: newcomment.el:279: (insert cs " hello " ce) ^^^^^^^^^^^^^^^^^ If there is a variable to set this behaviour, then I think the latter should be the default. Nick