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#52298: 29.0.50; Frequent redisplay cycles induced by c-type-finder-timer-func timer in CC Mode Date: Sun, 19 Dec 2021 14:38:14 +0000 Message-ID: References: <838rwss37v.fsf@gnu.org> <83tuffr2qd.fsf@gnu.org> <83zgp7p2x1.fsf@gnu.org> <83v8zvovcw.fsf@gnu.org> <837dcap4jt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39456"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52298-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 19 15:39:20 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 1myxLL-000A7A-AG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 15:39:19 +0100 Original-Received: from localhost ([::1]:50458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myxLJ-0001xS-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 09:39:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myxL4-0001uA-KV for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 09:39:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myxL4-0000wS-Bw for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 09:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myxL4-0008D4-7w for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 09:39:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Dec 2021 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52298 X-GNU-PR-Package: emacs Mail-Followup-To: 52298@debbugs.gnu.org, acm@muc.de, eliz@gnu.org Original-Received: via spool by 52298-done@debbugs.gnu.org id=D52298.163992470431501 (code D ref 52298); Sun, 19 Dec 2021 14:39:01 +0000 Original-Received: (at 52298-done) by debbugs.gnu.org; 19 Dec 2021 14:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:45333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myxKR-0008C1-Nq for submit@debbugs.gnu.org; Sun, 19 Dec 2021 09:38:23 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:48978 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1myxKP-0008Bk-9q for 52298-done@debbugs.gnu.org; Sun, 19 Dec 2021 09:38:21 -0500 Original-Received: (qmail 81694 invoked by uid 3782); 19 Dec 2021 14:38:14 -0000 Original-Received: from acm.muc.de (p2e5d58c9.dip0.t-ipconnect.de [46.93.88.201]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 19 Dec 2021 15:38:14 +0100 Original-Received: (qmail 16556 invoked by uid 1000); 19 Dec 2021 14:38:14 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) 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:222693 Archived-At: Hello, Eli. On Sun, Dec 12, 2021 at 19:05:45 +0000, Alan Mackenzie wrote: > On Sun, Dec 12, 2021 at 11:15:34 +0200, Eli Zaretskii wrote: [ .... ] > > (Sorry, but I like CC Mode less and less with every Emacs release, due > > to changes like this one.) > This particular feature simply hasn't worked out well. If the > background scanning were to complete in a few seconds, it wouldn't be > too bad. But nearly two minutes on a modern (well, 4½ yo) machine for > just one buffer, with the annoyance of the "stuttering", is not worth > the gain. > What we have is effectively the entire buffer getting half-fontified in > the background. That's not what JIT fontification is supposed to be > about. > So, in the next few days sometime, I will revert most of this change. A > useful and harmless piece of it (fontifying a newly found type > throughout the buffer when it is encountered in "normal" jit > fontification), I plan to leave in. That will get rid of that timer and > all the background scanning it triggered. I've removed this feature as promised last Sunday, and I'm sure the problem with the "stuttering" is now gone. So I'm closing the bug with this post. -- Alan Mackenzie (Nuremberg, Germany).