emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcel van der Boom <marcel@hsdev.com>
To: emacs-orgmode@gnu.org
Subject: Re: GTD - Natural Planning Model properties - add automatically
Date: Thu, 18 Oct 2012 08:50:46 +0200	[thread overview]
Message-ID: <20121018085046.5232e07b@hsdev.com> (raw)
In-Reply-To: <CAFrmxDcVGZJxKPEfoCHeo7ch8ZP=0ZZJbLUUCZj5O1Ey3Ocz8w@mail.gmail.com>


On zo 14-okt-2012 09:06
Chris Henderson <henders254@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

  parent reply	other threads:[~2012-10-18  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 22:06 GTD - Natural Planning Model properties - add automatically Chris Henderson
2012-10-17 23:41 ` Mike McLean
2012-10-18  6:50 ` Marcel van der Boom [this message]
2012-10-22  6:20 ` Short article on how I implement my GTD Ivan Kanis
2012-10-24 14:16   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121018085046.5232e07b@hsdev.com \
    --to=marcel@hsdev.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).