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 13:53:32 +0200 [thread overview]
Message-ID: <87zkkp6lab.fsf@slate.zedat.fu-berlin.de> (raw)
In-Reply-To: 877h7t9i2z.fsf@slate.zedat.fu-berlin.de
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:
> Hi Bastien,
>
> Bastien <bzg@altern.org> writes:
>
>> Hi Loris,
>>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>>
>>> In my org-agenda-custom-commands I've got two block entries:
>>>
>>> tags-todo "office&(project|task)"
>>>
>>> and
>>>
>>> tags-todo "home&(project|task)"
>>>
>>> Items with :office:project: and :home:project: are separated properly,
>>> but :office:task: and :home:task: end up in both lists.
>>
>> Can you send a test file, with actual results and expected results?
>
> Test file:
>
> * Tasks :task:
> ** TODO Mow lawn :home:
> ** TODO Install R :office:
>
>
> * Projects :project:
> ** TODO Set up cluster :office:
> ** TODO Sort out backup :home:
>
> Actual Results:
>
> ==========================================================================
> Office
> agendatest: TODO Mow lawn :task::home:
> agendatest: TODO Install R :task::office:
> agendatest: TODO Set up cluster :project::office:
>
>
> ==========================================================================
> Home TODOs
> agendatest: TODO Mow lawn :task::home:
> agendatest: TODO Install R :task::office:
> agendatest: TODO Sort out backup :project::home:
>
> Expected Results:
>
> ==========================================================================
> Office
> agendatest: TODO Install R :task::office:
> agendatest: TODO Set up cluster :project::office:
>
>
> ==========================================================================
> Home TODOs
> agendatest: TODO Mow lawn :task::home:
> agendatest: TODO Sort out backup :project::home:
>
>
> I hope this is complete. I don't quite know what the best way to test
> something like this is without disturbing my configuration too much.
>
>> I _guess_ the problem you have, but I'd like to see/test it.
>>
>>> 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
>
> but there is no complex example with and-ing and or-ing tags.
>
I see that I should also have looked here:
http://orgmode.org/manual/Matching-tags-and-properties.html
>> Thanks!
>
> Thank you for taking the time.
>
> 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 11:53 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 [this message]
2011-07-08 12:52 ` Memnon Anon
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkkp6lab.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.