GNU bug report logs - #53949
Setting (font-lock-mode 0) in very large buffers will cause highlight-symbol-at-point to fail to highlight all matches

Previous Next

Package: emacs;

Reported by: Dongli Si <kgdboc <at> gmail.com>

Date: Sat, 12 Feb 2022 08:25:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Dongli Si <kgdboc <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 14:38:04 +0800
[Message part 1 (text/plain, inline)]
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

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.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 93 days ago.

Previous Next


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