GNU bug report logs - #5422
syntax highlighting bug

Previous Next

Packages: emacs, cc-mode;

Reported by: blew <at> astro.uni.torun.pl

Date: Tue, 19 Jan 2010 13:18:01 UTC

Severity: normal

Tags: moreinfo

Done: Bartosz Lew <blew <at> doktorant.umk.pl>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: blew <at> astro.uni.torun.pl
Subject: bug#5422: closed (Re: bug#5422: syntax highlighting bug)
Date: Mon, 03 Oct 2011 21:30:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#5422: syntax highlighting bug

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5422 <at> debbugs.gnu.org.

-- 
5422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5422
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bartosz Lew <blew <at> doktorant.umk.pl>
To: Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#5422: syntax highlighting bug
Date: Mon, 3 Oct 2011 23:24:29 +0200
Thanks for the email.

Well, I don't see this behaviour now either but now I'm working 
on 
Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4)
of 2011-05-23 on x86-12.phx2.fedoraproject.org
installed on a new computer.

I sent the bug report one laptop ago and that computer has crushed,
so I cannot easily go back to that configuration without system reinstall.

Anyway, everything seems fine with my current version.
Thanks again.
Bartek.

On Monday 03 of October 2011 22:59:17 you wrote:
> Bartosz Lew wrote:
> > 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
> 
> I am unable to reproduce this in any version of Emacs, including 23.1.
> If you still see the problem in the latest release, please send a
> complete example starting from emacs -Q.
> 
> (There seem to have been some fixes in this area, eg
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4847 )

[Message part 3 (message/rfc822, inline)]
From: Bartosz Lew <blew <at> astro.uni.torun.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: syntax highlighting bug
Date: Tue, 19 Jan 2010 13:21:30 +0100
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







This bug report was last modified 13 years and 229 days ago.

Previous Next


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