GNU bug report logs - #5786
new cc-mode <>-matching barfs in complex case

Previous Next

Packages: cc-mode, emacs;

Reported by: Daniel Colascione <daniel <at> censorshipresearch.org>

Date: Fri, 26 Mar 2010 23:55:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 5786 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Daniel Colascione <daniel <at> censorshipresearch.org>
Cc: 5786 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>
Subject: Re: new cc-mode <>-matching barfs in complex case
Date: Sat, 03 Apr 2010 18:59:22 -0400
> Note: Although the trace below is from Emacs 22, I'm using cc-mode from
> HEAD. It doesn't affect the bug.
>
> cc-mode seems to barf in certain cases on files with lots of template
> brackets. I can't quite figure out what's wrong with it: the testcase
> below is about as small as I could make it.
>
> To reproduce: load the following file in c++-mode, position point at
> line 3, column 6 (just after the "/*"), and press space. It's
> important not to scroll around the buffer first. You'll see a
> backtrace

I can't reproduce the bug using emacs-23 branch (nor with the 23.1.95
pretest), starting from `emacs -Q'.

Daniel, could you please check if a 23.1.95 build from
ftp://alpha.gnu.org/gnu/emacs/pretest/ has this problem?

If so, please provide an even more exact recipe, sending the test file
as an attachement and providing precise steps starting from `emacs -Q'.




This bug report was last modified 9 years and 151 days ago.

Previous Next


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