org-rifle icon indicating copy to clipboard operation
org-rifle copied to clipboard

Hidden parent headings when using helm-org-rifle-current-buffer on collapsed hierarchies

Open novoid opened this issue 8 months ago • 8 comments

I'm sorry when the subject doesn't cover the thing I want to address. Hence a more verbose explanation of my issue at hand:

I'm in a large Org file and using helm-org-rifle-current-buffer in order to find a particular heading in my (partly) collapsed hierarchy.

Simplified example:

* one
  * two
    * three
      * 2024-06-12 heading
    * foo
  * bar
  * baz

When invoked a search for 2024-06-12 with the headings below "two" in a collapsed state, I end up with a view like:

* one
  * two
      * 2024-06-12 heading

... where I can't access "three" or its direct neighbours that easily. In other words, some but not all parent headings are visible.

According to my tests, even "two" is not shown when it was hidden before I invoked the rifle command. The general rule seems to be: "show the matching heading but don't show collapsed parent headings".

Is there some kind of option I might activate so that I always see all parent headings when accessing a search result heading?

When I'm using org-occur does reveal all the parent headings even when they were collapsed.

Thanks for any pointer

Org-mode 9.6.28 on Emacs 29.3 (NixOS), helm-org-rifle 20230821.1927

novoid avatar Jun 12 '24 15:06 novoid