emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [9.4] Fixing logbook visibility during isearch


From: Ihor Radchenko
Subject: Re: [9.4] Fixing logbook visibility during isearch
Date: Sat, 26 Dec 2020 12:14:42 +0800

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> 1.2. stumps me: is there an isearch API I can use while in the callback
> to know where the matches are located?

I do not think that there is direct API for this, but the match should
be accessible through match-beginning/match-end, as I can see from the
isearch.el code.

> For 2.1, I guess we will need to cache the temporary invisible overlays
> we add during step 1. in a global list; that way when it's time to
> destroy them, we can simply iterate on the list?

That's what I do in org-fold--isearch-show-temporary.

Best,
Ihor




reply via email to

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