On zo 14-okt-2012 09:06 Chris Henderson <henders...@gmail.com> wrote:
>I would like the project to automatically inherit a >few properties like: Purpose, Outcome, Todo's and also date when the >project was added to the list. For the last bit I use org-expiry.el with a little glue. The idea I wanted to implement was that when a TODO/PROJECT item was created, a property with the current date should be inserted automatically. The main feature I was looking for was creating a list of incomplete items sorted or grouped by that date. org-expiry.el contains the function, 'org-expiry-insert-created', to insert a 'created' property. To have that work the way I wanted it I added an advice to two functions. One to 'org-insert-todo-heading' to have the created property inserted when creating an new todo heading. The other advices 'org-capture' to do the same when capturing new todo items. The snippet which does the above is here: https://gist.github.com/3910203 marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV -- http://www.hsdev.com We use bitcoin! -- http://bitcoin.org