1

Let's say I have an org file with this structure:

* Books


** READING Some book title :@nonfiction:@psychology:
:PROPERTIES:
:AUTHOR: Cialdin 
:PURCHASE_DATE: 25/02/2020
:END:

How would I filter by author=cildin? Basically something like org-match-sparse-tree but for property key value pairs?

2
  • 1
    Does M-x org-sparse-tree not what you want? First you are asked how you want to filter and one of the options is [p]roperty. If you type p you can give AUTHOR as property name and Cialdin as value. Tab-completion works for that input.
    – Tobias
    Mar 11, 2020 at 11:51
  • @Tobias Yes, it does, thanks. Didn't know that command. If you add it as an answer I'll accept it.
    – scc
    Mar 12, 2020 at 14:46

1 Answer 1

4

Use M-x org-sparse-tree RET.

First you are asked how you want to filter and one of the options is [p]roperty.
If you type p you can give AUTHOR as property name and Cialdin as value.

Tab-completion works for that input.

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.