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.devel Subject: Re: CC Mode with font-lock-maximum-decoration 2 Date: Tue, 09 Aug 2022 05:24:02 +0300 Message-ID: <83mtceupbx.fsf@gnu.org> References: <83pmhcvugm.fsf@gnu.org> <83czdbwjfr.fsf@gnu.org> <837d3jvu9f.fsf@gnu.org> <83sfm6veqa.fsf@gnu.org> <83pmhavdim.fsf@gnu.org> <83o7wuva9o.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 09 04:25:34 2022 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 1oLEw2-0001Np-As for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 04:25:34 +0200 Original-Received: from localhost ([::1]:60508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLEw1-0001z3-7k for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 22:25:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLEun-0001AC-UH for emacs-devel@gnu.org; Mon, 08 Aug 2022 22:24:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLEum-0006KV-5M; Mon, 08 Aug 2022 22:24:17 -0400 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=UQM3Lx48d1b+I1KDmLdCSHh7OteAg796mX8oLyrvccQ=; b=N6Ino0mb/g6V UxReIsT1wcg6mKj+LKB5QlcEkPEK8/aHxisTQm65QHexrnQN73AxRvQIpuJoROfslT33I2J+j390i E3vGfZxg1NHuugSNnParUlhBx9JD+xOG4Td2atchGf2N0pAVrFqiqr4tjLrTv/4a12q/Rn48eoKNy 0mSIU0T6ywAIGzS1AqqKVb3tR9P/6JW2uCoKq12r4jIky00rES+mO3tEb+KAAunuNlALWYxUAv0QS 33EuGlVWaRXdKtVAsR3SfyIbciZSuvG5QIrzDb4g6EcE92t7G6DRs4AB73z+iq3UwAD7MCevJX8RS /u1O+EqTLsTHusxUgLZwUQ==; Original-Received: from [87.69.77.57] (port=1199 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 1oLEuk-0004pA-2C; Mon, 08 Aug 2022 22:24:15 -0400 In-Reply-To: (message from Alan Mackenzie on Mon, 8 Aug 2022 19:09:50 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:293286 Archived-At: > Date: Mon, 8 Aug 2022 19:09:50 +0000 > Cc: emacs-devel@gnu.org > From: Alan Mackenzie > > > > We lose accuracy. That is important to a lot of people, including the > > > many who have sent in bug reports because of lack of accuracy. > > > Then what is the importance of these measurements of yours? > > They show that an attempt to speed up CC Mode/2 should be concentrating > on the code which isn't fontification code. Please elaborate on this conclusion, because I don't think I understand how you arrived at it, based on your measurements. With the default value of font-lock-maximum-decoration, the fontifications are also very slow, relatively to other modes.