0

I want to see only the TODOs in a subtree, but calling org-sparse-tree then t shows TODOs in the whole buffer.

How do I limit the sparse filtering behavior to the subtree under the item at point?

  • 2
    One option might be to use C-x n s (org-narrow-to-subtree). – glucas Jan 6 '18 at 21:07
  • That works, thanks! I will accept it if you post it as an answer. – kbdluv Jan 6 '18 at 22:27
1

You can use org-narrow-to-subtree, which is bound to C-x n s by default.

This is not specific to sparse trees but can be used whenever you want to focus on a specific subtree in your org file.

  • And is there any way of limiting a sparse tree to a subtree without having to narrow and hide the rest in the buffer first? – Ivan Perez Mar 22 '18 at 1:24

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.