Subject: bug#55002: 27.1; Abnormal behaviour in C mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 19 Apr 2022 13:52:00 +0200

Grégory Mounié <[email-masked]> writes:

> The culprit seems to be the unterminated string (no ending double
> quote) with a parenthesis in front of it.
>
>  emacs -q dummy.c --eval='(global-font-lock-mode 0)
>
> ===
> // dummy.c
>
> // type anything after this line without global font-lock-mode
>
> // parenthesis + unterminated string seems to be the culprit
> ("unterminated string
> === EOF

I can reproduce this in Emacs 27.2, but not in Emacs 28.1, so it looks
like this has been fixed by now, and you just have to upgrade Emacs.

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