GNU bug report logs - #2436
open-paren-in-column-0-is-defun-start and cc-mode

Previous Next

Packages: emacs, cc-mode;

Reported by: Tom Tromey <tromey <at> redhat.com>

Date: Sun, 22 Feb 2009 18:35:04 UTC

Severity: minor

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: bojohan+news <at> dd.chalmers.se (Johan Bockgård)
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#2436: cc mode font-locking -vs- multi-line strings
Date: Fri, 06 Mar 2009 20:31:59 +0100
Tom Tromey <tromey <at> redhat.com> writes:

> Save the attached file as "infcmd.c".  (It comes from GNU gdb.)
> Run emacs -q
> Visit infcmd.c
> Use M-> to go to the end of the buffer.
> Notice that the font-locking is incorrect.
>
> For me, the code at the end of the buffer is fontified as a string,
> whereas it is actually a mix of strings and code.  The badness starts
> at line 2594.

Left Margin Paren strikes again.






This bug report was last modified 11 years and 184 days ago.

Previous Next


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