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.bugs Subject: bug#56256: Emacs 28.1 gets stuck when typing some C++ code Date: Sat, 2 Jul 2022 16:23:15 +0000 Message-ID: References: <91fcd136-849d-043f-0c9f-bb0f63fe291f@disroot.org> 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="3832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Lars Ingebrigtsen , 56256-done@debbugs.gnu.org To: Iru Cai Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 02 18:24:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o7fv3-0000nS-Oh for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 18:24:29 +0200 Original-Received: from localhost ([::1]:46170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7fv2-0006ep-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 12:24:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7fue-0006dC-B2 for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 12:24:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7fuc-000271-P0 for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 12:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7fuc-0003dm-LJ for bug-gnu-emacs@gnu.org; Sat, 02 Jul 2022 12:24:02 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56256 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 56256@debbugs.gnu.org, acm@muc.de, vimacs@disroot.org Original-Received: via spool by 56256-done@debbugs.gnu.org id=D56256.165677900413942 (code D ref 56256); Sat, 02 Jul 2022 16:24:02 +0000 Original-Received: (at 56256-done) by debbugs.gnu.org; 2 Jul 2022 16:23:24 +0000 Original-Received: from localhost ([127.0.0.1]:42702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7fu0-0003co-9J for submit@debbugs.gnu.org; Sat, 02 Jul 2022 12:23:24 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:47755 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1o7ftz-0003ca-32 for 56256-done@debbugs.gnu.org; Sat, 02 Jul 2022 12:23:23 -0400 Original-Received: (qmail 46395 invoked by uid 3782); 2 Jul 2022 16:23:15 -0000 Original-Received: from acm.muc.de (p4fe15928.dip0.t-ipconnect.de [79.225.89.40]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 02 Jul 2022 18:23:15 +0200 Original-Received: (qmail 23626 invoked by uid 1000); 2 Jul 2022 16:23:15 -0000 Content-Disposition: inline In-Reply-To: <91fcd136-849d-043f-0c9f-bb0f63fe291f@disroot.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235930 Archived-At: Hello, Iru. On Wed, Jun 29, 2022 at 11:03:47 +0800, Iru Cai wrote: > On 2022/6/29 00:28, Alan Mackenzie wrote: > > I think the following patch should fix it. Could you try it out on your > > real C++ code, please, and tell us whether the bug is actually fixed. > > (If you want any help with applying the patch or byte compiling CC Mode > > afterwards, feel free to send me private email.): > Thanks, this fixes this bug, and I haven't found a issue when editing > some of my C++ code. [ .... ] Thanks for the testing! I've committed the patch to the release branch of our git tree, and I'm closing the bug with this post. -- Alan Mackenzie (Nuremberg, Germany).