emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "orgmode@h-rd.org" <orgmode@h-rd.org>
To: emacs-orgmode@gnu.org
Cc: orgmode@h-rd.org
Subject: possible Bug: non-interactive publishing (emacs 22.1)
Date: Wed, 09 Jun 2010 15:21:20 +0200	[thread overview]
Message-ID: <20100609152120.2ab7l1te884sw8ww@webmail.dds.nl> (raw)


Hi Carsten,

when using org to publish non-interactively under 22.3.1 I get  
sometimes an error, depending on which publishing function I call.   
This does not happen during interactive calling of the publishing  
function (i.e. M-x org-publish ).

no error:
emacs -q -batch -l ../org-init.el --eval='(org-publish-all)'

with error:
emacs -q -batch -l ../org-init.el --eval='(org-publish "h-rd.org" t)'

(obviously the project h-rd.org exists, and is published without error  
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  
(append ... rest)                                                       
          ) (push p rtn))
   (while (setq p (pop rest)) (if (setq components ...) (setq rest  
...) (push p r                                                          
       tn)))
   (let ((rest projects-alist) rtn p components) (while (setq p ...)  
(if ... ...                                                             
     ...)) (nreverse (org-publish-delete-dups ...)))
   org-publish-expand-projects(("h-rd.org"))
   (mapc (lambda (project) (let* ... ... ... ... ... ...))  
(org-publish-expand-pr                                                  
               ojects projects))
   org-publish-projects(("h-rd.org"))
   (let* ((org-publish-use-timestamps-flag ...)) (org-publish-projects  
(list proj                                                              
   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=(org-publish  
\"h-rd.org\" t)"))
   command-line()
   normal-top-level()

emacs finished


greetings.

             reply	other threads:[~2010-06-09 13:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 13:21 orgmode [this message]
2010-06-09 21:22 ` possible Bug: non-interactive publishing (emacs 22.1) Sebastian Rose
2010-06-09 21:33   ` [Patch] " Sebastian Rose
2010-06-10  9:51     ` [Solved] " orgmode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100609152120.2ab7l1te884sw8ww@webmail.dds.nl \
    --to=orgmode@h-rd.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).