emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Standardized code block keywords


From: Eric Schulte
Subject: Re: [O] [RFC] Standardized code block keywords
Date: Wed, 26 Oct 2011 06:16:32 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Daniel Bausch <address@hidden> writes:

>> > However, I'd like to ask, what happens, if one refers to a
>> > name of a source block where data is expected, does it then refer to
>> > the results produced by that source block?  How are such situations
>> > handeled at the moment?
>> 
>> Try it out, but be ready to press C-g, because I would guess that it
>> results in an infinite loop.
>
> Isn't it possible to refer to the results of a code block as input data for 
> another?  I thought it was.  If not currently then at least I suppose that it 
> will be in the future.  The new syntax should be ready for that.
>

Sorry for my confusion.  I thought you meant a case in which code block
A needs the results of code block B as an input parameter, but code
block B needs the results of code block A as an input parameter.  Such a
reciprocal dependency would result in an infinite loop.

But yes, the ability of one code block to call another and make use of
its results is (as Tom mentioned) one of the core features of code block
support in Org-mode.

Cheers -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]