I'd like to find a way to jump to a location in an org-mode file while automatically unfolding only the heading at the location I'm jumping to and all its parent headings (but not any sibling headings).
For example, if I have this org-mode file:
* A ** AA *** AAA ** AB *** ABA * B ** BA *** BAA ** BB *** BBA * C ** CA *** CAA ** CB *** CBA
and I use
evil-set-marker to mark the location at
BBA, and then fold up all the headings, the file will now be displayed in org-mode as:
* A... * B... * C...
and if I now
evil-goto-mark with the intention of going back to
BBA, emacs will only place point on
B without unfolding any of the headings, so the way the file is displayed remains unchanged.
Instead, I'd like emacs to unfold just
BBA and all of its parent headings (but no sibling headings) like so:
* A... * B ** BA... ** BB *** BBA * C...
and place point on the exact location I marked at