unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 13461@debbugs.gnu.org, Dave Franklin <adf007@motorola.com>
Subject: bug#13461: Subject: 24.2; highlight lines regexp does not highlight all lines
Date: Thu, 17 Jan 2013 09:36:44 -0500	[thread overview]
Message-ID: <jwv7gnbdgio.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87libsz4bn.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 17 Jan 2013 12:25:24 +0530")

>>> 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"





  reply	other threads:[~2013-01-17 14:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 16:34 bug#13461: Subject: 24.2; highlight lines regexp does not highlight all lines Dave Franklin
2013-01-16 17:06 ` Glenn Morris
2013-01-16 19:25   ` Dave Franklin
2013-01-17  6:55   ` Jambunathan K
2013-01-17 14:36     ` Stefan Monnier [this message]
2013-01-17  6:57   ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7gnbdgio.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=13461@debbugs.gnu.org \
    --cc=adf007@motorola.com \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).