From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: cc-mode fontification feels random Date: Thu, 10 Jun 2021 17:06:31 -0400 Message-ID: References: <83o8cge4lg.fsf@gnu.org> <62e438b5-d27f-1d3c-69c6-11fe29a76d74@dancol.org> <83fsxsdxhu.fsf@gnu.org> <83pmwudgw3.fsf@gnu.org> <83k0n2cjg5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , dancol@dancol.org, rudalics@gmx.at, emacs-devel@gnu.org, rms@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 00:24:08 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lrT5s-0006kf-9o for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 00:24:08 +0200 Original-Received: from localhost ([::1]:57792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrT5q-0001Wy-Jq for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Jun 2021 18:24:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrT5I-0000qY-FJ for emacs-devel@gnu.org; Thu, 10 Jun 2021 18:23:32 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52192) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrT5G-00072P-KM; Thu, 10 Jun 2021 18:23:31 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1DA1C80385; Thu, 10 Jun 2021 18:23:29 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 293BF806F0; Thu, 10 Jun 2021 18:23:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1623363807; bh=riUPor0mwuW5Do3PhEhRLUIrTZznpqdNhjxW876FllU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XSaf75pkQE1tCAn3OvXaQtd/3JakZsMp2ab+oGKgvkwGzCTivyCzZXSm7biwwdocc Q0w5DGwwrNfuVfuDVEWlJPgiwd+3gPMzAW659T/wnrjScgf80248F4UZ666ywSdCu+ lByGt/VrtTGSSwQvlbL9t8j9zC5twt2OEfP7pjEFETrhEaopX0azrhWn2QXyo+PTI/ 04YJbo27nK3Vemh3/6Ex6BWTst8I9gjvRkd/K9k03KdvV8KJw2YHc61mxc9bBkJxPG cUfqkxbkNKlts/Rb1Do/pgnVLKFIQ9EOKw4rz7TTAeumgHp4n00zS19IrOcEhkMvIS vcz2LWFc3uKcw== Original-Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 23D42120A30; Thu, 10 Jun 2021 17:06:32 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Thu, 10 Jun 2021 16:46:11 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270677 Archived-At: > Well, I've fixed around 550 bugs in CC Mode in the last 20 years. > Identifying and reversing a subset of these to revert the performance > would be difficult. Clearly what would work better is to have a clear "test case" where the performance is poor. Then we could investigate what is the cause of this particular problem and see how to fix this (and hopefully other similar) circumstance. Stefan