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 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 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 >> <> >> <> >> 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 >> > >