From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: tags-tree question Date: Wed, 29 Oct 2008 16:52:59 +0100 Message-ID: <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl> References: <7171.1225288853@localhost> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvDM8-0000Ez-Bk for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 11:53:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvDM6-0000EC-SH for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 11:53:12 -0400 Received: from [199.232.76.173] (port=35795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvDM6-0000Dj-OO for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 11:53:10 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]:39417) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvDM3-0006ih-UE for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 11:53:08 -0400 Received: by ug-out-1314.google.com with SMTP id 36so736621uga.17 for ; Wed, 29 Oct 2008 08:53:06 -0700 (PDT) In-Reply-To: <7171.1225288853@localhost> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: pete@smtl.co.uk Cc: org-mode mailing list Hi Pete, since the TODO part i this logic was only implemented very late, the logic is unfortunately a bit strange: "/" has the lowest priority, and only on is allowed. So I believe this should be your search string. "Office|LaptopS/NEXT" It really should be the other way round... :-( With a speed penalty, you can also write "Office+TODO=\"NEXT\"|LaptopS+TODO=\"NEXT\"" which uses the property API access to TODO keywords. A generalized logic are, and also lisp forms for searches are on my list, as are so many other things...... HTH - Carsten On Oct 29, 2008, at 3:00 PM, Pete Phillips wrote: > Hi > > I have a bunch of org-agenda-custom-commands I have been using for > years, but today wanted to try to use the tags-tree setup to get a bit > more context in some views. > > I tried this: > > ("S" tags-tree "Office/NEXT|LaptopS/NEXT") > > (meaning I want only NEXT TODO type lines tagged with Office or tagged > with LaptopS). > > When I execute this I appear to get a buffer with lines tagged with > Office in the hierarchy, and any lines at or below that with the TODO > type of NEXT. > > Now I know I have some lines in this file such as: > > **** NEXT Send owen an email re: meeting :LaptopS: > > but this doesn't come up in the buffer. > > Can someone clarify whether it is possible to do thesetypes of > searches > with tags-tree, and if so where am I going wrong ? > > Cheers > Pete > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode