GNU bug report logs - #4984
c++ parantheses matching vs templates

Previous Next

Packages: emacs, cc-mode;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4984 in the body.
You can then email your comments to 4984 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4984; Package emacs. (Fri, 20 Nov 2009 05:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tudor Achim <t.achim <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 20 Nov 2009 05:25:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tudor Achim <t.achim <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: c++ parantheses matching vs templates
Date: Fri, 20 Nov 2009 00:18:33 -0500
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




bug reassigned from package 'emacs' to 'emacs,cc-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 21 Nov 2009 00:55:07 GMT) Full text and rfc822 format available.

Forcibly Merged 4847 4984. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 03 Oct 2011 19:13:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 01 Nov 2011 11:24:02 GMT) Full text and rfc822 format available.

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

Previous Next


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