From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Org Babel code blocks in COMMENT subtrees gets executed!? Date: Fri, 13 Feb 2015 23:06:38 +0100 Message-ID: <86d25djwk1.fsf@example.com> References: <86386aozgs.fsf@example.com> <87k2zlttis.fsf@nicolasgoaziou.fr> 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 Hello Nicolas, Nicolas Goaziou wrote: > 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? I guess you must be right. I've mentally confused "execute all code blocks in buffer" with "export". I don't think he should work otherwise. Sorry for the noise. Best regards, Seb -- Sebastien Vauban