8

There are times I prefer to work in a sparse tree instead of an agenda, namely ease of quick edits.

However the sparse tree, even with all folds level set to on (e.g. org-show-siblings and others), still the tree still shows tasks/headlines in a folded state. I would prefer them to be entirely hidden, just like org-narrow-to-subtree (C-x n s).

This only works with a single subtree. Is there a way to extend the narrowing to all of the sparse tree, and completely hide the non-sparce tasks/headlines?

2
  • I don't exactly understand the problem. I just ran org-sparse-tree and only the matching headings and entries were shown. Have you checked the org-show-context-detail option? Also, have you tried org-occur?
    – user3871
    Commented Jul 29, 2017 at 7:54
  • 1
    This is a common use-case for me as well. I have found alphapapa's org-ql doing what I needed. Please, give it a try and let me know if that helps.
    – gsl
    Commented Mar 21, 2020 at 8:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.