"Loris Bennett" <loris.benn...@fu-berlin.de> writes: >>> What should the correct syntax be and where is it described? >> >> Did you look in the manual? What is missing? > > I looked here > > http://orgmode.org/manual/Block-agenda.html#Block-agenda >
,----[ C-h v org-agenda-custom-commands ] | match What to search for: | - a single keyword for TODO keyword searches !!] - a tags match expression for tags searches [ !! | - a word search expression for text searches. | - a regular expression for occur searches | For all other commands, this should be the empty string. `---- => ,----[ (info "(org)Matching tags and properties") ] | A search string can use Boolean operators `&' for AND and `|' for OR. | `&' binds more strongly than `|'. !!] Parentheses are currently not implemented. [!! | `---- ("Z" "Test home" ((agenda "") (tags-todo "+home+project|+home+task"))) ("Y" "Test work" ((agenda "") (tags-todo "+office+project|+office+task"))) seems to work? Memnon