emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel: Evaluating code blocks with noweb references but ":no


From: Sebastien Vauban
Subject: Re: [O] org-babel: Evaluating code blocks with noweb references but ":noweb tangle".
Date: Mon, 06 Feb 2012 14:31:43 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.92 (windows-nt)

Hi Yu,

Yu wrote:
> I sometimes have scenarios where I want to use the "noweb" feature in
> interactive evaluation, but want the code to stay in its unexpanded
> form on export. Currently I think, there is no way to achieve this and
> I use tangling into a helper module file as a workaround (which is
> reasonable for python anyway though).
>
> Thus I'd appreciate a new option for the :noweb header argument; Sort
> of an "in between" of ":noweb tangle" and ":noweb yes" ("expand noweb
> references always except for exporting").
>
> kind regards, Yu
>
> PS: I have added example files to the email.

Try `:noweb no-export' which expands noweb references during tangling and
execution, but not during weaving (export).

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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