From: Alan Mackenzie <acm@muc.de>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: Glenn Morris <rgm@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>,
emacs-devel@gnu.org
Subject: Re: master c4d34d2: CC Mode: Enhance C++ Mode raw strings to multi-line strings for any language
Date: Wed, 18 Aug 2021 20:47:37 +0000 [thread overview]
Message-ID: <YR1x6fvkihPBnDou@ACM> (raw)
In-Reply-To: <YR1dh3h6GV1PjtxS@ACM>
Hello, Basil.
On Wed, Aug 18, 2021 at 19:20:39 +0000, Alan Mackenzie wrote:
> On Wed, Aug 18, 2021 at 17:37:25 +0000, Alan Mackenzie wrote:
> > On Wed, Aug 18, 2021 at 01:02:52 +0100, Basil L. Contovounesios wrote:
> > > Basil L. Contovounesios [2021-08-17 20:37 +0100] wrote:
> [ .... ]
> > > > It's hanged several times for me locally on Debian Testing after
> > > > a bootstrap, FWIW. Haven't yet had time to investigate further.
> > > I'm able to reproduce the hang in the test
> > > electric-layout-plainer-c-mode-use-c-style with:
> > > make TEST_LOAD_EL=no test/electric-tests
> > > The hang seems to be happening in c-beginning-of-macro, from the
> > > second call to c-point-syntax in
> > > electric-layout-for-c-style-du-jour.
> > I can't reproduce the hang with your recipe, either. For what it's
> > worth, I'm running a pure 64-bit AMD-Ryzen Gentoo Gnu/Linux system,
> > with the following Emacs configuration:
> > Configured using: 'configure --with-gif=no --with-tiff=no --with-gpm
> > --with-native-compilation'
> > Configured features:
> > ACL CAIRO DBUS FREETYPE GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
> > LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG
> > SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB
> > > HTH,
> > Maybe I'll try configuring with some of the options you've been using
> > (that you reported in a later post).
> To my above configuration, I added --enable-checking=structs, and with
> that I can reproduce the hang using your recipe above.
> But with TEST_LOAD_EL=yes, the test runs to completion. This suggests
> there is some bug in the compilation of some .el file -
> electric-test.el, perhaps? Are we talking about a .elc or a .eln here?
You say c-beginning-of-macro seems to be hanging. js.el advises
c-beginning-of-macro (along with two other CC Mode functions), and this
may have something to do with it.
At least, if I comment out all the lines in test/lisp/electric-tests.el
with "js" in them (apart from the first occurrence, where one just
comments out "js-mode" from the line), then the hang doesn't happen.
Something to think about.
> > > --
> > > Basil
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2021-08-18 20:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210812190845.13266.82536@vcs0.savannah.gnu.org>
[not found] ` <20210812190847.E372A20997@vcs0.savannah.gnu.org>
2021-08-13 14:20 ` master c4d34d2: CC Mode: Enhance C++ Mode raw strings to multi-line strings for any language Lars Ingebrigtsen
2021-08-13 19:52 ` Alan Mackenzie
2021-08-14 11:53 ` Lars Ingebrigtsen
2021-08-14 14:53 ` Alan Mackenzie
2021-08-14 19:30 ` Lars Ingebrigtsen
2021-08-14 23:24 ` Glenn Morris
2021-08-14 23:31 ` Lars Ingebrigtsen
2021-08-15 6:12 ` Eli Zaretskii
2021-08-15 15:23 ` Alan Mackenzie
2021-08-16 11:29 ` Lars Ingebrigtsen
2021-08-17 19:37 ` Basil L. Contovounesios
2021-08-18 0:02 ` Basil L. Contovounesios
2021-08-18 14:48 ` Lars Ingebrigtsen
2021-08-18 17:07 ` Basil L. Contovounesios
2021-08-18 17:37 ` Alan Mackenzie
2021-08-18 19:20 ` Alan Mackenzie
2021-08-18 20:47 ` Alan Mackenzie [this message]
2021-08-19 0:15 ` Basil L. Contovounesios
2021-08-20 10:48 ` Alan Mackenzie
2021-08-20 21:20 ` Alan Mackenzie
2021-08-20 22:43 ` Basil L. Contovounesios
2021-08-21 9:55 ` Alan Mackenzie
2021-08-21 7:15 ` Eli Zaretskii
2021-08-21 10:00 ` Alan Mackenzie
2021-08-21 10:04 ` Eli Zaretskii
2021-08-19 0:13 ` Basil L. Contovounesios
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=YR1x6fvkihPBnDou@ACM \
--to=acm@muc.de \
--cc=contovob@tcd.ie \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=rgm@gnu.org \
/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).