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: Tue, 15 Dec 2020 12:27:45 +0000 Message-ID: References: <878sa7h1a2.fsf@gmail.com> <878sa5twmq.fsf@gmail.com> <87ft4czjri.fsf@gmail.com> <871rfset9x.fsf@gmail.com> <877dpjemun.fsf@gmail.com> 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="30950"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Lars Ingebrigtsen , 25706-done@debbugs.gnu.org To: Ravine Var Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 15 13:28:26 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 1kp9RK-0007wa-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 13:28:26 +0100 Original-Received: from localhost ([::1]:54082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp9RJ-00062e-Cq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 07:28:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp9Qx-00061S-Hw for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 07:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp9Qw-0005wV-94; Tue, 15 Dec 2020 07:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kp9Qw-0002q4-6L; Tue, 15 Dec 2020 07:28:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 15 Dec 2020 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25706 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 25706@debbugs.gnu.org, acm@muc.de, m.sujith@gmail.com Original-Received: via spool by 25706-done@debbugs.gnu.org id=D25706.160803527510892 (code D ref 25706); Tue, 15 Dec 2020 12:28:02 +0000 Original-Received: (at 25706-done) by debbugs.gnu.org; 15 Dec 2020 12:27:55 +0000 Original-Received: from localhost ([127.0.0.1]:55845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp9Qp-0002pc-2S for submit@debbugs.gnu.org; Tue, 15 Dec 2020 07:27:55 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:62131 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1kp9Qn-0002pL-0b for 25706-done@debbugs.gnu.org; Tue, 15 Dec 2020 07:27:53 -0500 Original-Received: (qmail 79664 invoked by uid 3782); 15 Dec 2020 12:27:46 -0000 Original-Received: from acm.muc.de (p4fe15d0d.dip0.t-ipconnect.de [79.225.93.13]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Tue, 15 Dec 2020 13:27:45 +0100 Original-Received: (qmail 8326 invoked by uid 1000); 15 Dec 2020 12:27:45 -0000 Content-Disposition: inline In-Reply-To: <877dpjemun.fsf@gmail.com> 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:196147 Archived-At: Hello, Ravine. On Tue, Dec 15, 2020 at 09:31:01 +0530, Ravine Var wrote: > > So, I propose that these two patches (the big one and the smaller > > one for all the c-forward-syntactic-ws's) are sufficient to fix the > > bug, and I propose closing it now. What do you say to that? > Works for me. Thanks for the patches. :-) Thank you for all the testing! I've committed the changes to everywhere relevant, and I'm closing the bug with this post. > > I have looked at the other problem you mention (slow scrolling > > through the machine-generated function proto_register_rrc in the > > wireshark file packet-rrc.c) and have made significant progress > > towards implementing a cache for the CC Mode function > > c-looking-at-or-maybe-in-bracelist, which should eliminate the long > > delays. Have you raised a new bug for this problem, yet? > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45248 Thank you for this new bug report. I'll carry on trying to fix it. -- Alan Mackenzie (Nuremberg, Germany).