GNU bug report logs - #57447
28.1.90; Can font-lock stop requesting fontification of invisible text?

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sat, 27 Aug 2022 05:35:02 UTC

Severity: normal

Found in version 28.1.90

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ihor Radchenko <yantar92 <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 57447 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#57447: 28.1.90; Can font-lock stop requesting fontification of invisible text?
Date: Sun, 28 Aug 2022 09:23:01 +0800
Stefan Monnier <monnier <at> iro.umontreal.ca> 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




This bug report was last modified 2 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.