bug#58883:

Po Lu via CC-Mode-help <[email protected]> Fri, 18 Nov 2022 09:33:58 +0800
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Alan Mackenzie <[email protected]> writes:

> Hello, Po.
>
> On Fri, Nov 11, 2022 at 08:48:12 +0800, Po Lu wrote:
>> Alan Mackenzie <[email protected]> writes:
>
>> > OK, I think I understand the problem now.  I'll try to come up with a way
>> > of "cancelling" these "typo" found-types.
>
>> Thanks a lot!
>
> OK, I have something better than I had a week ago.  Now these "typo"
> found-types should only exist until the typo has been corrected.  Please
> try the attached patch, and let me know how well it works.
>
> The good news is it should fix bug #59300 "CC Mode 5.35.2 (C/*l); Yet
> another kind of incorrect type recognition" at the same time.
>
> [ .... ]

Thanks!  This seems to be working very well.

Unfortunately, there is one small problem: editing inside an identifier
name becomes a little sluggish: if you go down to `x_initialize' (in
xterm.c), type "int", TAB, and hold down "ddddddddddddddddddddddd" on
any line, you will see Emacs slow down to a crawl.

That seems to only be a problem in big files, however.