From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#5786: new cc-mode <>-matching barfs in complex case Date: Sat, 26 Dec 2015 00:04:36 +0100 Message-ID: <874mf6t9iz.fsf@gnus.org> References: <4BAD4941.90304@censorshipresearch.org> <87bpe0ta5x.fsf@stupidchicken.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451084783 10103 80.91.229.3 (25 Dec 2015 23:06:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2015 23:06:23 +0000 (UTC) Cc: 5786@debbugs.gnu.org, Alan Mackenzie , Daniel Colascione To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 00:06:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCbR4-0007OF-CU for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 00:06:10 +0100 Original-Received: from localhost ([::1]:36744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbR3-0005m7-JI for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 18:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbQz-0005jB-Ti for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCbQw-00080J-LH for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 18:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCbQw-00080F-IJ; Fri, 25 Dec 2015 18:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCbQw-0004pY-DI; Fri, 25 Dec 2015 18:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 25 Dec 2015 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5786 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 5786-submit@debbugs.gnu.org id=B5786.145108470418454 (code B ref 5786); Fri, 25 Dec 2015 23:06:02 +0000 Original-Received: (at 5786) by debbugs.gnu.org; 25 Dec 2015 23:05:04 +0000 Original-Received: from localhost ([127.0.0.1]:35906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbQ0-0004nM-C1 for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:04 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:42932) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbPy-0004mS-LI for 5786@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:03 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbPZ-0006EQ-IT; Sat, 26 Dec 2015 00:04:37 +0100 In-Reply-To: <87bpe0ta5x.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 03 Apr 2010 18:59:22 -0400") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aCbPZ-0006EQ-IT MailScanner-NULL-Check: 1451689477.73743@sq3PN0f+BAkKLqIh8bt84Q X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110492 Archived-At: Chong Yidong writes: >> 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'. More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no