emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse-1-click-follows-link


From: Juri Linkov
Subject: Re: mouse-1-click-follows-link
Date: Sat, 18 Jun 2005 16:54:03 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     ... 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]