unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Arthur Miller <arthur.miller@live.com>
Cc: 47937@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	[thread overview]
Message-ID: <83r1j3pil1.fsf@gnu.org> (raw)
In-Reply-To: <AM9PR09MB4977D9FA0C06DC4509F3F7D996479@AM9PR09MB4977.eurprd09.prod.outlook.com> (message from Arthur Miller on Wed, 21 Apr 2021 20:40:31 +0200)

> From: Arthur Miller <arthur.miller@live.com>
> Cc: 47937@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.





  reply	other threads:[~2021-04-21 19:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21 18:14 bug#47937: 27.1; Invisible text property updated only for a portion of buffer Arthur Miller
2021-04-21 18:29 ` Eli Zaretskii
2021-04-21 18:40   ` Arthur Miller
2021-04-21 19:02     ` Eli Zaretskii [this message]
2021-04-21 19:36       ` Eli Zaretskii
2021-04-21 20:10         ` Arthur Miller
2021-04-22  6:46           ` Eli Zaretskii
2021-04-21 22:43         ` bug#47937: [External] : " Drew Adams
2021-04-21 22:40       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r1j3pil1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=47937@debbugs.gnu.org \
    --cc=arthur.miller@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).