Thanks for this patch, I've just applied it. -- Eric aditya siram <aditya.si...@gmail.com> 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 <aditya.si...@gmail.com>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 <aditya.si...@gmail.com>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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode