bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#53949: Setting (font-lock-mode 0) in very large buffers will cause h


From: Lars Ingebrigtsen
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 09:35:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Dongli Si <kgdboc@gmail.com> writes:

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

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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