From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: org-babel: Evaluating code blocks with noweb references but ":noweb tangle". Date: Mon, 06 Feb 2012 14:31:43 +0100 Message-ID: <80vcnkjdfk.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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