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 14:17:20 +0300 Message-ID: <83o7w6ylz3.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> <87wnaudjpj.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57447@debbugs.gnu.org, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 13:18:32 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 1oRtpg-0005lm-8d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 13:18:32 +0200 Original-Received: from localhost ([::1]:36300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRtpe-0004yv-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 07:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRtpC-0004yg-GX for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRtpB-0001KE-WD for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRtpB-0002HT-Ja for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:18:01 -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 11:18:01 +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.16615990318710 (code B ref 57447); Sat, 27 Aug 2022 11:18:01 +0000 Original-Received: (at 57447) by debbugs.gnu.org; 27 Aug 2022 11:17:11 +0000 Original-Received: from localhost ([127.0.0.1]:55339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtoM-0002GP-VQ for submit@debbugs.gnu.org; Sat, 27 Aug 2022 07:17:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtoL-0002GD-KW for 57447@debbugs.gnu.org; Sat, 27 Aug 2022 07:17:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRtoG-0001CS-Ci; Sat, 27 Aug 2022 07:17:04 -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=YXU6OjQah04Zt5VQ+0xNoWz1gXNudjPy5OO1vCCIxoA=; b=MVX01XOuDsEe 0260A9kj7kZNXKGyo6MeDFfE2AYN/k1q6VMjUYu5U7HV7yQKIbheZhPZVNR8MJLsjD3BtQhE9Lji2 POPFwUiW/vCIyKmv0JDA+FLp7iYflS4AqIWx/t/R6l99KwTgzSmXYM6zFvqxg2l+CDh70A62sew8b v7670N2JHOvV9KrV2NcSJD/R47/a6Y1qWvewA4JZHTVO6W66BGQRIehgYEz/qnk9fmTUjEdwssLFn O9btfd5ps2iR9mldlB02XmRbZS8qsPKkzuoHCUIEjF4+UU1/UD8HIxaKBSWh+juYLW4XbBgY/TdgO +oJ0+qPu6d9P21W/X+QG9g==; 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 1oRtoF-0004Jy-S8; Sat, 27 Aug 2022 07:17:04 -0400 In-Reply-To: <87wnaudjpj.fsf@localhost> (message from Ihor Radchenko on Sat, 27 Aug 2022 19:11:52 +0800) 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:240903 Archived-At: > From: Ihor Radchenko > Cc: Stefan Monnier , 57447@debbugs.gnu.org > Date: Sat, 27 Aug 2022 19:11:52 +0800 > > Eli Zaretskii writes: > > >> then it does not always hold: > > > > How did you collect the BEG and END values? FWIW, I don't see > > anything in jit-lock that enlarges the chunk size, except perhaps in > > the stealth-fontification case, which you didn't activate? > > BEG and END in my data are calculated when matching a font-lock-keyword. > BEG is (point) when the keyword function is called and END is the LIMIT. Then I guess the reason for this is in font-lock code, not in jit-lock.el nor in the display engine. I guess extending the region to include whole lines could be the reason?