all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bartosz Lew <blew@astro.uni.torun.pl>
To: bug-gnu-emacs@gnu.org
Subject: bug#5422: syntax highlighting bug
Date: Tue, 19 Jan 2010 13:21:30 +0100	[thread overview]
Message-ID: <201001191321.30279.blew@astro.uni.torun.pl> (raw)

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	other threads:[~2010-01-19 12:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 12:21 Bartosz Lew [this message]
2011-10-03 20:59 ` bug#5422: syntax highlighting bug Glenn Morris
2011-10-03 21:24   ` Bartosz Lew
2011-10-04  5:32   ` Jan Djärv
2011-10-04 13:11     ` Michael Welsh Duggan
2011-10-06 15:38     ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201001191321.30279.blew@astro.uni.torun.pl \
    --to=blew@astro.uni.torun.pl \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.