From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#57447: 28.1.90; Can font-lock stop requesting fontification of invisible text? Date: Sat, 27 Aug 2022 19:11:52 +0800 Message-ID: <87wnaudjpj.fsf@localhost> References: <87fshi6ygu.fsf@localhost> <837d2u184w.fsf@gnu.org> <87bks66sfk.fsf@localhost> <831qt211tw.fsf@gnu.org> <8735diezv3.fsf@localhost> <83r112ymjn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33365"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57447@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 13:12:33 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 1oRtjt-0008W8-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 13:12:33 +0200 Original-Received: from localhost ([::1]:40436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRtjr-0004HG-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 07:12:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRtjO-0004Gs-A5 for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRtjN-0000a9-Sn for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRtjN-00028Y-LL for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 11:12: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.16615986678154 (code B ref 57447); Sat, 27 Aug 2022 11:12:01 +0000 Original-Received: (at 57447) by debbugs.gnu.org; 27 Aug 2022 11:11:07 +0000 Original-Received: from localhost ([127.0.0.1]:55333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtiL-000270-VE for submit@debbugs.gnu.org; Sat, 27 Aug 2022 07:11:07 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:35448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtiK-00026o-2k for 57447@debbugs.gnu.org; Sat, 27 Aug 2022 07:10:56 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id y1so1876509plb.2 for <57447@debbugs.gnu.org>; Sat, 27 Aug 2022 04:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=20bIlBfJZpz+DWYfAL1PTZU9TYs6ejfiUUKtng97O7M=; b=GuKJYPPo5px+NRN/TITRMMTfzF42bl3JaXbpwcMR1v9L3bJfYb96Ycz8wlRgpXsfv9 lVO+SjRuoIKLcZldNPDMWDtwkwuSv9pdKaaqdv8L6Zu87PtDaKiINdba8GM+FW52Rotq 2b0cqK/Q6CUb1LwL/+gdIyYM1DKi23xdXGvOdqkQ28SSF8Kj87V5xPd2kYi03VmEvbl9 hYuQTI1dpAP75H11MoDP2CiqiVivqZhzQk5Gh9eaKx6XuTKAhSeTbCKajkTLpOEC6MKj vnM9gtgpsVBpjCxHndX7xpfPQv2DKKeUJXeiLCLw/nH6RyPB/yqqC8N+2tmeT7t0U5am iryg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=20bIlBfJZpz+DWYfAL1PTZU9TYs6ejfiUUKtng97O7M=; b=kqn1MccKzaWraE5jv/bBekxdi5dxmUUPaCQ+XjmPT/krGJlA/hUZTjvZTi/Gunj0jw LGBXMw/GgvBLrhPzf6ZbNByRj6ay5tFGtaxgPA04e0a+jVvEbldVB6bos1QvhxWGjxOp RDGsrrggCxX+fJKi+qcf3zto9Vrif/qSwmV1AvB6OrorAcOFB/hZ2TLHojMbaSej8D2T 0dvlOYYQg49fW3M39DtqFXXMZCjBBfAh98qf04DThoU30h3xkdsfy9STrimlg+NPt6FZ gUCesYrUM9osr4Eb76uxbbGBSflV2/1/FI/MPY0TDJcJh/14XE2vRq5mWHZ8VkB82msN ZYvA== X-Gm-Message-State: ACgBeo0ww/S0fd5bH+vR9Zl68D24eXFSlbux3aOLz5Zs8lGegwHobb6L 4wUGCYtwgWPnXyZlwbNdRl0= X-Google-Smtp-Source: AA6agR6NRlJOAPrX4KRjF2Vu56zGOlMoq8qesi3PJOsxias8Ymxwm6pAKC54hWqI+0epxU1J+M4CuQ== X-Received: by 2002:a17:902:7c11:b0:172:71ea:e99 with SMTP id x17-20020a1709027c1100b0017271ea0e99mr7829801pll.73.1661598650189; Sat, 27 Aug 2022 04:10:50 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id 7-20020a621807000000b0052a297324cbsm3437721pfy.41.2022.08.27.04.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 04:10:49 -0700 (PDT) In-Reply-To: <83r112ymjn.fsf@gnu.org> 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:240902 Archived-At: 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. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92