From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [SOLVED] [org-babel] References Not Expanding Date: Wed, 25 Aug 2010 12:22:03 -0600 Message-ID: <878w3ua6yc.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=40139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoKby-0006iS-Mq for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 14:22:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoKbw-0006e7-P0 for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 14:22:10 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:46975) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoKbw-0006e1-Jr for emacs-orgmode@gnu.org; Wed, 25 Aug 2010 14:22:08 -0400 Received: by pwj6 with SMTP id 6so313648pwj.0 for ; Wed, 25 Aug 2010 11:22:07 -0700 (PDT) In-Reply-To: (aditya siram's message of "Sun, 22 Aug 2010 16:32:28 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: aditya siram Cc: emacs-orgmode@gnu.org Thanks for this patch, I've just applied it. -- Eric aditya siram 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 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 >>> >> >> > > _______________________________________________ > 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