Neither of these properties is exhibited by
I set a somewhat arbitrary case for this, but which enables one to reproduce the mentioned behaviors.
(package-initialize) (ivy-mode) (find-library "simple") (outline-minor-mode) (outline-hide-body)
and navigate through the list of candidates, with "C-n" or equivalent.
Notice that some candidates will fail to be shown in the buffer (I assume they are still in folded regions, but I’m not really sure). Not all candidates will be hidden, actually most of them will be shown, and some exceptions not.
Furthermore, from this point, consider two possible actions. First, cancel the search with "C-g". This will let the folding state of the buffer quite disturbed, if you had navigated through any considerable number of candidates. Second case, select one candidate. The selection will work as expected, but yet again, the folding state of the buffer will be quite disrupted in sections which are not the one of the selected candidate.
The same general behavior happens for Org files.
It would be really nice if
Environment: Emacs 26.2; swiper-20190627.1944; ivy-20190701.1140; counsel-20190629.1203.
PS: I hope it is as promised. :)
The text was updated successfully, but these errors were encountered:
Thank you very very much.
I did test it here in the different environments I use some sort of outlining (Org, emacs-lisp, LaTeX), and it is working beautifully.
With this, the things I really missed from
* swiper.el (swiper-isearch-action): The change to `isearch-range-invisible' params is important here. (swiper-isearch): Clean up the overlays here, instead of in `swiper--cleanup'. Expected behavior after the fix: all outlines that were revealed are closed, either on finish or on abort. The exception is the outline that contains the point. Fixes abo-abo#2119