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 12:34:28 +0200 Message-ID: <877h7t9i2z.fsf@slate.zedat.fu-berlin.de> References: <87zkkq5lpv.fsf@slate.zedat.fu-berlin.de> <87sjqh5gpy.fsf@gnu.org> 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]:57848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf8OZ-0000Th-DY for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf8OV-0003bW-De for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:51 -0400 Received: from lo.gmane.org ([80.91.229.12]:56553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf8OU-0003bR-RQ for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 06:34:47 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qf8OT-0002ST-NY for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 12:34:45 +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 12:34:45 +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 12:34:45 +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 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. > Thanks! Thank you for taking the time. Cheers Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de