From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [Bug] [babel] calls in :noexport: subtrees evaluated Date: Wed, 05 Sep 2012 15:12:23 +0200 Message-ID: <878vcobolk.fsf@med.uni-goettingen.de> References: <87ipbtc5q0.fsf@med.uni-goettingen.de> <80y5ko3cko.fsf@somewhere.org> <87zk54ejc4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9FPV-0001K8-JN for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 09:12:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9FPU-0006Pi-CE for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 09:12:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:33741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9FPU-0006Pa-4B for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 09:12:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9FPU-0004jf-1k for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 15:12:48 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2012 15:12:48 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2012 15:12:48 +0200 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > "Sebastien Vauban" > writes: > >> Andreas Leha wrote: >>> it seems to me, that #+call lines in subtrees with the :noexport: tag >>> are evaluated. Is this intended? > > As far as the new exporter goes (you may want to have a look at > `org-export-as' function), the order is: > > - Process macros. > - Expand #+INCLUDE: keywords. > - Evaluate code blocks. > > Note that "noexport" sub-trees are not inhibited. The are just skipped > when the parse tree is processed. > > To answer the OP, :noexport: tag is related to export, not to > src-blocks. There are already other ways to disable code evaluation on > subtrees. It may be useful, as in your case, to have their behaviour > linked, but again, sometimes not. > > It's often better to keep separate things, well, separate. My expectation still is the "linked" case, but I can live in the unlinked org mode world. Thanks for the clarification, anyway. Regards, Andreas