emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] code execution in commented lines
@ 2012-09-06  7:02 Andreas Leha
  2012-09-06 11:58 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Leha @ 2012-09-06  7:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

by now I learned not to call behaviour not meeting my expectations a
bug hastily....

So, here is my question:
Is it intended that code in commented lines gets executed during export?

# example: buggy, thus commented src_R{Sys.sleep(10) && stop("Here is a Bug")}

This kind of violates the I-quickly-comment-this-out style of fixing
broken parts of the document ;-)

Regards,
Andreas

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

* Re: [babel] code execution in commented lines
  2012-09-06  7:02 [babel] code execution in commented lines Andreas Leha
@ 2012-09-06 11:58 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-09-06 11:58 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Hello,

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi all,
>
> by now I learned not to call behaviour not meeting my expectations a
> bug hastily....
>
> So, here is my question:
> Is it intended that code in commented lines gets executed during export?
>
> # example: buggy, thus commented src_R{Sys.sleep(10) && stop("Here is
> a Bug")}

No it isn't intended. There's a pending patch for this, but it requires
some background changes that are not available yet.

I'll try to fix it soon.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2012-09-06 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06  7:02 [babel] code execution in commented lines Andreas Leha
2012-09-06 11:58 ` Nicolas Goaziou

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).