From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Filter scheduled items Date: Thu, 30 Sep 2010 12:58:27 -0400 Message-ID: <87r5gb418s.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=59663 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1MSl-0004RZ-Bd for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 12:58:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1MSj-0000c7-2j for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 12:58:31 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:34051) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1MSi-0000c1-Vn for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 12:58:29 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Wed, 29 Sep 2010 22:27:42 -0500") 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: Marcelo de Moraes Serpa Cc: Org Mode Marcelo de Moraes Serpa writes: > Hmm, org actually does this already. > > The problem is that I was filtering by TODO items, and the scheduled > item was the parent of two TODO items (A non-TODO item tagged as > PROJECT). > > So now I guess the question is: > Can I make sub-items inherit the schedule information? Yes, by using org-use-property-inheritance. This works when doing a property search, so you'll have to use tags-todo. Does this custom command accomplish what you are looking for? --8<---------------cut here---------------start------------->8--- (add-to-list 'org-agenda-custom-commands ;; a todo list with no future items and inherited scheduling info '("x" "No future items" tags-todo "+SCHEDULED<=\"\"/!+TODO" ((org-use-property-inheritance '("SCHEDULED"))))) --8<---------------cut here---------------end--------------->8--- Best, Matt