[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] 67275f4 broke evil-search Re: [PATCH 10/35] Implement link fol
From: |
Tom Gillespie |
Subject: |
Re: [BUG] 67275f4 broke evil-search Re: [PATCH 10/35] Implement link folding |
Date: |
Fri, 27 May 2022 19:17:57 -0700 |
> It appears to respect isearch-filter-predicate, but not
> isearch-mode-end-hook.
This is true only when isearch is used as the module via
(evil-select-search-module 'evil-search-module 'isearch),
and indeed, when using evil search in that way headings
no longer refold. When using evil-search, things won't
even unfold.
I think that I have tracked the issue down to
evil-ex-find-next in a call to isearch-range-invisible
which returns nil for commits < 67275f4, and t for >=.
When isearch-range-invisible returns nil the invisible
overlay is made visible, when it returns t it stays closed.
Might restoring the invisible overlay text property restore
the old behavior? Is there a reason it was removed?
Best,
Tom