I'm using sparse trees (not in agenda view, but in "normal" tree view) to help me get a clear picture of what I have to do, at a glance.

I would like to create a sparse tree that shows all the tasks that have no deadlines, and whose parents also have no deadlines.

Is that possible with a search query? If not, how can I do it?

Thanks for your help!

1 Answer 1


In case someone else is interested, I found out a way to do it.

The "trick" is to make DEADLINE an inherited property. While subtasks with only inherited deadlines will still not show up in the agenda (for those deadlines), search criteria involving deadlines will apply to them anyway.

To make DEADLINE an inherited property, use:

(setq org-use-property-inheritance (quote ("DEADLINE")))

Then find tasks without a deadline with:

C-c / m -DEADLINE={.}

Or the full command:

(org-match-sparse-tree nil "-DEADLINE={.}")


  • Ok, since nobody else has commented in over a year, I'm accepting my answer.
    – Ivan Perez
    Mar 22, 2018 at 1:30

Your Answer

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

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