emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] wish list: sort tasks by age


From: David Maus
Subject: Re: [Orgmode] wish list: sort tasks by age
Date: Wed, 01 Jul 2009 09:01:55 +0200
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/23.0.95 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Tue, 30 Jun 2009 16:04:39 -0400,
Christopher League wrote:
> 
> I would love to be able to sort TODOs by their age, so it becomes  
> painfully obvious what I have been ignoring.  Since org relies on free- 
> form text (a strength), it's tricky to ensure that every item gets a  
> 'creation-time' property.  But it doesn't need to be accurate to the  
> second; even a script that added that property once every day or so  
> might do the trick.

Well, I'm not a elisp hacker but what comes into my mind is a custom
function that does:

for all headlines with a TODO keyword

* check if property "creation-time" exists

* add propertie creation time with current date & time if such an
  propertie does not exist

and then hook this function into before-save-hook.

So the question is (a) if there are functions to process all items,
check for existence of a property and create properties (I'm quite
certain there are) and (b) how to use them.

Regards,

  -- David
-- 
OpenPGP... 0x316F4BE4670716FD
Jabber.... address@hidden
Email..... address@hidden
ICQ....... 241051416




reply via email to

[Prev in Thread] Current Thread [Next in Thread]