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:24:05 +0800 Message-ID: <87tu5ydj56.fsf@localhost> 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> <83o7w6ylz3.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="11927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57447@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 13:25:06 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 1oRtw2-0002yB-HQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 13:25:06 +0200 Original-Received: from localhost ([::1]:49504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRtw1-0007EN-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 07:25:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRtv0-0006kq-J4 for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRtv0-00023L-9k for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRtv0-0002R7-1m for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 07:24:02 -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:24: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.16615993999313 (code B ref 57447); Sat, 27 Aug 2022 11:24:02 +0000 Original-Received: (at 57447) by debbugs.gnu.org; 27 Aug 2022 11:23:19 +0000 Original-Received: from localhost ([127.0.0.1]:55348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtuJ-0002Q9-0n for submit@debbugs.gnu.org; Sat, 27 Aug 2022 07:23:19 -0400 Original-Received: from mail-pj1-f42.google.com ([209.85.216.42]:39752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRtuF-0002Pu-0z for 57447@debbugs.gnu.org; Sat, 27 Aug 2022 07:23:17 -0400 Original-Received: by mail-pj1-f42.google.com with SMTP id i8-20020a17090a65c800b001fd602afda2so3968147pjs.4 for <57447@debbugs.gnu.org>; Sat, 27 Aug 2022 04:23:14 -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=BlQm3uCmB8zXSnhCz5e63zCqoDoRd1iy6XS8JAOtRGY=; b=NAVG4ejlWFoUbls4oKoaJjmElz0dLUSKsbliWcKF2OyuO7bwVcoqzfsxnNWMPYOKLq ufNFpAen9bVR4yWlt7WMo9Mm20Yb/Sjnav397+yh3EM/+Q+P7kM/y3QzQECDm8bBIuAI LOyF4mlblnrdl1fK+SbdgnBpKFhufyR+qgN01xIAo1Q/mkH8S7wJz5u9RsOZmxwMjesi FpuW0Aq3vHA3lgrEFOHvXBrue8QC1pX+HlMJoSWYGyWo1yjmyNoRCCXcgaqlFc115iYf 1H3egWljuVk07IpamlhJcm1uBcgW7aP1JyvBb18CUEykMhIwWYCsFzobIcXL6Gpm93fZ npqQ== 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=BlQm3uCmB8zXSnhCz5e63zCqoDoRd1iy6XS8JAOtRGY=; b=wZYzNeIWkapDAQy/olLl1oiAxT3TSKwxkR43kD68qv5T9RqIiLTynfNizFPYfCf6VA NKVreZJAq0ps9a0nRKSshTPAugPl2cNunwbBEEHQAl6EKVaX+NFn8XmNCTgX0gecxKiS tSAH5tjWLfnQd8xInVme7b6GzTnEepK+YIgIG7332Y89eymDPtPPZ3BTHV8VcE6M8emP owCUi2XbslatTSA4qaVlm923vfCVVyu4Jz9q339MKhiL7SWldjJdsKHwVLBOcBf1KOlQ S1sn2Dw0fM2CRUlz1wu1kYR9Ka8nVc4vAzup4AEIOAQCQbCMSdU8KPDo99KlYaAovHUj vCmQ== X-Gm-Message-State: ACgBeo1S+skE7eBYqEmyaYSx9SZyNtfykmmmrLCM73lK4GGCxyLfyvYa Oci/BSjEIO3qiAzN6/ZdxAQ= X-Google-Smtp-Source: AA6agR4+cVCf5JxYwFAXCDzKWYSG4cjCuGJWRjpdJ5/y2vOBC7P4L1oY+an5sjtbK9iGf/UcGaGaHA== X-Received: by 2002:a17:90b:4b0c:b0:1f4:ffac:699a with SMTP id lx12-20020a17090b4b0c00b001f4ffac699amr8831524pjb.145.1661599389280; Sat, 27 Aug 2022 04:23:09 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id q8-20020a17090311c800b00172973d3cd9sm3401487plh.55.2022.08.27.04.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 04:23:08 -0700 (PDT) In-Reply-To: <83o7w6ylz3.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:240904 Archived-At: Eli Zaretskii writes: >> 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? You are likely right. After quick checking, the BEG..END boundaries appear to be at BOL all the time. -- 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