From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Evaluation on export has stopped working, org-export-blocks hook was culprit? Date: Fri, 28 Oct 2011 23:21:06 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJvjl-0007DA-GM for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 19:21:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJvjk-000846-Dh for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 19:21:21 -0400 Received: from lo.gmane.org ([80.91.229.12]:40805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJvjk-00083r-8J for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 19:21:20 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RJvji-0001o8-Bi for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 01:21:18 +0200 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 01:21:18 +0200 Received: from hesitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 01:21:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I had a system that was working fine, but it seems to have stopped processing babel source blocks on export. I've switched between Org 7.4 and 7.7 on Win32 Emacs 23.1 and both have the problem. As I was writing this up I discovered that the problem was caused by a line I had added to my .emacs. This line was preventing any evaluation of source blocks at all: -------------------------------------------- '(org-export-blocks (quote ((comment org-export-blocks-format-comment nil) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)))) -------------------------------------------- I had innocently been testing out export of comments with org-export-blocks hook and I had forgotten I put that in .emacs some days ago. It seems to have prevented any processing of my source blocks on export. That is the export of the block simply exports the code between begin_src and end_src, regardless of the value of :exports option (both, none, results, code). And, of course, the code in the source block was not getting evaluated. Don't know if this is a known problem or not. Thanks, Herb