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 21:21:40 +0200 Message-ID: <83zgp5mxx7.fsf@gnu.org> 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="38387"; 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 20:22:31 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 1mwUQY-0009oG-JD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 20:22:30 +0100 Original-Received: from localhost ([::1]:47540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwUQX-0007mU-6A for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 14:22:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwUQ6-0007jr-4u for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 14:22:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwUQ5-0003kp-Sa for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 14:22:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwUQ5-0000yK-P3 for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 14:22:01 -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 19:22:01 +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.16393369163725 (code B ref 52298); Sun, 12 Dec 2021 19:22:01 +0000 Original-Received: (at 52298) by debbugs.gnu.org; 12 Dec 2021 19:21:56 +0000 Original-Received: from localhost ([127.0.0.1]:53183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwUPz-0000y1-Vn for submit@debbugs.gnu.org; Sun, 12 Dec 2021 14:21:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwUPy-0000xo-1L for 52298@debbugs.gnu.org; Sun, 12 Dec 2021 14:21:54 -0500 Original-Received: from [2001:470:142:3::e] (port=37978 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 1mwUPs-0003js-JB; Sun, 12 Dec 2021 14:21:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=j314M+YjepaQD3mpwMOPhOLw8QCuLz+JEvs1acT+waU=; b=TTjiFfnJMOsigeafPnoO y/5PkmIuEsZ14dZWr6Z0gZL07idIyG+xHH0MIFk58hFcdjO3GuBZh5OPk3dgFTNZmmtus5ivw9AvW oQk90Wl84WyWtKbFtEgcaANnM2MA2Cv/QNMrCK60T8AmgFlCT0CRUg+dS7vRDgOl4lVIPW0v4bLJF Cwa6VOR33Jbz0c/HBbUO9ayZdcB8GLwd+mtWJpNAVMIQN3UX51CBJT6N+BToOdPrryixm7nj9Ohpd CAoM9CMgHhCSfgqeGREbGIsQBShDFYnYcLo0WZicGuw/KmHQYKEqGo1HHx5uGvp9O114uAZsn6rxM QonhWMMpuPklvQ==; Original-Received: from [87.69.77.57] (port=1823 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 1mwUPs-0007as-Cy; Sun, 12 Dec 2021 14:21:48 -0500 In-Reply-To: (message from Alan Mackenzie on Sun, 12 Dec 2021 19:05:45 +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:222257 Archived-At: > Date: Sun, 12 Dec 2021 19:05:45 +0000 > Cc: 52298@debbugs.gnu.org > From: Alan Mackenzie > > 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. Maybe just lowering the frequency of the time would be enough. Or running it off an idle timer. E.g., I'm a happy user if jit-stealth, and it never causes me any annoying side effects. So maybe this feature could run similarly? Thanks.