unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dongli Si <kgdboc@gmail.com>
Cc: 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 09:35:28 +0100	[thread overview]
Message-ID: <87r18832jz.fsf@gnus.org> (raw)
In-Reply-To: <CAKMa_h8aexdmEGAPCG5Lp7eh3fMJXJ8WvYu3ogxyMazuRG=0OQ@mail.gmail.com> (Dongli Si's message of "Sat, 12 Feb 2022 14:38:04 +0800")

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	other threads:[~2022-02-12  8:35 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 [this message]
2022-02-12 17:01   ` Juri Linkov

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=87r18832jz.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=53949@debbugs.gnu.org \
    --cc=kgdboc@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).