GNU bug report logs - #13461
Subject: 24.2; highlight lines regexp does not highlight all lines

Previous Next

Package: emacs;

Reported by: Dave Franklin <adf007 <at> motorola.com>

Date: Wed, 16 Jan 2013 16:37:03 UTC

Severity: minor

Full log


Message #20 received at 13461 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 13461 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>,
	Dave Franklin <adf007 <at> motorola.com>
Subject: Re: bug#13461: Subject: 24.2;
	highlight lines regexp does not highlight all lines
Date: Thu, 17 Jan 2013 09:36:44 -0500
>>> I position the cursor on the first line in the file.
>>> When I execute the command: M-x highlight-lines-matching-regexp and
>>> select a regexp to use, Emacs only highlights a small fraction of lines
>>> that that match such regexp.
>> Maybe you want to increase hi-lock-highlight-range /
>> hi-lock-file-patterns-range. There may be performance consequences
>> though.
> As one scrolls through the buffer, the limit of highlight range should
> also scroll ahead.  Such a behaviour can eliminate surprises and
> double-checks.

Actually, I think that in the absence of font-lock, hi-lock should use
jit-lock, so we can get rid of hi-lock-highlight-range.


        Stefan "Ideally, we'd never use font-lock for it, but the need
                to share the `face' property makes it a bit tricky"




This bug report was last modified 12 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.