Filtering titles that do not contain specific properties

I want to set up a custom command with

org-agenda-custom-commands 

      

which should select titles that do not contain PROPERTY named "ID". What is a filter expression?

+3


source to share


1 answer


You can use backward matching to find titles that match ID

. From manual

The search string can use the boolean operators & for AND and '| for OR. "& Amp; binds more strongly than '|. The parentheses are not currently implemented. Each item in the search is either a tag or regular expression matching tags or an expression like OPPERATOR PROPERTY VALUE with a comparison operator, accessing the property value. Each item can preceded by a "-" character to select it, and "+" is syntactic sugar for positive selection. The AND operator & is optional when "+" or "-" is present. Here are some examples using only tags.



Using the same query as in your question Property Matching in Agenda View , you simply deny the search and it will contain all rows that do not match the ID.

(setq org-agenda-custom-commands
           '(("c" "MY Agenda"
          ((tags "-ID={.+}")))))

      

+4


source







All Articles