[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!?
From: |
Sebastien Vauban |
Subject: |
Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!? |
Date: |
Fri, 13 Feb 2015 23:06:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
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