|
From: | Milan Zamazal |
Subject: | [O] org-save-outline-visibility and isearch |
Date: | Thu, 27 Oct 2011 13:14:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
After using org-save-outline-visibility the invisible parts of the buffer become invisible to isearch. I have to do something like calling org-global-cycle to restore the buffer to its original state and allow searching in its invisible parts again. The problem seems to be in the functions org-outline-overlay-data and org-set-outline-overlay-data. They save and restore just `invisible' overlays. They should do the same with `isearch-open-invisible' overlays. Or perhaps org-set-outline-overlay-data could simply use outline-flag-region? What do you think?
[Prev in Thread] | Current Thread | [Next in Thread] |