From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Partly deferred font-locking? Date: Wed, 11 Jan 2023 18:15:19 +0100 Message-ID: <87bkn52dso.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39354"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 11 18:18:28 2023 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 1pFek8-0009cu-MT for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Jan 2023 18:18:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFehB-0005x0-Ux; Wed, 11 Jan 2023 12:15:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFehA-0005wT-Gz for emacs-devel@gnu.org; Wed, 11 Jan 2023 12:15:24 -0500 Original-Received: from mout.web.de ([212.227.15.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFeh8-0007VO-N2 for emacs-devel@gnu.org; Wed, 11 Jan 2023 12:15:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1673457320; bh=1mOXwllxd4eK+yFyS2LDNpaon+NbuFNrFyP71PbYKCY=; h=X-UI-Sender-Class:From:To:Subject:Date; b=P8djd55Pa4ZZloljdHqoAYiRy2VFyEmBjOL1SVbC46pv7vJSOZF2sr78dC523bh2Q vXN+VQ+oT8rctLywoF9hZKgdoPmiEPx4JHnJxH9ykuiEfNeKaokP6GD6ckhFMDEAdH k9U74eSuN8xh9cuX5rOFIBxLlsB4JHyVROPoYaIWphDO9dq/Q2u3VapGMBj9LuR2nh whIPC2zY2dV/WP2z24h3vD8ABAO4m4QTHjNDnccTqIBCpk6vGxe2vWEaCxhDO3od4B SC5jg8rbhJTmEaquT1lnkKJwGOF/xX5NXrEH0h6Q86LUEvMnDASfS1P5pQrWbLgqX6 Q5v0XFdcX52/w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.59.210.57]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mft7t-1oa0Lx35Ev-00fwt2; Wed, 11 Jan 2023 18:15:20 +0100 X-Provags-ID: V03:K1:+FnfOdIdgJL31GqvSrWktkEO3rFA+GbJSUZFL03lkreS86CURgm RvzqbqU08zM9Ddj8ZqS3PfBEopFF1JDFgM6UCSTPCvpYhiU8qSYmVZnz7q3+uNc3W0PPaLn aKQgMjq49DKmkRQtBFijz+Gzo/KgyBbdyyxm5wQw9otzCjWIVpkQ53x0Z/9MHv1z10tIJGK EoJTvARbfS8dSbEGdPp9A== UI-OutboundReport: notjunk:1;M01:P0:I/z9QR/rq3A=;bf1w2Ci3PpWqZF3/LAEqN7d2S07 xCciZBChz95yvr3f9QEyAZc1JNZeGCHxI8RF7D11GbSgz5Oo9LX2JRZBMcDJmO6eHWtTP0IRR bn7gSdihgc/AyIsJtQqc1zfz0WDZSRTPWGlHrMwaEgACvD/tuqgBUramGmyShvxh4chNf7jWO R2hKhiE611KVaZ7s+G/S2F3Fig6cKaJ/bJoMRa43ZOqOsjMMHgCQjAtevOyM9I1ogUHswk8+u EeZzVC1WqN8/6GO/s5mkDjee2w+AJDNP3Sr38unbAT1tUUzr4He3OhgJ0F66pPA+v8HUjoxbq xJ/EuoBElHsFAMlKdyyiix9yB173kwysMRaUZ1n9QRUCd9ugWH5zK+dSG0S+ybqoJvw2jl4p/ DrQC6A+SCCRHIUyQSbYCuszkT4b7kjcCjxfKimbqVPnQPWj3iobhBWJ3s01OS4KNHEaUYGMIS MIzDc9/tvbMe0M/dsYvtCyniOW9Vnm5nkAXab6WBlSBRSpcckfe3sHZ6uIpFu0u9lhA0KqNX6 93GrwkrdGWWEHLgjcqppdGRfFa0BiN5mdhDXrGKpiugNQRGsVXQFn3791p7gAtNIbeoZL9v21 OvPk9n4sljb+mzZgWXnirFaKo6dkaoHgVB4FmerN6cdHgTcdMYShpQkO1Cp7sAb1frLgMHihB +M3fGSfJTdGkYjKC6iTxsHNpKE3yP7/sBkvaSFhwm53tOPy+kKvehLC81Buoi6qIhyYVWMIEF G3XVCmnRibpfgB/d9UjILFq3jPEA6MToDw/stdISqiytFy9PFpAJ7Cpboc1NkTMQ6I///l6N Received-SPF: pass client-ip=212.227.15.14; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302349 Archived-At: Hello, Is it somehow possible to defer (only) the more expensive parts of font-lock using a timer? A use case would be the symlink-target checking fontification rules in dired: the need to check the target file properties makes scrolling large dired buffers sluggish. It seems there are only global settings available that also always influence font-locking completely as a whole (`jit-lock-stealth-time', `jit-lock-defer-time'). Are there other ways? Or would it be worth to implement? TIA, Michael.