GNU bug report logs - #47937
27.1; Invisible text property updated only for a portion of buffer

Previous Next

Package: emacs;

Reported by: Arthur Miller <arthur.miller <at> live.com>

Date: Wed, 21 Apr 2021 18:15:02 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arthur Miller <arthur.miller <at> live.com>
Cc: 47937 <at> debbugs.gnu.org
Subject: bug#47937: 27.1; Invisible text property updated only for a portion of buffer
Date: Wed, 21 Apr 2021 22:02:02 +0300
> From: Arthur Miller <arthur.miller <at> live.com>
> Cc: 47937 <at> debbugs.gnu.org
> 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.




This bug report was last modified 4 years and 31 days ago.

Previous Next


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