bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5422: syntax highlighting bug


From: Bartosz Lew
Subject: bug#5422: syntax highlighting bug
Date: Tue, 19 Jan 2010 13:21:30 +0100
User-agent: KMail/1.12.2 (Linux/2.6.29.5-191.fc11.i686.PAE; KDE/4.3.2; i686; ; )

Hi,

This is just to report on some minor C++ syntax highlighting problem in emacs.

when I write:

        if (a < b->c())  { do this; } else { do that; }

two two things go wrong:
1) parentheses matching doesn't work correctly 
        emacs matches the closing bracket of the if condition with the "<" - 
"smaller 
than" sign in the if condition.

2) the automatic positioning of any code written below gets confused due to 
this parentheses matching problem.

I use:

 GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.6)
 of 2009-09-29 on x86-7.fedora.phx.redhat.com

Hope this is of any use.
Cheers,
Bart










reply via email to

[Prev in Thread] Current Thread [Next in Thread]