From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nick Dokos <nicholas.dokos@hp.com>
Subject: Re: Error building org-e-publish
Date: Mon, 14 Jan 2013 16:18:31 -0500
Message-ID: <4083.1358198311@alphaville>
References: <50F33C33.1080607@no8wireless.co.nz> <87sj64xxi0.fsf@adboyd.com>
	<loom.20130114T214057-424@post.gmane.org>
Reply-To: nicholas.dokos@hp.com
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:58405)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nicholas.dokos@hp.com>) id 1TurQX-00032K-UJ
	for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 16:18:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <nicholas.dokos@hp.com>) id 1TurQW-0002Cj-Ef
	for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 16:18:41 -0500
Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:9725)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nicholas.dokos@hp.com>) id 1TurQW-0002Bj-9T
	for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 16:18:40 -0500
In-Reply-To: Message from Michael Gauland <mikelygee@no8wireless.co.nz>
	of "Mon,
	14 Jan 2013 20:43:23 GMT." <loom.20130114T214057-424@post.gmane.org>
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: Michael Gauland <mikelygee@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org

Michael Gauland <mikelygee@no8wireless.co.nz> wrote:

> J. David Boyd <david <at> adboyd.com> writes:
> 
> > Mine builds with no problem at all, using emacs 24.2.92.
> > 
> > You sure you have the latest git source?  I just did an update a moment
> > ago...
> > 
> 
> Thanks for the info. I've got the latest git, but I'm running emacs 23.2 (under
> Debian).
> I can evaluate all the code on org-e-publish.el, but get the error when I try to
> byte-compile it.
> 
> I was able to build in on my Windows machine, which uses emacs 24.
> 
> Anyone able to build on emacs 23?  
> 

I modified local.mk to use emacs23 and set

ORG_ADD_CONTRIB = org-export org-e-*

I then did ``make compile'' - I get the following errors/warning:

,----
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-e-publish.el...
| 
| In toplevel form:
| org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore)
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-e-texinfo.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-e-texinfo.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-element.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-element.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-entities.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-entities.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-eshell.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-eshell.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-exp-blocks.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-exp-blocks.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-exp.el...
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-exp.elc
| Compiling /home/nick/src/emacs/org/org-mode/lisp/org-export.el...
| 
| In toplevel form:
| org-export.el:5242:59:Warning: variable assignment to constant
|     `org-export-stack-mode-map'
| Wrote /home/nick/src/emacs/org/org-mode/lisp/org-export.elc
`----

I looked at the first one only:

Not sure why emacs24 does not complain but org-e-publish contains this bit of
code:
,----
|         ...
| 	(org-export-async-start 'ignore
| 	  `(let ((org-e-publish-use-timestamps-flag
| 		  (if ',force nil ,org-e-publish-use-timestamps-flag)))
| 	     (org-e-publish-projects ',project-alist)))
|         ...
`----

and org-export-async-start in contrib/lisp/org-export.el says:

,----
| (defmacro org-export-async-start  (fun &rest body)
|   "Call function FUN on the results returned by BODY evaluation.
|   ...
`----

so there does seem to be a mismatch.

HTH,
Nick