[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about overlays and performance.
From: |
Juri Linkov |
Subject: |
Re: A question about overlays and performance. |
Date: |
Wed, 29 Jul 2020 02:53:52 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> I am currently working on re-implementing org-mode folding from using
> overlays to text-properties.
Any chance to fix also bug#40808? It's still open because there is
no solution for isearching invisible text in org-mode.
Here's a short test case that demonstrates the problem in org-mode:
0. emacs -Q
1. visit emacs/etc/ORG-NEWS
2. isearch for "http": C-s http C-s C-s C-s ...
it eventually stops at org links where "http" is invisible, such as
[[https://orgmode.org/worg/library-of-babel.html][here]]
The problem is that org-mode puts the text property 'invisible'
only when the link is scrolled into view, I guess it puts the property
using font-lock.
So it seems org-mode needs to use font-lock-ensure on the line
with the next search hit before calling isearch-filter-predicate
on the found occurence.
- Re: A question about overlays and performance., (continued)
- 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 <=
- Re: A question about overlays and performance., Ihor Radchenko, 2020/07/28
- Re: A question about overlays and performance., Juri Linkov, 2020/07/30