[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Agenda TODO sorting by date
From: |
James Harkins |
Subject: |
Re: [O] Agenda TODO sorting by date |
Date: |
Sun, 04 Mar 2012 09:23:25 +0800 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Sat, 3 Mar 2012 08:38:32 -0800,
Alan E. Davis wrote:
> I am definitely not a programmer, and for sure not the one who could guide
> you on writing a sort
> function. HOWEVER, emacs has a really nice facility for doing so, if you
> decide you want to try
> that.
>
> I had to write a program to alphabetize a lexical list in Chuukese, in an
> arbitrary order other
> than standard english alphabetical order. I had to have guidance, but it was
> certainly possible,
> even for me.
>
> Just some encouragement, but it's been many years, and i am unable to offer
> more than that.
>
> http://www.gnu.org/software/emacs/manual/html_node/elisp/Sorting.html
Hm, these would sort lines of the buffer after the agenda is created (is there
a hook in org to do so?), but the idea is to tell org how to sort before
putting the stuff in the agenda buffer.
I'm looking for a function that will do this -- given:
** DONE PUSH onFailure arg for waitForBoot <2012-01-31 Tue>
and the regexp "<[^>]+>" -- return <2012-01-31 Tue>.
I can find emacs lisp functions for regexp search within a buffer (nope), but
the point is not to look in a buffer. It's to pass in the source string.
Did several google searches, and couldn't find the magic words (search terms).
Thanks,
James
--
James Harkins /// dewdrop world
address@hidden
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
- [O] Agenda TODO sorting by date, James Harkins, 2012/03/01
- [O] Agenda TODO sorting by date, James Harkins, 2012/03/02
- Re: [O] Agenda TODO sorting by date, Bernt Hansen, 2012/03/02
- Re: [O] Agenda TODO sorting by date, Bernt Hansen, 2012/03/03
- Re: [O] Agenda TODO sorting by date, James Harkins, 2012/03/03
- Re: [O] Agenda TODO sorting by date, Bernt Hansen, 2012/03/03
- Re: [O] Agenda TODO sorting by date, James Harkins, 2012/03/04