bug#58537: CC Mode 5.35.1 (C/*l); Keywords being fontified as types at random

Po Lu via CC-Mode-help <[email protected]> Wed, 19 Oct 2022 09:03:11 +0800
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Alan Mackenzie <[email protected]> writes:

> Hello, Po.
>
> On Tue, Oct 18, 2022 at 09:04:23 +0800, Po Lu wrote:
>> Alan Mackenzie <[email protected]> writes:
>
> [ .... ]
>
>> > Please try out the following patch (which also includes yesterday's
>> > change).  It also aims to solve the same problem when instead of
>
>> > Does this patch, together with that for bug #58534 also solve #58539, or
>> > is that still giving trouble?
>
>> Could you please send it as an attachment instead?  Thanks.
>
> OK, attached.

Thanks, but now I get:

<stdin>:73: trailing whitespace.
    (cond 
error: patch failed: lisp/progmodes/cc-engine.el:9123
error: lisp/progmodes/cc-engine.el: patch does not apply

> What problems does an inline patch cause?

It gets turned into HTML due to the presence of ":)" in its contents.