emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Syntax for tags-todo in org-agenda-custom-commands
Date: Fri, 8 Jul 2011 12:52:21 +0000 (UTC)	[thread overview]
Message-ID: <87d3hluenc.fsf@mean.albasani.net> (raw)
In-Reply-To: 877h7t9i2z.fsf@slate.zedat.fu-berlin.de

"Loris Bennett" <loris.bennett@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

  parent reply	other threads:[~2011-07-08 12:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 12:17 Syntax for tags-todo in org-agenda-custom-commands Loris Bennett
2011-07-08  8:17 ` Bastien
2011-07-08 10:34   ` Loris Bennett
2011-07-08 11:53     ` Loris Bennett
2011-07-08 12:52     ` Memnon Anon [this message]
2011-07-08 13:40       ` Loris Bennett
2011-07-08 14:06         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3hluenc.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).