From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel 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 Message-ID: References: <87czqfrfh1.fsf@gnus.org> <93sfzblie4.fsf@fencepost.gnu.org> <874kbrr4cq.fsf@gnus.org> <87sfz9fx0y.fsf@gnus.org> <87bl5vhng9.fsf@tcd.ie> <87sfz7fwlv.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35011"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Glenn Morris , Lars Ingebrigtsen , emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 18 22:49:52 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGSVU-0008te-GS for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 22:49:52 +0200 Original-Received: from localhost ([::1]:57090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGSVT-0000Au-ET for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 16:49:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGSTO-0003wh-CU for emacs-devel@gnu.org; Wed, 18 Aug 2021 16:47:42 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:57348 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1mGSTM-0000js-CF for emacs-devel@gnu.org; Wed, 18 Aug 2021 16:47:42 -0400 Original-Received: (qmail 56991 invoked by uid 3782); 18 Aug 2021 20:47:37 -0000 Original-Received: from acm.muc.de (p4fe15581.dip0.t-ipconnect.de [79.225.85.129]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 18 Aug 2021 22:47:37 +0200 Original-Received: (qmail 24681 invoked by uid 1000); 18 Aug 2021 20:47:37 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272621 Archived-At: 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).