GNU bug report logs -
#16081
Subject: c++-mode indentation "*wedging*"
Previous Next
Full log
View this message in rfc822 format
Hello, Stefan.
On Mon, Sep 30, 2019 at 15:31:08 +0200, Stefan Kangas wrote:
> Alan Mackenzie <acm <at> muc.de> writes:
> > Craig Steury <craigrsteury <at> yahoo.com> 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).
This bug report was last modified 5 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.