emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [SOLVED] [org-babel] References Not Expanding


From: Eric Schulte
Subject: Re: [Orgmode] Re: [SOLVED] [org-babel] References Not Expanding
Date: Wed, 25 Aug 2010 12:22:03 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thanks for this patch, I've just applied it. -- Eric

aditya siram <address@hidden> writes:

> The last patch is formatted for email. Here's the correct one. Sorry.
> -deech
>
> On Sun, Aug 22, 2010 at 4:21 PM, aditya siram <address@hidden>wrote:
>
>> The function that loads the code block into the interpreter
>> org-babel-load-in-session does not do noweb reference expansion.
>>
>> I have included a git patch that adds that functionality.
>>
>> -deech
>>
>>
>> On Sat, Aug 21, 2010 at 4:42 PM, aditya siram <address@hidden>wrote:
>>
>>> Hi all,
>>> I have the development version of org-mode and org-babel noweb style
>>> references are not expanding during evaluation, they are instead copied
>>> literally into the temp file. They seem to expand fine when tangling. Here
>>> is file that is failing:
>>> * Root
>>> #+begin_src haskell :noweb yes :tangle Main.hs
>>>   <<Imports>>
>>>   <<Test>>
>>>   main = print $ test [1,2,3]
>>> #+end_src
>>>
>>> * Imports
>>> #+srcname: Imports
>>> #+begin_src haskell
>>>   import Control.Monad.State
>>> #+end_src
>>>
>>> * Append Function
>>> #+srcname: Test
>>> #+begin_src haskell
>>>   test = length
>>> #+end_src
>>>
>>> I have tried unsuccessfully to make "Imports" and "Append Function"
>>> children of "Root".
>>>
>>> Thanks!
>>> -deech
>>>
>>
>>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

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