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: Sun, 28 Aug 2022 09:23:01 +0800 Message-ID: <87fshhduve.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="29850"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57447@debbugs.gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 28 03:23:09 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 1oS713-0007Va-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Aug 2022 03:23:09 +0200 Original-Received: from localhost ([::1]:33582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS712-0002F4-B8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 21:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS70w-0002Eq-Ip for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 21:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oS70w-00048R-9z for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 21:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oS70w-0003IT-6F for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 21:23: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: Sun, 28 Aug 2022 01:23: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.166164972812595 (code B ref 57447); Sun, 28 Aug 2022 01:23:02 +0000 Original-Received: (at 57447) by debbugs.gnu.org; 28 Aug 2022 01:22:08 +0000 Original-Received: from localhost ([127.0.0.1]:57342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS703-0003H4-PZ for submit@debbugs.gnu.org; Sat, 27 Aug 2022 21:22:08 -0400 Original-Received: from mail-pj1-f47.google.com ([209.85.216.47]:33682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS701-0003Ga-Su for 57447@debbugs.gnu.org; Sat, 27 Aug 2022 21:22:06 -0400 Original-Received: by mail-pj1-f47.google.com with SMTP id i7-20020a17090adc0700b001fd7ccbec3cso2455521pjv.0 for <57447@debbugs.gnu.org>; Sat, 27 Aug 2022 18:22:05 -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=eRaVzuyc2nbORzOSt4i63YrDTEYokugJ1HpgJjRnho8=; b=fkdyezstWLaGmvLPi49dnM6/3vm+9yg+DtrC8p1gak4Uax5FBYYXoZf/5i6XIN32Xl hUys+9eyk6NQx//f/IR16DmTJ70zeYhXGBCgJUJ5b0mjQx7EGwJYRuRzQRATDGQoH+cO Kr5g64PQTPCgkWu7jZf/4TLBqfHC1CDSNuMzQ7hfUq7f8K1P5AyiMqvf6nCdy0jFEQXw Y/osHJyENh/Jz4JCwjMBG4+pN3KIFXUWst0P6MOyzjXYZPzh6O/hQUP4v/g5rRsXxxY8 +Hbd3ZEpdPFDnbDuvbFg5/O+DcNm4bmEerJggpNENlR0dbCiPo4HnDdY2QPzD3ygcaSr RbDw== 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=eRaVzuyc2nbORzOSt4i63YrDTEYokugJ1HpgJjRnho8=; b=hV0BhCCDPkZRZVic+Hz0EydIVlwKXuvkmw0uJRSyu4dW6Okxm78kEZ4yBdnTD70Cj+ nIC7OyMrn6/Ha98+50bX2cVtngVkEWnRYfx7Qn/xjfF6e0gOOPjrDMSeghGMY6cZdi9W NPNMSolOnhraZWETgLNIS5LIcdHOSm79whuPD7KukLNErJN584Wyygynh755YSrDUuhk 688bB3qlUXcSlTMu/XefB62nhnfQRfpmZFwP9wABHHNbw/53/Fyk5I6P52GPfV1HNlC5 Re2/ZHdL5nCwheMyMEcLCHHMH5odMzJCF5X2bAoMc0h2htOVKCsQL5ZAelD3z6TAQW9i Zfxg== X-Gm-Message-State: ACgBeo0oTtHUdVCoDqsGGhJbZBsSs9Mbl7ofDxkwCsysjd8AmGocl3kA xsClpWHSzgXLMvcQnXLUGVY80sAQCMY= X-Google-Smtp-Source: AA6agR54UgYmH26/FER248v3kvxoFl4nbQRZrlCWaWr5OdOVSybXbieAIhDNwJucphoASMFYvSpvAA== X-Received: by 2002:a17:902:e751:b0:174:89f8:cef2 with SMTP id p17-20020a170902e75100b0017489f8cef2mr2826628plf.156.1661649720300; Sat, 27 Aug 2022 18:22:00 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id j8-20020a170903024800b00172e97382cdsm4350195plh.285.2022.08.27.18.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 18:21:59 -0700 (PDT) In-Reply-To: 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:240970 Archived-At: Stefan Monnier writes: >>> I am wondering if something like font-lock-extend-region-functions may >>> be utilized to shrink the fontification boundaries. >> I don't know. Maybe Stefan does. > > The short answer is: no. > [ 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. ] The aim is skipping invisible text during fontification. -- 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