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.bugs Subject: bug#52298: 29.0.50; Frequent redisplay cycles induced by c-type-finder-timer-func timer in CC Mode Date: Sun, 12 Dec 2021 11:15:34 +0200 Message-ID: <837dcap4jt.fsf@gnu.org> References: <838rwttsxj.fsf@gnu.org> <838rwss37v.fsf@gnu.org> <83tuffr2qd.fsf@gnu.org> <83zgp7p2x1.fsf@gnu.org> <83v8zvovcw.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10360"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52298@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 12 10:17:21 2021 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 1mwKyv-0002TE-Km for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 10:17:21 +0100 Original-Received: from localhost ([::1]:38234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwKyu-0000bD-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 04:17:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwKyc-0000b1-VY for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 04:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwKyc-0000Dz-NX for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 04:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwKyc-0005ly-EX for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 04:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52298 X-GNU-PR-Package: emacs Original-Received: via spool by 52298-submit@debbugs.gnu.org id=B52298.163930056722125 (code B ref 52298); Sun, 12 Dec 2021 09:17:02 +0000 Original-Received: (at 52298) by debbugs.gnu.org; 12 Dec 2021 09:16:07 +0000 Original-Received: from localhost ([127.0.0.1]:50666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwKxi-0005kn-Ve for submit@debbugs.gnu.org; Sun, 12 Dec 2021 04:16:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwKxg-0005k4-IX for 52298@debbugs.gnu.org; Sun, 12 Dec 2021 04:16:05 -0500 Original-Received: from [2001:470:142:3::e] (port=55024 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwKxK-0008UW-Lj; Sun, 12 Dec 2021 04:15:59 -0500 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=vQob3UaBib1XgDDBbehBsWVQ1Rg9ElGDqzRX36coLzM=; b=D4zvtf1rYcT2 6+yPeOANzashfA5rPuSaCvl9hT2/dYggh1khtzKWJhJxNv7CCTFW6l6l+4qrCRlrNUxiDrCR9460E uKG6pUpgVapvyirNmcNplzXYajzDiPcu3UnKtz3IhMtA//HsF2sZh85NraCT/bWEAwZUbJHuZ+Ivq 63HvVbB9CvBcLwiQgGHvoDJDuTurOMWJs+MRbrR4zMEJDQDKADT76RRkk2Io8MSRSnxjL7vRkJ9nY dM+Hy7aV9izle73YvJCjJfhlFrZvOsc0wzC8v4fS+QhPYpiMmKRBSud/HifRMRcFTUGcZbWwOyCkT 408TwgzpZa0wwSQWVbXDqw==; Original-Received: from [87.69.77.57] (port=3713 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 1mwKxJ-0001vX-Ig; Sun, 12 Dec 2021 04:15:41 -0500 In-Reply-To: (message from Alan Mackenzie on Sun, 12 Dec 2021 08:58:08 +0000) 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:222197 Archived-At: > Date: Sun, 12 Dec 2021 08:58:08 +0000 > Cc: 52298@debbugs.gnu.org, acm@muc.de > From: Alan Mackenzie > > > > So, I suggest I write a commit message and commit that patch. > > > Which patch? I'm afraid I'm missing something here. > > This one, the one that should prevent excessive incursions into the > redisplay engine when a text property gets set whilst > inhibit-modification-hooks is set: No, this cannot be used as-is, because when face properties change, we do want redisplay to take notice, of course. I guess that's why inhibit-modification-hooks doesn't prevent incrementing the modification tick when text properties are changed in the first place: it's not feasible to know which text properties affect the display and which don't. No one expected text properties irrelevant to display to be put on buffer text with such high frequency. If you don't have any other ideas, I guess we will have to live with this. Too bad. (Sorry, but I like CC Mode less and less with every Emacs release, due to changes like this one.)