GNU bug report logs - #20240
25.0.50; CC Mode broken fontification and commenting

Previous Next

Packages: emacs, cc-mode;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Wed, 1 Apr 2015 10:52:01 UTC

Severity: normal

Tags: fixed

Found in version 25.0.50

Fixed in version 25.1

Done: Mark Oteiza <mvoteiza <at> udel.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 20240 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 20240 <at> debbugs.gnu.org
Cc: Mark Oteiza <mvoteiza <at> udel.edu>
Subject: Re: bug#20240: 25.0.50; CC Mode broken fontification and commenting
Date: 1 Apr 2015 19:21:39 -0000
Hello, Mark.

In article <mailman.3120.1427885528.31049.bug-gnu-emacs <at> gnu.org> you wrote:

>>From emacs -Q:

> 1. C-x C-f foo.c RET
> 2. Insert: { RET }
> 3. Select the first line and M-;

> Only `/* ` is inserted at the beginning of the buffer, which is wrong.

It actually signals an error at that point, which is indeed wrong.

I've just committed a fix to the Emacs repository.  Could you please update
your sources, rebuild, and confirm that the fix works, please.

Thanks for taking the trouble to report this bug.

> 4. Undo: C-/

> The braces remain fontified as comments.

> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
> of 2015-03-31 on logos

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 9 years and 329 days ago.

Previous Next


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