From mboxrd@z Thu Jan  1 00:00:00 1970
From: Achim Gratz <Stromeko@nexgo.de>
Subject: Re: possible org bug
Date: Wed, 25 Jul 2012 20:17:46 +0200
Message-ID: <878ve7d7sl.fsf@Rainer.invalid>
References: <87d33rzecj.fsf@argentum.i-did-not-set--mail-host-address--so-tickle-me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:41469)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1Su69w-0004Jx-Av
	for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 14:18:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1Su69v-00029d-0X
	for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 14:18:08 -0400
Received: from plane.gmane.org ([80.91.229.3]:39759)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1Su69u-00029P-Pn
	for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 14:18:06 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1Su69r-0000pk-Ti
	for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 20:18:03 +0200
Received: from pd9eb55b1.dip.t-dialin.net ([217.235.85.177])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Wed, 25 Jul 2012 20:18:03 +0200
Received: from Stromeko by pd9eb55b1.dip.t-dialin.net with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Wed, 25 Jul 2012 20:18:03 +0200
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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

Robert Louis McIntyre writes:
> 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

I'm getting the same error both in batch and in non-batch mode for Emacs
23.3 and in non-batch-mode for 24.1:

org-publish-cache-ctime-of-src: Wrong type argument: integerp, nil

The export still succeeds, but that error seems related to the fact that
you're using relative file names which are then seemingly interpreted in
the context of where the lisp file is located.  I don't know if relative
file and directory names are proper in org-publish-project-alist and
org-publish-file.  If relative should be supported, then this needs to
either be converted to absolute internally or the context for default
directory has to be carried.  Anyway, if I fix this, I will then get
another non-fatal error:

org-publish-cache-set: `org-publish-cache-set' called, but no cache
present.

Running Emacs 24.1 with toggle-debug-on-error traps in

Debugger entered--Lisp error: (void-function nil)
  nil(1 29 nil)
  c-font-lock-fontify-region(1 29 nil)
  font-lock-fontify-region(1 29 nil)
  byte-code("\212\303 ▒\304\216\305ed   #\210\306 \210\307\211+\207" [save-match-data-internal verbose font-lock-fontified match-data ((byte-code "\30\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) font-lock-fontify-region font-lock-after-fontify-buffer t] 4)
  font-lock-default-fontify-buffer()
  font-lock-fontify-buffer()
  org-export-format-source-code-or-example("java" "import com.jme3.scene.Node;\n" " " 0 nil)
  org-export-replace-src-segments-and-examples()

This looks to be either a bug in font-lock or some missing setup for it
to work correctly, maybe just for Java; or java-mode (which is based on
cc-mode) tries to use facilities that aren't present in batch; or
cc-mode has a bug in version 5.32.2 that is not present in version 5.31.8.

Somebody else will have to take it from there...


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds