-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Description
When using evil-mode in outline-mode or org-mode, attempting to open folded sections (zo) does not work as expected when the cursor is positioned inside a deeply nested header.
Steps to Reproduce:
-
Enable
evil-mode. -
Open an
orgfile or anoutline-modebuffer with multiple nested headers, for example:
Level 1
** Level 2
*** Level 3
**** Level 4: A
Some content here
Some content here
Some content here
Some content here
**** Level 4: B
Some content here
Some content here
Some content here
Some content here
**** Level 4: C
Some content here
Some content here < PUT THE CURSOR HERE
Some content here
Some content here
**** Level 4: D
Some content here
Some content here
Some content here
Some content here
Some content here
**** Level 4: E
Some content here
Some content here
Some content here
-
Put the cursor in
< PUT THE CURSOR HERE -
Collapse all folds with
zM -
Press
zoto open the fold -
The folds fail to expand fully in nested hierarchies, leaving all content hidden except for
level 4: C.
Environment:
- Emacs version: 30.2
- evil version: 1.14.2
- Operating system: Linux and macOS
Metadata
Metadata
Assignees
Labels
No labels