Subject: Re: bug#51631: 29.0.50; cc-mode fontification makes CPU at 100%

From: Zhiwei Chen <[email-masked]>
Date: Sun, 07 Nov 2021 09:55:12 +0800

Lars Ingebrigtsen <[email-masked]> writes:

> Zhiwei Chen <[email-masked]> writes:
>
>> emacs -Q, then open the following c++ snippet.
>
> I put the snippet into a file /tmp/snippet.cc, and said:
>
> ./src/emacs -Q /tmp/snippet.cc 
>
> But I was unable to reproduce the problem -- the file displayed as
> normal for me, and Emacs didn't use 100% CPU.
>
> Are there any additional steps necessary to reproduce the problem?

Keeping pressing C-p/C-n will see the noticeable latency. To be
specific, C-p/C-n in the merge function makes Emacs unresponsive.

-- 
Zhiwei Chen