From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51692: 29.0.50; High CPU in c++ mode. Type finder? Date: Fri, 12 Nov 2021 14:06:39 +0200 Message-ID: <838rxtzigg.fsf@gnu.org> References: <874k8hpulf.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, larsi@gnus.org, koppel@ece.lsu.edu, condy0919@gmail.com, 51692@debbugs.gnu.org To: Yuri D'Elia Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 13:10:16 2021 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 1mlVNo-0003wf-Dr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 13:10:16 +0100 Original-Received: from localhost ([::1]:35150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlVNn-0004Ti-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 07:10:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlVLe-0002k5-L9 for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 07:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlVLe-0005rE-DJ for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 07:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlVLe-000480-3q for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 07:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Nov 2021 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo confirmed Original-Received: via spool by 51692-submit@debbugs.gnu.org id=B51692.163671883215796 (code B ref 51692); Fri, 12 Nov 2021 12:08:02 +0000 Original-Received: (at 51692) by debbugs.gnu.org; 12 Nov 2021 12:07:12 +0000 Original-Received: from localhost ([127.0.0.1]:43646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlVKq-00046i-4i for submit@debbugs.gnu.org; Fri, 12 Nov 2021 07:07:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlVKk-00046A-Df for 51692@debbugs.gnu.org; Fri, 12 Nov 2021 07:07:10 -0500 Original-Received: from [2001:470:142:3::e] (port=55582 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlVKc-0005hL-Kl; Fri, 12 Nov 2021 07:06:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dZXpehf98zWRHndnPXHU94IvHnzSYg9Eo/1FJv7keY0=; b=sAi/1U3xmpCf kGisgZ8Y8SEcno1OaP1/c1jxrjwT9F8EZcLQDUPoFWwfsk2/LkEoBdzEDWdm2Nxo6YzSK8mZUwl3u lIahRfZBwiELhad5RHMEOs5KuFE26rNJVRUkEAtu6/gH0hJFMjwQYFeV2rQR2baBeYMkqCIFhNNyM +udSxKimEa0CvSvKkggF68phc/V8r6HvTSy2fd1vLkAJJ/GYwl0oMkotWt78cSXuRXiThnSEFWb3N 8cavSsSKbmQ5yVxCwV5QdgvlSBqk1ji++PhfswGINpcdbB1JdeuP7QvkR3Z3MtC+PagH+QRdKJ8W2 OJ66QPr1kkllUEhB+vzEeg==; Original-Received: from [87.69.77.57] (port=3774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlVKc-0008KU-AX; Fri, 12 Nov 2021 07:06:58 -0500 In-Reply-To: <874k8hpulf.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Fri, 12 Nov 2021 10:47:46 +0100) 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:219764 Archived-At: > From: Yuri D'Elia > Date: Fri, 12 Nov 2021 10:47:46 +0100 > Cc: 51692@debbugs.gnu.org, David Koppelman , > Zhiwei Chen , Lars Ingebrigtsen > > On Thu, Nov 11 2021, Alan Mackenzie wrote: > > Yes, there is a bug here. CC Mode is expected to use a high amount of > > CPU time (but not 100%) for a few seconds after starting C (etc.) Mode, > > or for a few minutes after starting Emacs when there's a desktop with a > > lot of CC Mode files in it. > > > > However, with C++ files (and likely Java files, too), a problem with > > templates caused this 100% usage. > > High-burst is not a problem, however I have a related question. Is it > normal that repeated C-g didn't abort? What do you expect C-g to do when Emacs is in the middle of redisplay?