all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Dongli Si <kgdboc@gmail.com>, 53949@debbugs.gnu.org
Subject: bug#53949: Setting (font-lock-mode 0) in very large buffers will cause highlight-symbol-at-point to fail to highlight all matches
Date: Sat, 12 Feb 2022 19:01:42 +0200	[thread overview]
Message-ID: <8635ko3uud.fsf@mail.linkov.net> (raw)
In-Reply-To: <87r18832jz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 12 Feb 2022 09:35:28 +0100")

>> emacs version is 27.2 (Installed using dnf on fedora 35 system)
>>
>> test file: https://github.com/torvalds/linux/blob/v5.16/kernel/events/core.c
>
> Better test URL:  https://raw.githubusercontent.com/torvalds/linux/v5.16/kernel/events/core.c
>
>> Step1: emacs -Q kernel/events/core.c
>> Step2: eval "(font-lock-mode 0)"
>> Step3: eval "(highlight-regexp "static")"
>>
>> The "static" keyword at the end of the file is not highlighted.
>
> I can reproduce this in Emacs 27.2, but not in Emacs 29, so I guess this
> has been fixed now.

In Emacs 28 the default value of `hi-lock-highlight-range'
was increased from 200000 to 2000000.





      reply	other threads:[~2022-02-12 17:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12  6:38 bug#53949: Setting (font-lock-mode 0) in very large buffers will cause highlight-symbol-at-point to fail to highlight all matches Dongli Si
2022-02-12  8:35 ` Lars Ingebrigtsen
2022-02-12 17:01   ` Juri Linkov [this message]

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

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

  git send-email \
    --in-reply-to=8635ko3uud.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=53949@debbugs.gnu.org \
    --cc=kgdboc@gmail.com \
    --cc=larsi@gnus.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.