From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lindsay Todd" Subject: Searching on items scheduled Date: Fri, 28 Nov 2008 15:24:32 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L69tE-0003wo-Dg for emacs-orgmode@gnu.org; Fri, 28 Nov 2008 15:24:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L69tD-0003wH-Kx for emacs-orgmode@gnu.org; Fri, 28 Nov 2008 15:24:35 -0500 Received: from [199.232.76.173] (port=56954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L69tD-0003wD-II for emacs-orgmode@gnu.org; Fri, 28 Nov 2008 15:24:35 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:21339) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L69tC-0005qL-VV for emacs-orgmode@gnu.org; Fri, 28 Nov 2008 15:24:35 -0500 Received: by ey-out-1920.google.com with SMTP id 4so645345eyg.24 for ; Fri, 28 Nov 2008 12:24:32 -0800 (PST) Content-Disposition: inline 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: org-mode Folks, I would like to extract items that are "NEXT" action todo-items from my master gtd.org file, for reference in my paper planner, and make a custom agenda command to repeat this. Most of what I want to do is easy with the TODO search. But I don't really want items that won't be scheduled by sometime in the next week. I see that TODO items without a SCHEDULED keyword will always be selected with +SCHEDULED<"". But how do I include items scheduled for the next week as well? What hasn't worked: +SCHEDULED<"" (the documentation suggested this wouldn't work) +SCHEDULED<"<+1w>" (not sure why I thought this had a chance) What does work: +SCHEDULED<"<2008-12-05>" (but only works today!) Did I miss something? /Lindsay