From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Syntax for tags-todo in org-agenda-custom-commands Date: Fri, 08 Jul 2011 13:53:32 +0200 Message-ID: <87zkkp6lab.fsf@slate.zedat.fu-berlin.de> References: <87zkkq5lpv.fsf@slate.zedat.fu-berlin.de> <87sjqh5gpy.fsf@gnu.org> <877h7t9i2z.fsf@slate.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf9d0-00046O-3G for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 07:53:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf9cx-0000RK-SX for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 07:53:49 -0400 Received: from lo.gmane.org ([80.91.229.12]:57932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf9cx-0000RG-EI for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 07:53:47 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qf9cw-0002lx-57 for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 13:53:46 +0200 Received: from slate.zedat.fu-berlin.de ([160.45.11.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 13:53:46 +0200 Received: from loris.bennett by slate.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 13:53:46 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Loris Bennett" writes: > Hi Bastien, > > Bastien writes: > >> Hi Loris, >> >> "Loris Bennett" 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