From: Manish <mailtomanish.sharma@gmail.com>
To: David Maus <maus.david@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: wish list: sort tasks by age
Date: Wed, 1 Jul 2009 13:40:21 +0530 [thread overview]
Message-ID: <e7cdbe30907010110i637f4b9ap6ebefe5354d5d41f@mail.gmail.com> (raw)
In-Reply-To: <87tz1wzy1o.wl%maus.david@gmail.com>
On Wed, Jul 1, 2009 at 12:31 PM, David Maus<maus.david@gmail.com> wrote:
> 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.
There are property and mapping APIs documented in the manual under
section on hacking.
--
Manish
next prev parent reply other threads:[~2009-07-01 8:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 20:04 wish list: sort tasks by age Christopher League
[not found] ` <87tz1wzy1o.wl%maus.david@gmail.com>
2009-07-01 8:10 ` Manish [this message]
2009-07-01 10:24 ` David Maus
2009-07-01 11:58 ` Bastien
2009-07-01 13:26 ` Christopher League
2009-07-01 14:46 ` Bastien
2009-07-01 11:57 ` 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=e7cdbe30907010110i637f4b9ap6ebefe5354d5d41f@mail.gmail.com \
--to=mailtomanish.sharma@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=maus.david@gmail.com \
/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).