emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] By default, code blocks should not be evaluated during export
@ 2011-04-08  4:23 Paul Sexton
  2011-04-08  6:56 ` Rainer M Krug
  2011-04-08 13:50 ` Eric Schulte
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Sexton @ 2011-04-08  4:23 UTC (permalink / raw)
  To: emacs-orgmode

The default value of `org-export-babel-evaluate' is t. 

Having just crashed my Emacs session 5 times in a row trying to get
a file containing a BEGIN_SRC emacs-lisp ... END_SRC *code example*
to export to HTML...

I strongly feel it should default to nil.

I also feel that "executable code block" and "quoted code example that I would
like to display/export with pretty syntax highlighting" are two very different
concepts, and should have different block names.

eg #+BEGIN_EXEC for the executable blocks?
or allow an argument to example blocks, eg "#+BEGIN_EXAMPLE python" ?

Paul

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

end of thread, other threads:[~2011-04-08 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-08  4:23 [babel] By default, code blocks should not be evaluated during export Paul Sexton
2011-04-08  6:56 ` Rainer M Krug
2011-04-08 13:50 ` Eric Schulte
2011-04-08 15:28   ` Nick Dokos

Code repositories for project(s) associated with this 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).