[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Filter scheduled items
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Filter scheduled items |
Date: |
Thu, 30 Sep 2010 12:58:27 -0400 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Marcelo de Moraes Serpa <address@hidden> 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<=\"<today>\"/!+TODO"
((org-use-property-inheritance '("SCHEDULED")))))
--8<---------------cut here---------------end--------------->8---
Best,
Matt