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?

  • 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 Jul 29 '17 at 7:54

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.