From: Alan Mackenzie <acm@muc.de>
To: Stefan Kangas <stefan@marxist.se>
Cc: 18134@debbugs.gnu.org, Sam Varshavchik <sam.varshavchik@gmail.com>
Subject: bug#18134: 24.3; Doxygen comments trigger anomalous C++ major mode behavior
Date: Mon, 7 Oct 2019 18:51:35 +0000 [thread overview]
Message-ID: <20191007185135.GA5606@ACM> (raw)
In-Reply-To: <CADwFkm=6UZKRZ3zaDqiTPD0S52XGvGTrPowugw-3HruLNbti_A@mail.gmail.com>
Hello, Stefan.
On Mon, Oct 07, 2019 at 00:42:46 +0200, Stefan Kangas wrote:
> found 27.0.50
> thanks
> Sam Varshavchik <sam.varshavchik@gmail.com> writes:
> > I am seeing anomalous behavior in C++ major mode that's triggered by
> > long, but not excessively long -- only a few hundred lines -- Doxygen-style
> > comments.
> > Cursor navigation at the end of the Doxygen comment block in the
> > following file (just before the first typedef), and trying to add some
> > additional text there, results in 3-5 seconds' worth of delays for
> > nearly typed character.
> > Highlighting the entire Doxygen comment block: M-x indent-region takes
> > several minutes (!) with emacs consuming 100% CPU.
> [Snipped a long C++ example file here.]
> I can reproduce both issues on current master using the provided example
> file.
> 1. Editing is very slow after the Doxygen comment block.
> 2. Opening the example file under "emacs -Q", pressing C-x h TAB takes
> several minutes and sees the emacs process consume 100 % CPU (on one
> core at least).
I will be looking at this in the coming days. It is likely to take
several (or even many) days to resolve, not hours.
[ .... ]
> Best regards,
> Stefan Kangas
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2019-10-07 18:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 12:47 bug#18134: 24.3; Doxygen comments trigger anomalous C++ major mode behavior Sam Varshavchik
2019-10-06 22:42 ` Stefan Kangas
2019-10-07 18:51 ` Alan Mackenzie [this message]
2019-10-07 19:04 ` Stefan Kangas
2019-10-19 16:13 ` Alan Mackenzie
2019-10-20 13:36 ` Stefan Kangas
2019-10-20 17:04 ` Alan Mackenzie
2019-10-20 23:12 ` Sam Varshavchik
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=20191007185135.GA5606@ACM \
--to=acm@muc.de \
--cc=18134@debbugs.gnu.org \
--cc=sam.varshavchik@gmail.com \
--cc=stefan@marxist.se \
/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).