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


Message #31 received at 47937-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arthur Miller <arthur.miller <at> live.com>
Cc: 47937-done <at> debbugs.gnu.org
Subject: Re: bug#47937: 27.1; Invisible text property updated only for a
 portion of buffer
Date: Thu, 22 Apr 2021 09:46:34 +0300
> From: Arthur Miller <arthur.miller <at> live.com>
> Cc: 47937 <at> debbugs.gnu.org
> Date: Wed, 21 Apr 2021 22:10:45 +0200
> 
> >> Because you have font-lock-mode turned on.  And JIT font-lock begins
> >> by wiping out all the text properties.
> >
> > I should clarify this, I guess: this is specific to Org buffers, see
> > org-unfontify-region.  And "all text properties" is an exaggeration:
> > it removes many properties, but not all of them.
> 
> Allright, thank you for the excellent clarification. I guess I should go
> for custom visibility spec instead of plain invisible property, so that
> my text property survive font lock.
> 
> Please close the bug and thanks.

I'm closing the bug, but I suggest to take this up with Org
developers, because I think org-unfontify-region removes too many
properties in a way that is too indiscriminate.  They should ideally
only remove the properties they themselves add.




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.