[Top][All Lists]

[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:32:28 -0500

The last patch is formatted for email. Here's the correct one. Sorry.

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.


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
  main = print $ test [1,2,3]

* Imports
#+srcname: Imports
#+begin_src haskell
  import Control.Monad.State

* Append Function
#+srcname: Test
#+begin_src haskell
  test = length

I have tried unsuccessfully to make "Imports" and "Append Function" children of "Root".


Attachment: noweb_references_expand_on_session_load.patch
Description: Text Data

reply via email to

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