[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!? |
Date: |
Fri, 13 Feb 2015 22:02:03 +0100 |
Hello,
Sebastien Vauban <sva-news-D0wtAvR13HarG/address@hidden>
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