From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org Babel code blocks in COMMENT subtrees gets executed!? Date: Fri, 13 Feb 2015 22:02:03 +0100 Message-ID: <87k2zlttis.fsf@nicolasgoaziou.fr> References: <86386aozgs.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMNMT-0000N5-Lc for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 16:01:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMNMP-0002q7-Ck for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 16:01:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:38808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMNMP-0002pm-5w for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 16:01:13 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YMNMM-0003Ay-Em for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 22:01:10 +0100 In-Reply-To: <86386aozgs.fsf@example.com> (Sebastien Vauban's message of "Fri, 13 Feb 2015 11:52:35 +0100") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, Sebastien Vauban writes: > Save this as and Org file, and press C-c C-v C-e... > > * Intro > > #+begin_src emacs-lisp > (print "Foo") > #+end_src > > * COMMENT Method > > #+begin_src emacs-lisp > (print "Bar") > #+end_src > > ^ I don't think we should have blocks in COMMENT trees executed, right? > > Isn't that supposed to be (one of) the difference(s) between :noexport: > and COMMENT? C-c C-v C-e on the block executes it. I see nothing wrong with that. However, during an export process, it will not be executed. Do you mean anything else? Regards, -- Nicolas Goaziou