GNU bug report logs - #55002
27.1; Abnormal behaviour in C mode

Previous Next

Package: emacs;

Reported by: bill <at> billp.org

Date: Mon, 18 Apr 2022 14:20:02 UTC

Severity: normal

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Grégory Mounié <Gregory.Mounie <at> imag.fr>
Cc: 55002 <at> debbugs.gnu.org
Subject: bug#55002: 27.1; Abnormal behaviour in C mode
Date: Tue, 19 Apr 2022 13:52:00 +0200
Grégory Mounié <Gregory.Mounie <at> imag.fr> 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




This bug report was last modified 3 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.