Re: [O] manipulating the agenda from elisp?

2011-04-08 Thread Bastien
Hi Filippo,

"Filippo A. Salustri"  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



[O] manipulating the agenda from elisp?

2011-04-07 Thread Filippo A. Salustri
Hi,
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.

Any advice?
Cheers.
Fil

-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/