emacs-devel
[Top][All Lists]
Advanced

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

Re: A question about overlays and performance.


From: Eli Zaretskii
Subject: Re: A question about overlays and performance.
Date: Sun, 26 Jul 2020 16:56:22 +0300

> From: Ihor Radchenko <yantar92@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Sun, 26 Jul 2020 09:33:21 +0800
> 
> Not directly related to the initial question here, but may I ask if
> there are any practical guidelines to convert overlays to text
> properties? I am specifically concerned about two issues when we want to
> use text properties instead of overlays to hide text in buffer (pointing
> at org-mode):
> - text hidden via text properties is not well-handled by isearch. For
>   overlays, isearch can temporary reveal the hidden text, which is not
>   the case for text hidden using 'invisible text property.
> - text properties are not buffer-local in indirect buffers. With
>   overlays, it is possible to have define hidden text in basic and
>   indirect buffer independently. However, text properties will always be
>   shared and the text hidden in indirect buffer will automatically be
>   hidden in the base buffer as well.

So what kind of guidelines did you want to hear regarding these
issues?



reply via email to

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