emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: aditya siram
Subject: [Orgmode] Re: [SOLVED] [org-babel] References Not Expanding
Date: Sun, 22 Aug 2010 16:21:58 -0500

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

Attachment: noweb_references_expand_on_session_load.patch
Description: Text Data


reply via email to

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