Re: [Orgmode] FR: headline iteration API

2008-07-16 Thread Max Mikhanosha
At Wed, 11 Jun 2008 12:15:11 -0500, Eddward DeVilla wrote: > - doc traversal > - first-item > Go to the first item in the file. > - current-item > Go to the beginning of the item containing the cursor. > - next-item > Go to the item after the current one. > - pre

Re: [Orgmode] FR: headline iteration API

2008-06-12 Thread Carsten Dominik
Fixed, thanks. - Carsten On Jun 12, 2008, at 12:16 PM, Adam Spiers wrote: Ooo, shiny! :-) I am very curious to see what kind of tricks you will do with this, to keep us posted! Sure - but first I need to surmount this compilation error with the latest git master: - 8< -

Re: [Orgmode] FR: headline iteration API

2008-06-12 Thread Adam Spiers
On Thu, Jun 12, 2008 at 08:46:47AM +0200, Carsten Dominik wrote: > > On Jun 10, 2008, at 12:28 PM, Adam Spiers wrote: > >Yes. There will be many intricacies involved in iteration, and > >probably only Carsten knows them all - without an API we would > >individually be reinventing the same wheel o

Re: [Orgmode] FR: headline iteration API

2008-06-11 Thread Carsten Dominik
On Jun 10, 2008, at 12:28 PM, Adam Spiers wrote: Yes. There will be many intricacies involved in iteration, and probably only Carsten knows them all - without an API we would individually be reinventing the same wheel over and over ... badly. Hi Adam, Daniel, and others, the mapping API is

Re: [Orgmode] FR: headline iteration API

2008-06-11 Thread Eddward DeVilla
On Wed, Jun 11, 2008 at 12:15 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote: > Are the functions behind C-c C-N, C-c C-p, C-c C-f, C-c C-b & C-c C-u > available? Seems you could add a function for going to the first > child. As long as that, C-c C-f & C-c C-b all return something to let > you kno

Re: [Orgmode] FR: headline iteration API

2008-06-11 Thread Eddward DeVilla
Are the functions behind C-c C-N, C-c C-p, C-c C-f, C-c C-b & C-c C-u available? Seems you could add a function for going to the first child. As long as that, C-c C-f & C-c C-b all return something to let you know there isn't a next, this should be pretty complete. I guess all you would need wou

Re: [Orgmode] FR: headline iteration API

2008-06-11 Thread Adam Spiers
On Wed, Jun 11, 2008 at 08:57:39AM +0200, Dominik, C. wrote: > Hi Adam and others, > > I do like the idea of an API to iterate of entries and outline trees. > For now, I am following this discussion to see what ideas pop up. > When I find the time, something will be implemented. Great. As you ca

RE: [Orgmode] FR: headline iteration API

2008-06-10 Thread Dominik, C.
Hi Adam and others, I do like the idea of an API to iterate of entries and outline trees. For now, I am following this discussion to see what ideas pop up. When I find the time, something will be implemented. - Carsten -Original Message- From: [EMAIL PROTECTED] on behalf of Adam Spiers

Re: [Orgmode] FR: headline iteration API

2008-06-10 Thread Adam Spiers
On Wed, Jun 04, 2008 at 04:35:01PM +0200, Daniel Clemente wrote: > Hi, > I find this very interesting. Some ideas: > > - Maybe it could provide access not only to the headlines, but to > the headlines of the headlines, and of their headlines, etc. In > fact, access to the whole tree. This wo

Re: [Orgmode] FR: headline iteration API

2008-06-04 Thread Daniel Clemente
Hi, I find this very interesting. Some ideas: - Maybe it could provide access not only to the headlines, but to the headlines of the headlines, and of their headlines, etc. In fact, access to the whole tree. This would allow batch processing of any contents. As a plus, each header would get a