From: Stefan Kangas <stefan@marxist.se>
To: Alan Mackenzie <acm@muc.de>
Cc: 18072@debbugs.gnu.org, "Juhani Åhman" <juhanipm@gmail.com>
Subject: bug#18072: 24.3; cc-mode indentation is broken
Date: Sun, 10 Nov 2019 22:13:00 +0100 [thread overview]
Message-ID: <87y2wnsaeb.fsf@marxist.se> (raw)
In-Reply-To: <20191102122305.50439.qmail@mail.muc.de> (Alan Mackenzie's message of "2 Nov 2019 12:23:05 -0000")
Hi Alan,
Alan Mackenzie <acm@muc.de> writes:
> Is this C++ Mode, by any chance?
I'm not sure which one to use to reproduce it. I'm hoping Juhani will
be able to tell us.
> This looks like having the same cause as bug #37910 "CC Mode 5.33.2
> (C++//l); CC-mode inconsistently indents everything as topmost-intro
> after a while".
>
> I'm pretty sure it's a defect in a particular CC Mode cache (the "state
> cache"), which tracks parentheses, braces, and brackets containing and
> near point. Somehow, it's missing the critical {, believing that
> foo();, etc., are at top level. A C-c C-s on that line would likely
> show "topmost-intro".
Do you think that these two bugs should be merged?
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2019-11-10 21:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-21 19:23 bug#18072: 24.3; cc-mode indentation is broken Juhani Åhman
2019-11-02 10:52 ` Stefan Kangas
[not found] ` <mailman.384.1572692163.13325.bug-gnu-emacs@gnu.org>
2019-11-02 12:23 ` Alan Mackenzie
2019-11-10 21:13 ` Stefan Kangas [this message]
2019-11-10 21:24 ` Juhani Ahman
2019-11-11 20:43 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2wnsaeb.fsf@marxist.se \
--to=stefan@marxist.se \
--cc=18072@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=juhanipm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).