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


Message #29 received at 57447 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57447 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#57447: 28.1.90; Can font-lock stop requesting fontification
 of invisible text?
Date: Sat, 27 Aug 2022 19:24:05 +0800
Eli Zaretskii <eliz <at> gnu.org> 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




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

Previous Next


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