From mboxrd@z Thu Jan 1 00:00:00 1970 From: "orgmode@h-rd.org" Subject: possible Bug: non-interactive publishing (emacs 22.1) Date: Wed, 09 Jun 2010 15:21:20 +0200 Message-ID: <20100609152120.2ab7l1te884sw8ww@webmail.dds.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=51564 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMLE7-0000Md-G8 for emacs-orgmode@gnu.org; Wed, 09 Jun 2010 09:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMLDm-0007Ya-2H for emacs-orgmode@gnu.org; Wed, 09 Jun 2010 09:21:49 -0400 Received: from rotring.dds.nl ([85.17.178.138]:40287) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMLDl-0007Xo-QJ for emacs-orgmode@gnu.org; Wed, 09 Jun 2010 09:21:30 -0400 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: orgmode@h-rd.org Hi Carsten, when using org to publish non-interactively under 22.3.1 I get =20 sometimes an error, depending on which publishing function I call. =20 This does not happen during interactive calling of the publishing =20 function (i.e. M-x org-publish ). no error: emacs -q -batch -l ../org-init.el --eval=3D'(org-publish-all)' with error: emacs -q -batch -l ../org-init.el --eval=3D'(org-publish "h-rd.org" t)' (obviously the project h-rd.org exists, and is published without error =20 and all components from org-publish-all) error message: Starting emacs Loading subst-ksc... Loading subst-gb2312... Loading subst-big5... Loading subst-jis... Debugger entered--Lisp error: (wrong-type-argument listp "h-rd.org") cdr("h-rd.org") (plist-get (cdr p) :components) (setq components (plist-get (cdr p) :components)) (if (setq components (plist-get ... :components)) (setq rest =20 (append ... rest) =20 ) (push p rtn)) (while (setq p (pop rest)) (if (setq components ...) (setq rest =20 ...) (push p r =20 tn))) (let ((rest projects-alist) rtn p components) (while (setq p ...) =20 (if ... ... =20 ...)) (nreverse (org-publish-delete-dups ...))) org-publish-expand-projects(("h-rd.org")) (mapc (lambda (project) (let* ... ... ... ... ... ...)) =20 (org-publish-expand-pr =20 ojects projects)) org-publish-projects(("h-rd.org")) (let* ((org-publish-use-timestamps-flag ...)) (org-publish-projects =20 (list proj =20 ect))) (save-window-excursion (let* (...) (org-publish-projects ...))) org-publish("h-rd.org" t) eval((org-publish "h-rd.org" t)) command-line-1(("-l" "../org-init.el" "--eval=3D(org-publish =20 \"h-rd.org\" t)")) command-line() normal-top-level() emacs finished greetings.