Re: [O] Error building org-e-publish
Hello, Achim Gratz strom...@nexgo.de writes: Michael Gauland writes: Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. It may build, but it is completely wrong. The error is triggered during expanding the macro and it seems that the special reader form #' does in fact expect a lambda list in Emacs 23 (as indicated by the error message) while it also recognizes a function symbol in Emacs 24. Using a normal quote should be possible here, but I'll leave it to Nicolas to commit any changes. I have applied the change. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Error building org-e-publish
Michael Gauland writes: I don't normally use 'publish', but it appears to be required for some of the exporters I use. I've added it to ORG_ADD_CONTRIB, but it fails to build: You need a few more files than just org-e-publish, so please post the output of 'make config'. Compiling file /home/mike/elisp/org-mode-clean/lisp/org-e-publish.el at Mon Jan 14 11:51:11 2013 org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore) I remember seeing this error before, but not with the current version and Emacs 23.4. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Error building org-e-publish
Michael Gauland writes: Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. It may build, but it is completely wrong. The error is triggered during expanding the macro and it seems that the special reader form #' does in fact expect a lambda list in Emacs 23 (as indicated by the error message) while it also recognizes a function symbol in Emacs 24. Using a normal quote should be possible here, but I'll leave it to Nicolas to commit any changes. --8---cut here---start-8--- diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index d2398a7..8702e41 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -4988,7 +4988,7 @@ (defmacro org-export-async-start (fun rest body) ;; Set-up sentinel in order to catch results. (set-process-sentinel ,process - (let ((handler #',fun)) + (let ((handler ',fun)) `(lambda (p status) (let ((proc-buffer (process-buffer p))) (when (eq (process-status p) 'exit) --8---cut here---end---8--- Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Error building org-e-publish
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? Kind Regards, Mike
Re: [O] Error building org-e-publish
Michael Gauland mikely...@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
Re: [O] Error building org-e-publish
Nick Dokos nicholas.dokos at hp.com writes: 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. Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. Could you confirm that fixes it for you as well? If so, I'll submit a patch. Thanks for you help. --Mike
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz wrote: Nick Dokos nicholas.dokos at hp.com writes: 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. Thanks, Nick. If I change 'ignore to ignore (without the tick), it builds for me on both systems. Not sure I understand. Can you explain why that would be a good fix? Thanks, Nick
Re: [O] Error building org-e-publish
On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. signature.asc Description: OpenPGP digital signature
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz wrote: On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. That'd probably be Nicolas Goaziou's async export stuff (commit 5319cec2). Nick
Re: [O] Error building org-e-publish
Nick Dokos nicholas.do...@hp.com wrote: Michael Gauland mikely...@no8wireless.co.nz wrote: On 15/01/13 11:11, Nick Dokos wrote: Not sure I understand. Can you explain why that would be a good fix? Looking further into it, I'm not sure it *is* right. I'll see if I can track down the source of those lines, and who contributed them, before second-guessing the intent. That'd probably be Nicolas Goaziou's async export stuff (commit 5319cec2). Sorry, missed a few - there seem to be three main ones (and two more on particular back-ends): 06872a4 export back-ends: Activate asynchronous export 5319cec org-e-publish: Activate asynchronous publishing ffb630b org-export: Add asynchronous process wrapper for export Nick
[O] Error building org-e-publish
I'm having trouble building the latest code from git. I don't normally use 'publish', but it appears to be required for some of the exporters I use. I've added it to ORG_ADD_CONTRIB, but it fails to build: Compiling file /home/mike/elisp/org-mode-clean/lisp/org-e-publish.el at Mon Jan 14 11:51:11 2013 org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore) The faulty line is simply (org-e-publish-projects project-alist) Has anyone else run into this? Any advice would be greatly appreciated. Kind Regards, Mike signature.asc Description: OpenPGP digital signature
Re: [O] Error building org-e-publish
Michael Gauland mikely...@no8wireless.co.nz writes: I'm having trouble building the latest code from git. I don't normally use 'publish', but it appears to be required for some of the exporters I use. I've added it to ORG_ADD_CONTRIB, but it fails to build: Compiling file /home/mike/elisp/org-mode-clean/lisp/org-e-publish.el at Mon Jan 14 11:51:11 2013 org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore) The faulty line is simply (org-e-publish-projects project-alist) Has anyone else run into this? Any advice would be greatly appreciated. Kind Regards, Mike 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...