From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47937: 27.1; Invisible text property updated only for a portion of buffer Date: Thu, 22 Apr 2021 09:46:34 +0300 Message-ID: <83mttqq0j9.fsf@gnu.org> References: <83sg3jpk3l.fsf@gnu.org> <83r1j3pil1.fsf@gnu.org> <83o8e7pgzj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47937-done@debbugs.gnu.org To: Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 08:47:25 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZT7U-0006F7-PV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 08:47:24 +0200 Original-Received: from localhost ([::1]:41204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZT7T-0001Mu-KJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 02:47:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZT78-0001Mj-7o for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 02:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZT77-00038I-RV for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 02:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZT77-0006Uu-Qz for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 02:47:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 06:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47937 X-GNU-PR-Package: emacs Mail-Followup-To: 47937@debbugs.gnu.org, eliz@gnu.org, arthur.miller@live.com Original-Received: via spool by 47937-done@debbugs.gnu.org id=D47937.161907401224957 (code D ref 47937); Thu, 22 Apr 2021 06:47:01 +0000 Original-Received: (at 47937-done) by debbugs.gnu.org; 22 Apr 2021 06:46:52 +0000 Original-Received: from localhost ([127.0.0.1]:60565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZT6y-0006UT-Be for submit@debbugs.gnu.org; Thu, 22 Apr 2021 02:46:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZT6w-0006UE-ES for 47937-done@debbugs.gnu.org; Thu, 22 Apr 2021 02:46:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44128) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZT6q-0002zs-J3; Thu, 22 Apr 2021 02:46:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2302 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZT6p-0007rc-Td; Thu, 22 Apr 2021 02:46:44 -0400 In-Reply-To: (message from Arthur Miller on Wed, 21 Apr 2021 22:10:45 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204673 Archived-At: > From: Arthur Miller > Cc: 47937@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.