From: Alan Mackenzie <acm@muc.de>
To: Stefan Kangas <stefan@marxist.se>
Cc: Yangyingchao <yangyingchao@gmail.com>, 13100@debbugs.gnu.org
Subject: bug#13100: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long
Date: Mon, 30 Sep 2019 18:42:47 +0000 [thread overview]
Message-ID: <20190930184247.GB4761@ACM> (raw)
In-Reply-To: <CADwFkmnFr8GKhEi7uJBkOnKLNzKaoRv8LmD4syQUvXpjvd4LGA@mail.gmail.com>
Hello, Stefan.
On Mon, Sep 30, 2019 at 18:45:54 +0200, Stefan Kangas wrote:
> Yangyingchao <yangyingchao@gmail.com> writes:
> > I'm a c++ programer, and sometimes I need to initialize lots of
> > member fields during in a constructor. Sometimes when the init list
> > is too long, cc mode will treat some member-init-cont as
> > topmost-init-cont, and then gives a wrong indention.
> > After some debuging, I found this change:
> > http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00152.html.
> > In this change, In CASE 5B, search limit is restricted to 500. This,
> > sometimes, is not enough.
> > Best Regards
> > Tubo
> That was almost 7 years ago. Is this still an issue?
No. This was solved in response to another bug report by commit
3d1c39faa4744f87838ecd07fdf01787d5235186
Tue Apr 30 16:19:14 2013 +0000
Handle arbitrarily long C++ member initialisation lists.
Please feel free to close this bug report.
> Best regards,
> Stefan Kangas
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2019-09-30 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 3:31 bug#13100: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long Yangyingchao
2019-09-30 16:45 ` Stefan Kangas
2019-09-30 18:42 ` Alan Mackenzie [this message]
2019-09-30 20:28 ` Stefan Kangas
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=20190930184247.GB4761@ACM \
--to=acm@muc.de \
--cc=13100@debbugs.gnu.org \
--cc=stefan@marxist.se \
--cc=yangyingchao@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).