From: "Eric Schulte" <schulte.eric@gmail.com>
To: aditya siram <aditya.siram@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [SOLVED] [org-babel] References Not Expanding
Date: Wed, 25 Aug 2010 12:22:03 -0600 [thread overview]
Message-ID: <878w3ua6yc.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTingDLmd-J75FzYA_WDRbTKUUsP1U76i8S5UKHN-@mail.gmail.com> (aditya siram's message of "Sun, 22 Aug 2010 16:32:28 -0500")
Thanks for this patch, I've just applied it. -- Eric
aditya siram <aditya.siram@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.siram@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.siram@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
prev parent reply other threads:[~2010-08-25 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-21 21:42 [org-babel] References Not Expanding aditya siram
2010-08-22 21:21 ` [SOLVED] " aditya siram
2010-08-22 21:32 ` aditya siram
2010-08-25 18:22 ` Eric Schulte [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878w3ua6yc.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=aditya.siram@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).