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#25706: 26.0.50; Slow C file fontification Date: Wed, 9 Dec 2020 20:32:05 +0000 Message-ID: References: <53CC4F6E-716E-4D4B-8903-F32CCB676163@acm.org> <05F2A660-A403-4B81-AE77-416A739160A7@acm.org> <878sa7h1a2.fsf@gmail.com> <83y2i64ugr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, ravine.var@gmail.com, larsi@gnus.org, 25706@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 09 21:33:18 2020 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 1kn69G-0008yl-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 21:33:18 +0100 Original-Received: from localhost ([::1]:49758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn69F-0007CV-4K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 15:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn690-0007AF-K9 for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn690-0005Kx-BV; Wed, 09 Dec 2020 15:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn690-0008Ad-7V; Wed, 09 Dec 2020 15:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 09 Dec 2020 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25706 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 25706-submit@debbugs.gnu.org id=B25706.160754593831354 (code B ref 25706); Wed, 09 Dec 2020 20:33:02 +0000 Original-Received: (at 25706) by debbugs.gnu.org; 9 Dec 2020 20:32:18 +0000 Original-Received: from localhost ([127.0.0.1]:36287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn68I-00089e-6v for submit@debbugs.gnu.org; Wed, 09 Dec 2020 15:32:18 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:43199 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1kn68G-00089Q-5y for 25706@debbugs.gnu.org; Wed, 09 Dec 2020 15:32:17 -0500 Original-Received: (qmail 23433 invoked by uid 3782); 9 Dec 2020 20:32:09 -0000 Original-Received: from acm.muc.de (p4fe15dc2.dip0.t-ipconnect.de [79.225.93.194]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Wed, 09 Dec 2020 21:32:08 +0100 Original-Received: (qmail 12174 invoked by uid 1000); 9 Dec 2020 20:32:05 -0000 Content-Disposition: inline In-Reply-To: <83y2i64ugr.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) 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:195595 Archived-At: Hello, Eli. On Wed, Dec 09, 2020 at 22:04:20 +0200, Eli Zaretskii wrote: > > Date: Wed, 9 Dec 2020 18:46:55 +0000 > > From: Alan Mackenzie > > Cc: Mattias Engdegård , > > Lars Ingebrigtsen , 25706@debbugs.gnu.or > > Move point to a line with a large percentage and type RET to expand > > it. You can repeat this to expand further. Please expand the lines > > down to where the percentages remaining are around 5% or 6%. There > > will be quite a lot of lines near the start showing the same large > > percentage. > One can also expand everything with "C-u RET". Thanks. I didn't know that. I don't think that's in the Elisp manual. Also useful would be a command to expand "everything which is sufficiently big" for some value of "sufficiently big", to avoid swathes of irrelevancies down at 1% or 0%. I once tried to amend the profiler to move its statistics columns further to the right, because I was seeing far too many truncated function names. But I gave up, because the code was masses and masses of tiny functions, largely without doc strings or comments, and I just couldn't make sense of it. -- Alan Mackenzie (Nuremberg, Germany).