GNU bug report logs -
#4984
c++ parantheses matching vs templates
Previous Next
Reported by: Tudor Achim <t.achim <at> gmail.com>
Date: Fri, 20 Nov 2009 05:25:05 UTC
Severity: normal
Merged with 4847
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
This bug report was last modified 13 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.