From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#16081: Subject: c++-mode indentation "*wedging*" Date: Mon, 30 Sep 2019 19:08:59 +0000 Message-ID: <20190930190859.GD4761__16653.0585078121$1569870631$gmane$org@ACM> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="36886"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 16081-done@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 21:10:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iF13x-0009Tt-DQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 21:10:25 +0200 Original-Received: from localhost ([::1]:56224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iF13v-0002ju-QB for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 15:10:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iF13i-0002gm-DA for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 15:10:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iF13g-0006sT-30 for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 15:10:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iF13b-0006rV-6K; Mon, 30 Sep 2019 15:10:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iF13a-0003Hj-UQ; Mon, 30 Sep 2019 15:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 30 Sep 2019 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16081 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 16081-done@debbugs.gnu.org id=D16081.156987054512538 (code D ref 16081); Mon, 30 Sep 2019 19:10:02 +0000 Original-Received: (at 16081-done) by debbugs.gnu.org; 30 Sep 2019 19:09:05 +0000 Original-Received: from localhost ([127.0.0.1]:60513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF12e-0003GA-St for submit@debbugs.gnu.org; Mon, 30 Sep 2019 15:09:05 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34951 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iF12d-0003Fr-1K for 16081-done@debbugs.gnu.org; Mon, 30 Sep 2019 15:09:03 -0400 Original-Received: (qmail 72212 invoked by uid 3782); 30 Sep 2019 19:09:01 -0000 Original-Received: from acm.muc.de (p4FE15E39.dip0.t-ipconnect.de [79.225.94.57]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 30 Sep 2019 21:08:59 +0200 Original-Received: (qmail 4882 invoked by uid 1000); 30 Sep 2019 19:08:59 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:167941 Archived-At: Hello, Stefan. On Mon, Sep 30, 2019 at 15:31:08 +0200, Stefan Kangas wrote: > Alan Mackenzie writes: > > Craig Steury wrote: > >> Hello, this is bug-report is concerned with indentation in > >> c++-mode. The symptoms are after some unspecified amount of time/work > >> indentation becomes "wedged". > [...] > > Unfortunately, the first line of the first entry ("c-parse-state > > inconsistency at L....") has been lost here. Could it be that this > > wasn't the first inconsistency, but the *Messages* buffer has overflowed? > > In this case it can be helpful to set the variable `message-log-max' to t. > > Only the first report of inconsistency is really useful, since it indicates > > the point where an internal cache may have become corrupted. > > To use this debug information, I need the C++ source file. Is there any > > chance you could post this? (Or alternatively, send it to me privately.) > > The debug output suggests this file may be quite small. Also, please > > report explicitly whether or not you were changing the buffer at the time > > the inconsistency was reported, and if so, how. > > There's just one thing I'll ask you to try first: there's a known bug > > triggered by having an open parenthesis/brace/bracket at column 0 inside a > > comment. Would you please check your code for this, and if you find such > > a paren/br/br try removing it to see if the bug then goes away. > > So, quick summary: please check for that open p/b/b in column 0. If not > > found then post (or mail to me) the source file and the very first two > > "inconsistency" reports, together with details on whether the buffer was > > being changed. > More information was requested, but none was given within 6 years, so > I'm closing this bug report. If this is still an issue, please re-open > the bug report. I think it likely this has been fixed, so closing this bug is the right thing to do. There have been no bug reports concerning the pertinent feature (a certain cache in CC Mode) for a long time, now. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany).