From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Syntax for tags-todo in org-agenda-custom-commands
Date: Fri, 08 Jul 2011 15:40:47 +0200 [thread overview]
Message-ID: <87mxgo7uw0.fsf@slate.zedat.fu-berlin.de> (raw)
In-Reply-To: 87d3hluenc.fsf@mean.albasani.net
Memnon Anon <gegendosenfleisch@googlemail.com> writes:
> "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
>
Thanks, I was just being a bit dopey. I had already woken up a bit and
come up with
(tags-todo "+office+CATEGORY=\"project\"|+office+CATEGORY=\"task\")
I think maybe I need to start a new thread some time about generally
approaches to using tags vs. categories. I am sure there must a few
fairly standard idioms that people are using.
Cheers
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de
next prev parent reply other threads:[~2011-07-08 13:41 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
2011-07-08 13:40 ` Loris Bennett [this message]
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=87mxgo7uw0.fsf@slate.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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).