[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] manipulating the agenda from elisp?
From: |
Bastien |
Subject: |
Re: [O] manipulating the agenda from elisp? |
Date: |
Fri, 08 Apr 2011 18:36:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Filippo,
"Filippo A. Salustri" <address@hidden> writes:
> I'm thinking I might like to try some programming to do things to the
> agenda from an elisp function.
> I tried 'apropos agenda' but I didn't really see the kind of thing
> I'm looking for.
> What I'm hoping is for some way to iterate over each item in the
> agenda, and be able to access the content of the item in some
> structured way.
> I think I've seen functions that can pull info like TODO state and
> priority from the item under the cursor, so it's the iteration part
> that I'm really interested in.
In an agenda, try `C-u C-x =' to see all the text properties at point.
You can grab a lot of information from these properties.
HTH,
--
Bastien