From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: mouse-1-click-follows-link Date: Sat, 18 Jun 2005 16:54:03 +0300 Organization: JURTA Message-ID: <8764wb7oue.fsf@jurta.org> References: <42AEC039.10207@gnu.org> <42B05B37.3070404@gnu.org> <877jgtrxct.fsf@jurta.org> <42B2CB41.1000806@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119103918 21195 80.91.229.2 (18 Jun 2005 14:11:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2005 14:11:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 18 16:11:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dje2y-0003h0-0V for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2005 16:11:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dje8n-0003BR-8p for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2005 10:17:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dje7w-00033y-SH for emacs-devel@gnu.org; Sat, 18 Jun 2005 10:16:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dje7o-0002xq-UG for emacs-devel@gnu.org; Sat, 18 Jun 2005 10:16:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dje7o-0002xD-7S for emacs-devel@gnu.org; Sat, 18 Jun 2005 10:16:44 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dje8p-00016K-Ol for emacs-devel@gnu.org; Sat, 18 Jun 2005 10:17:48 -0400 Original-Received: from mail.neti.ee (80-235-36-217-dsl.mus.estpak.ee [80.235.36.217]) by Relayhost2.neti.ee (Postfix) with ESMTP id 006291E03; Sat, 18 Jun 2005 17:15:23 +0300 (EEST) Original-To: bob@rattlesnake.com In-Reply-To: (Robert J. Chassell's message of "Sat, 18 Jun 2005 11:11:52 +0000 (UTC)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:39076 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39076 > ... the highlight extends out past the filename and line number > ... I've seen partial line ... > > Today's GNU Emacs CVS snapshot, Sat, 2005 Jun 18 10:02 UTC > GNU Emacs 22.0.50.25 (i686-pc-linux-gnu, GTK+ Version 2.6.4) > built with `make bootfast' > started with > > emacs/src/emacs -Q -D > > This is a test case. > > Visit the emacs/lisp directory and run grep for 'forward-line' *.el > > On the first line, > [...] > > On the second line, > [...] > > On the third line, > [...] I've fixed three problems in grep.el. The first problem occurred without grep markers and exhibited itself by including the first space or tab of the source line into mouse-over area. The highlighted area was reduced to the separator between line number and the source line. The second problem of highlighting too wide area including the first match was solved by limiting the mouse-over area to file name and line number just like in case of compilation buffers. In the third problem lines on font-lock fontification boundaries were highlighted improperly, because font-lock tried to refontify the previous line where grep markers were already removed. -- Juri Linkov http://www.jurta.org/emacs/