emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Literate Programming - Continue a Source Block?


From: Eric Schulte
Subject: Re: [O] Literate Programming - Continue a Source Block?
Date: Wed, 15 Jun 2011 19:26:35 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Neeum Zawan <address@hidden> writes:

> Eric Schulte <address@hidden> writes:
>> It would be possible to also implement the concatenation behavior during
>> noweb expansion, however I'd prefer to first wait for a response to my
>> recent other email to this thread asking for a more clear explication of
>> existing noweb behavior.
>>
>> The only remaining times when such concatenation behavior could be
>> implemented would be during block reference expansion, and during block
>> evaluation, but I think expanding at those times would be unnecessary
>> and confusing.
>
> I'm having trouble understanding the difference between what you discuss
> in the first paragraph and in the second. What's the difference between
> noweb expansion and block reference expansion?
>

By block reference I meant when variables are assigned to the values of
blocks through reference.  So in the following example the "number"
block has its body returned through "reference expansion".

#+source: number
#+begin_src emacs-lisp
  4
#+end_src

#+begin_src emacs-lisp :var num=number
  (* num 2)
#+end_src

Best -- Eric

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



reply via email to

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