Subject: bug#47937: 27.1; Invisible text property updated only for a portion of buffer

From: Eli Zaretskii <[email-masked]>
Date: Wed, 21 Apr 2021 22:02:02 +0300

> From: Arthur Miller <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 21 Apr 2021 20:40:31 +0200
> 
> > They are not processed because there's no invisible property there.
> 
> Why does it work on visible portion of the buffer, but not on the rest?

Because you have font-lock-mode turned on.  And JIT font-lock begins
by wiping out all the text properties.

> But if buffer is scrolled through, than all parts that have been on
> the screen, get's the property updated.

After you have scrolled through all the buffer, Emacs will no longer
try to refontify it, so your invisible property will not be wiped out.