Open jamieforth opened 1 year ago
I also have this issue. But it's not so easy to reproduce. Just after using swiper in buffer, I can't unfold some headings. GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-02-26 Org mode version 9.6.1 (release_9.6.1-34-geea8da)
I see the same problem with Org mode version 9.6.4 (reliably reproducible).
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-02-23, modified by Debian
Same issue here, also I have display problems after searching with Swiper where a headline will fold but certain links in the contents don't get hidden when the parent headline is collapsed.
Org 9.6 changed the method for hiding folded text to use text properties instead of overlays. The docstring for org-fold-core-style
mentions that using text properties may cause issues with packages which haven't been updated to be compatible with the new system. I tried to reproduce the problem in a clean Emacs with just Org and Swiper loaded and the folding style set to overlays
and that seems to fix it.
Org mode version 9.6.4 (9.6.4-ge065b5) GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-03-14, modified by Debian
Hi folks, some recent conversation on the org-mode mailing list may help: https://lists.gnu.org/archive/html/emacs-orgmode/2023-05/msg00258.html
Basically, this code: https://github.com/abo-abo/swiper/blob/master/swiper.el#L980 should call `isearch-mode-end-hook'.
HTH, Bob
Hi folks, some recent conversation on the org-mode mailing list may help: https://lists.gnu.org/archive/html/emacs-orgmode/2023-05/msg00258.html
Seems to have been brought up on emacs-devel
too:
Basically, this code: https://github.com/abo-abo/swiper/blob/master/swiper.el#L980 should call `isearch-mode-end-hook'.
Would you be interested in proposing a patch?
What about the other three uses of isearch-filter-predicate
in swiper.el
?
Thanks.
Unfortunately I don't feel confident enough in my elisp to propose a patch! Just thought I'd share the link since I'm affected by this issue as well.
Any news here?
This issue is also reported on the org-mode side: https://list.orgmode.org/orgmode/875y5oo9nv.fsf@localhost/
Would you please do your testing with the Org dev branch.
Hello chiming in, because I encounter this a few times a day, and only now realised it's due to a swiper-orgmode conflict. Is there a known workaround, or solution, at this point? Using Emacs 29.2 on macOS, swiper from ELPA. Regards, -Patrick
Maybe relates to #2457.
Using
make plain
(b8be4913) with the build-in Org 9.3 everything works fine.But
make plain
with Org 9.6.1 installed causes the following problems.Test case 1:
swiper-isearch
for "test" - HEADING 1 unfolds correctlyC-g
- HEADING 1 folds correctlyorg-cycle
- HEADING 1 can no longer be unfoldedTest case 2:
swiper-isearch
for "test1" - HEADING 1 folds incorrectlyENTER
- HEADING 1 unfolds correctlyorg-cycle
worksTest case 3:
swiper-isearch
for "test1" - HEADING 1 folds incorrectlyC-g
- HEADING 1 stays folded correctlyorg-cycle
- HEADING 1 can no longer be unfoldedEnvironment: Debian 11, Emacs 27.1.