From: James Harkins <jamshark70@gmail.com>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Agenda TODO sorting by date
Date: Sun, 04 Mar 2012 09:23:25 +0800 [thread overview]
Message-ID: <87zkbxxipe.wl%jamshark70@dewdrop-world.net> (raw)
In-Reply-To: <CAF-1L2Q6min7Jyh3wKU=QNQVPpfeM-OQF51A8geT2wcSr5edOg@mail.gmail.com>
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
jamshark70@dewdrop-world.net
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
next prev parent reply other threads:[~2012-03-04 1:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 2:28 Agenda TODO sorting by date James Harkins
2012-03-03 2:48 ` Bernt Hansen
2012-03-03 16:23 ` James Harkins
2012-03-03 16:38 ` Alan E. Davis
2012-03-04 1:23 ` James Harkins [this message]
2012-03-03 19:03 ` Bernt Hansen
2012-03-04 2:59 ` James Harkins
2012-03-04 4:31 ` Bernt Hansen
2012-03-04 6:59 ` James Harkins
-- strict thread matches above, loose matches on Subject: below --
2012-03-01 9:36 James Harkins
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=87zkbxxipe.wl%jamshark70@dewdrop-world.net \
--to=jamshark70@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=lngndvs@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).