From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Sexton Subject: [babel] By default, code blocks should not be evaluated during export Date: Fri, 8 Apr 2011 04:23:26 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36543 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q83EU-0007eZ-TW for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 00:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q83EU-0002lu-0T for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 00:23:42 -0400 Received: from lo.gmane.org ([80.91.229.12]:38829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q83ET-0002ll-RA for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 00:23:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q83EP-00034W-Fc for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 06:23:38 +0200 Received: from rp.young.med.auckland.ac.nz ([130.216.140.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2011 06:23:37 +0200 Received: from psexton by rp.young.med.auckland.ac.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2011 06:23:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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