From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Phillips Subject: Re: tags-tree question Date: Mon, 22 Jun 2009 23:52:56 +0100 Message-ID: <6138.1245711176@localhost> References: <7171.1225288853@localhost> <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl> <10913.1225668040@localhost> <874p2p4lw0.fsf@gollum.intra.norang.ca> <6724.1245583175@localhost> <871vpd8zso.fsf@gollum.intra.norang.ca> <22831.1245664393@localhost> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIsP0-0002QR-Li for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 18:54:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIsOy-0002QF-9S for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 18:54:13 -0400 Received: from [199.232.76.173] (port=49345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIsOy-0002QC-45 for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 18:54:12 -0400 Received: from mailhost.smtl.co.uk ([95.177.8.150]:4027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIsOx-000414-BO for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 18:54:11 -0400 In-reply-to: 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: Bernt Hansen , emacs-orgmode@gnu.org Evening to you all >>>>> "Carsten" == Carsten Dominik writes: Carsten> Pete, what exactly do you meam by "custom agenda" here. I mean it's one of my org-agenda-custom-commands. This is my (probably overly) complex setup to list any of the things I do at home, which have a TODO="NEXT" action associated with them. ("h" "Home Stuff (Next)" ((tags-todo "Home//NEXT" nil) (tags-todo "DIY//NEXT" nil) (tags-todo "Karen//NEXT" nil) (tags-todo "PhoneH//NEXT" nil) (tags-todo "LaptopH//NEXT" nil) (tags-todo "WaitingH//NEXT" nil) (tags-todo "SometimeH//NEXT" nil)) nil) Some of these actions will have SCHEDULED or DEADLINE dates associated with them and I only want to see those actions 30 days (or perhaps 60 days) before the date. Anything without a DEADLine or SCHEDULED date I want to see in the list. Carsten> It is a tags/property/todo search? In that case you could Carsten> try something like Carsten> TODO="TODO"+DEADLINE<"<+1m>" Carsten> as a search string OK - promising - this looks like it may do what I want: ("h" "Home Stuff (Next)" ( (tags-todo "TODO=\"NEXT\"+Home+DEADLINE<\"<+1m>\"" nil) (tags-todo "TODO=\"NEXT\"+Home+DEADLINE=\"\"" nil) (tags-todo "TODO=\"NEXT\"+Home+SCHEDULED<\"<+1m>\"" nil) (tags-todo "TODO=\"NEXT\"+Home+SCHEDULED=\"\"" nil) etc I.e., find me NEXT items with the tag of Home, with a deadline within the next month, AND find me NEXT items with the Home tag, where there is no DEADLINE, AND .... But that does seem very complex. (it also feels slow). Carsten> HTH It does. At least i know there is a way to do it. The question now is - is there an easier way ? Carsten> - Carsten Carsten> P.S. Nice to know you are still around, still using Org Carsten> ... :-) :-) I haven't stopped using org-mode - it is the lubricant which oils the wheels of my life. I have just reduced the time I can spend reading and responding to mailing list emails. :-( Still grazing on the list though. Cheers Pete