[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about overlays and performance.
From: |
Ihor Radchenko |
Subject: |
Re: A question about overlays and performance. |
Date: |
Sun, 26 Jul 2020 22:19:52 +0800 |
> So what kind of guidelines did you want to hear regarding these
> issues?
Mostly wanted to know if there is a known way to solve these issues.
If there is, it may be a good idea to describe it briefly in the manual.
If not, I was thinking about writing a patch/feature request to solve
these issues.
Eli Zaretskii <eliz@gnu.org> writes:
>> 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?
--
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong
University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg
- A question about overlays and performance., Jeff Norden, 2020/07/25
- Re: A question about overlays and performance., Eli Zaretskii, 2020/07/25
- Re: A question about overlays and performance., Jeff Norden, 2020/07/25
- Re: A question about overlays and performance., Ihor Radchenko, 2020/07/25
- Re: A question about overlays and performance., Stefan Monnier, 2020/07/26
- Re: A question about overlays and performance., Ihor Radchenko, 2020/07/27
- Re: A question about overlays and performance., Jeff Norden, 2020/07/28
- Re: A question about overlays and performance., Yuan Fu, 2020/07/28
- Re: A question about overlays and performance., Eric Abrahamsen, 2020/07/28
- Re: A question about overlays and performance., Ihor Radchenko, 2020/07/28
- Re: A question about overlays and performance., Jeff Norden, 2020/07/30
- Re: A question about overlays and performance., Juri Linkov, 2020/07/28
- Re: A question about overlays and performance., Ihor Radchenko, 2020/07/28
- Re: A question about overlays and performance., Juri Linkov, 2020/07/30