From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Louis McIntyre Subject: possible org bug Date: Thu, 19 Jul 2012 15:27:08 -0500 Message-ID: <87d33rzecj.fsf@argentum.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrxMV-00086h-Ca for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 16:30:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrxMU-0003ZH-8O for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 16:30:15 -0400 Received: from moonlitnights.net ([173.203.202.72]:58499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrxMU-0003Z4-3G for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 16:30:14 -0400 Received: from localhost (unknown [199.80.104.181]) by moonlitnights.net (Postfix) with ESMTPSA id 9F59053A for ; Thu, 19 Jul 2012 21:31:09 +0100 (BST) 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'm trying to upgrade my org distribution and ran into a problem exporting java code blocks to html. I'm using the following: GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-06-11 on shirley.hoetzel.info Org-mode version 7.8.11 (release_7.8.11-217-g99ef57 @ /home/r/config/emacs/extend/org-mode/lisp/) When I try to export certain org files with java code blocks while using emacs in --batch mode, the export fails with the error: Symbol's function definition is void: nil This only happens when using emacs in batch mode. I've created a minimal example that demonstrates this problem at: http://aurellem.org/dl/possible-org-bug.tar.bz2 there are two batch scripts, fails.sh and works.sh, the only difference being that one uses emacs with the --batch option while the other does not. In order to run these scripts, you will have to change the load-path in org-init.el file to point to your own org distribution. I can confirm that the "fails.sh" script works with my old setup, GNU Emacs 23.4.1 Org-mode version 7.7 Can anyone tell me what might be the problem with --batch that is causing my script to fail? sincerely, --Robert McIntyre