[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20240: 25.0.50; CC Mode broken fontification and commenting
From: |
Alan Mackenzie |
Subject: |
bug#20240: 25.0.50; CC Mode broken fontification and commenting |
Date: |
1 Apr 2015 19:21:39 -0000 |
User-agent: |
tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/10.1-RELEASE (amd64)) |
Hello, Mark.
In article <mailman.3120.1427885528.31049.bug-gnu-emacs@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).