From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: tags-tree question Date: Wed, 29 Oct 2008 16:59:57 +0100 Message-ID: <1E1D4433-31D2-4377-8853-A3B95D44BD34@gmail.com> References: <7171.1225288853@localhost> <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl> 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 1KvDT5-0002p3-3P for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 12:00:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvDT2-0002li-J4 for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 12:00:21 -0400 Received: from [199.232.76.173] (port=59979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvDT2-0002lP-Az for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 12:00:20 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:38768) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvDT1-0000dd-7h for emacs-orgmode@gnu.org; Wed, 29 Oct 2008 12:00:19 -0400 Received: by ug-out-1314.google.com with SMTP id 36so739243uga.17 for ; Wed, 29 Oct 2008 09:00:17 -0700 (PDT) In-Reply-To: <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl> 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: Carsten Dominik Cc: org-mode mailing list Oh my, I am starting to type like a monkey, this gets really embarrassing. Let me try again: ------------------------------------------------------------------- Hi Pete, since the TODO part in match views was only implemented very late, the logic is unfortunately a bit strange: "/" has the lowest priority, and only one such operator is allowed. For your particular case, there is still a way to write this: "Office|LaptopS/NEXT" It really should be the other way round, with "|" as the lowest priority, and more than two terms allowed. :-( With a speed penalty, you can also write "Office+TODO=\"NEXT\"|LaptopS+TODO=\"NEXT\"" which uses the property access to TODO keywords. A generalized logic is on my list, just like Lisp forms for searches, and 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 >