all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4984: c++ parantheses matching vs templates
@ 2009-11-20  5:18 Tudor Achim
  0 siblings, 0 replies; only message in thread
From: Tudor Achim @ 2009-11-20  5:18 UTC (permalink / raw)
  To: bug-gnu-emacs

Hi all,
This bug can be reproduced as follows:

open up a c++ file (or set c++ mode)
type (i < 5),
delete the ),
type >,
delete the >,
type ),

and emacs should display Mismatched parentheses, and have incorrect
indentation for subsequent <TAB>s. This was reproduced on versions

GNU Emacs 22.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.1) of
2008-09-05, modified by Ubuntu
GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-08-16
GNU Emacs 22.1.1 (mac-apple-darwin, Carbon Version 1.6.0) of 2009-10-05

Presumably this involves telling the paren-matcher to reparse, rather
than look at its history which makes it think a template instantiation
is going on. If nobody else has time I can take a look at it this
weekend.

Thanks,
Tudor






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-20  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20  5:18 bug#4984: c++ parantheses matching vs templates Tudor Achim

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.