From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ravine Var Newsgroups: gmane.emacs.bugs Subject: bug#25706: 26.0.50; Slow C file fontification Date: Tue, 15 Dec 2020 09:31:01 +0530 Message-ID: <877dpjemun.fsf@gmail.com> References: <05F2A660-A403-4B81-AE77-416A739160A7@acm.org> <878sa7h1a2.fsf@gmail.com> <878sa5twmq.fsf@gmail.com> <87ft4czjri.fsf@gmail.com> <871rfset9x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30285"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 28.0.50 Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Lars Ingebrigtsen , 25706@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 15 05:06:11 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 1kp1bH-0007jI-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 05:06:11 +0100 Original-Received: from localhost ([::1]:52442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp1bG-0002DB-Dx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 23:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp1b9-0002Co-AG for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:06:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp1b8-0000Rx-9s; Mon, 14 Dec 2020 23:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kp1b8-0001OK-3a; Mon, 14 Dec 2020 23:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ravine Var Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 15 Dec 2020 04:06: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.16080051065278 (code B ref 25706); Tue, 15 Dec 2020 04:06:02 +0000 Original-Received: (at 25706) by debbugs.gnu.org; 15 Dec 2020 04:05:06 +0000 Original-Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp1aE-0001N4-4X for submit@debbugs.gnu.org; Mon, 14 Dec 2020 23:05:06 -0500 Original-Received: from mail-pj1-f47.google.com ([209.85.216.47]:39092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp1aB-0001MT-EC for 25706@debbugs.gnu.org; Mon, 14 Dec 2020 23:05:04 -0500 Original-Received: by mail-pj1-f47.google.com with SMTP id hk16so8146468pjb.4 for <25706@debbugs.gnu.org>; Mon, 14 Dec 2020 20:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=W6XppW1CiXJojhyP1w3R2G/N6vW4zSzEtnsnvaOzCdE=; b=pu8gmNbqZS+ppxAFblXj3xOVCEUvZBLW+PIm+22NnLQsnqWFASNvcO5R0uK4iB9nyr 9lGdsjXRqIx1U2QncXryvmjBj5frvoe9xs/JVvU5fZKqlFpE9GS7XpBy2YuwxjB5QOby /Q5fkhqRdfIgsnwNsmpmdxMQqiKAwtFGIt4p90BZICotpWv9L3+exoyaeP2nr9+S7qOb kYIF1hOVdH25FDLDM+H7j/ezG1rV/223H+vbpUU3VOnwwNuD2UX4G5AnFzcctq0/ZyWB vGJsAzo0bwi4yqWSjYxBmChGZV7+6sYc0UyrZgubrSv4MeAJc6IqkQGESLhb7s8T3876 EMbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=W6XppW1CiXJojhyP1w3R2G/N6vW4zSzEtnsnvaOzCdE=; b=buTDLAdyc/7qzgvsUxhRtKlDx/T1f31NjEphQNbyDKgkPuDKkRul8HJM1kli6yQIRx Rwxqafj6yOZVcDWu7FyXM3sTsYZ6ty//XWKnQ5VaRMTG8a3TVsbKL/lpf2rpnb33zUXH V1V6t1QrLjnKiNR/W2FaScwqB5uobFZCwH5SVUgKlHRKMpCjyaYgkEYn3H4sVVU74WUT Zw15HmuBFer7WE6jZp5e9hyHfxh3/GwgylwNtrOtCTqTUSwL8v1BnnxdSsoNa/9SEpf/ tn1iS4UPaK48f2QLZ3JeY4Ww6Npl9nVH6H4LBA1MUpiNtrY/7cR6ruCG+0uGcoA2/0Ih 4Oew== X-Gm-Message-State: AOAM532D4zMsRGo1YkTVdCqbwEVwWaYssYj+AiseIPv7ip0L+KqLRcfl xdjeMxLK2/RBxNEWgWAX9aJfwskQdQo= X-Google-Smtp-Source: ABdhPJzDDreb7/rwM3jxFRfrMkwD2caOykLbvn1MwmhgbABoch+DXKjFPnHgS3xw4lJGSHWA76SbTQ== X-Received: by 2002:a17:902:b90c:b029:db:f23d:d684 with SMTP id bf12-20020a170902b90cb02900dbf23dd684mr12476243plb.43.1608005097464; Mon, 14 Dec 2020 20:04:57 -0800 (PST) Original-Received: from ryzen-mach ([2409:4072:e87:49af:4b4a:d2e8:6eaf:82aa]) by smtp.gmail.com with ESMTPSA id gz2sm19964317pjb.2.2020.12.14.20.04.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 20:04:56 -0800 (PST) In-reply-to: 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:196125 Archived-At: > 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. :-) > 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