[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-20 Thread Jambunathan K
Eric > Hi Jambunathan, > > So, if I'm understanding correctly, what you are proposing includes two > separate things, first, a new link-style syntax for calling code blocks, > and second, the ability to provide un-named arguments to code blocks. > > I'm less sure about expanding link syntax into

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-19 Thread Eric Schulte
Jambunathan K writes: [...] > > If headlines are considered as code blocks one actually inflate > headlines and execute them for interesting side-effects. Rather than create new syntax allowing headlines to be interpreted as Org-mode code blocks, we could implement this ability of finding and ex

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-19 Thread Eric Schulte
Hi Jambunathan, So, if I'm understanding correctly, what you are proposing includes two separate things, first, a new link-style syntax for calling code blocks, and second, the ability to provide un-named arguments to code blocks. I definitely agree that the second suggestion would be desirable.

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-09 Thread Jambunathan K
I am slightly drifting a bit. I think the broader theme that is emerging in this thread is this - how Babel as a Org's VM would enable one to create useful text mashups. Call it Org 2.0 if you may like. Needless, to say I am having a hammer and everything looks nail to me. Please be patient with

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-09 Thread Jambunathan K
In the context of 'expanding babel macros', I think it would be useful to think of the context in which the babel macros are expanded. For example, if the macro is expanded with 'point' at the point of macro call then one would be able to pull in information from the current subtree (like propert

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-09 Thread Jambunathan K
> Jambu> I think there is a strong case for making headlines act as babel > Jambu> srcnames with their body providing content for noweb expansion > Jambu> [3]. This behaviour could be controlled by a buffer local > Jambu> variable. I have some more thoughts on this. Let me capture it before it go

[Orgmode] Re: [BABEL][PROPOSAL] headlines as executable srcnames

2010-09-08 Thread Sébastien Vauban
Hi Jambunathan, Jambunathan K wrote: > Sébastien Vauban > writes: >> Jambunathan K wrote: >>> [...] Any thoughts on how this could be achieved ... >> >> That's going (really) far... But would that be do-able, waaoow! > > Yes it is going far. > > Sometimes going far makes us feel elated while at