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#57447: 28.1.90; Can font-lock stop requesting fontification of invisible text? Date: Sat, 27 Aug 2022 18:25:05 +0300 Message-ID: <83ilmdzp2m.fsf@gnu.org> References: <87fshi6ygu.fsf@localhost> <837d2u184w.fsf@gnu.org> <87bks66sfk.fsf@localhost> <831qt211tw.fsf@gnu.org> <8735diezv3.fsf@localhost> <83r112ymjn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57447@debbugs.gnu.org, yantar92@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 17:25:27 2022 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 1oRxga-0001pX-Ph for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 17:25:25 +0200 Original-Received: from localhost ([::1]:56116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRxgZ-00028b-Aa for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 11:25:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRxgE-00028R-Vr for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRxgE-0004AQ-J9 for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRxgE-0000ga-Af for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57447 X-GNU-PR-Package: emacs Original-Received: via spool by 57447-submit@debbugs.gnu.org id=B57447.16616138962621 (code B ref 57447); Sat, 27 Aug 2022 15:25:02 +0000 Original-Received: (at 57447) by debbugs.gnu.org; 27 Aug 2022 15:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:56809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRxg8-0000gD-33 for submit@debbugs.gnu.org; Sat, 27 Aug 2022 11:24:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRxg6-0000fy-ER for 57447@debbugs.gnu.org; Sat, 27 Aug 2022 11:24:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRxg1-00045x-5P; Sat, 27 Aug 2022 11:24:49 -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=LqPK4RLsmeiDzUK8dZoE5FJ6idYeli/FbG77t9jfywM=; b=VcRKCBxlrJfI ubX7QtWZ7lyGB8hxVv/eo28Fjo4ddGNtu6IwNMgCRSJ04/qlBvmK28KKX0xVPnOErrR+vH4gGjbWO BcISy48y73g9QJy64ICIcyzmHcz7tNx8eeL5/bErOn7WfWIEnEXPAza1v4ZPb1i9zpqVDlWTAQjAh Yug0ao8plNuQuWLGwQFRXgR0Og50uh7tmFApvDOVJ/z1Rneyuxbz37r0SQkAZHQJkjjN68AlVwKuD jG2S7y7Wd8mL4fGgnUGdP2DuzzZrEOaf+GexXW9wSXmFgsC4KevaAZuPoIQDQ1s7ykhRorIht9RIt /crvPw+UNiBEGk2FdWowRg==; Original-Received: from [87.69.77.57] (port=2397 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 1oRxg0-00016h-Le; Sat, 27 Aug 2022 11:24:48 -0400 In-Reply-To: (message from Stefan Monnier on Sat, 27 Aug 2022 11:21:11 -0400) 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:240940 Archived-At: > From: Stefan Monnier > Cc: Ihor Radchenko , 57447@debbugs.gnu.org > Date: Sat, 27 Aug 2022 11:21:11 -0400 > > [ Tho I don't understand how the question relates to the text before > it: reducing the size of a chunk wouldn't reduce the number of times > fontification-functions is called. ] I think the idea is to make it fontify fewer characters. And yes, making the chunks smaller increases the probability that invisible text will be skipped before it is (unnecessarily) fontified. E.g., imagine that you set jit-lock-chunk-size to the value 1.