emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org Babel code blocks in COMMENT subtrees gets executed!?
@ 2015-02-13 10:52 Sebastien Vauban
  2015-02-13 21:02 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2015-02-13 10:52 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Save this as and Org file, and press C-c C-v C-e...

--8<---------------cut here---------------start------------->8---
* 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?

* Results

#+begin_src emacs-lisp
(print "Baz")
#+end_src
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-13 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-13 10:52 Org Babel code blocks in COMMENT subtrees gets executed!? Sebastien Vauban
2015-02-13 21:02 ` Nicolas Goaziou
2015-02-13 22:06   ` Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).