bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64696: 30.0.50; indent-to inherits preceding text properties, includ


From: Ihor Radchenko
Subject: bug#64696: 30.0.50; indent-to inherits preceding text properties, including 'invisible
Date: Wed, 19 Jul 2023 08:41:39 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Could you give a bit of background about why you use set an `invisible`
> property that is inherited when inserting chars after it?
>
> I mean I understand it's the default behavior of the `invisible`
> property, but when making a piece of text invisible, it's common
> that we arrange for that invisible property not to leak to text inserted
> after it (either by setting the marker type of the overlay's end
> or via the `rear-nonsticky` text-property).
> This is useful for when the users goes and types right after the
> invisible text, otherwise their text becomes invisible.

Because Org sets and clears invisible property manually during fontification.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]