From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: =?UTF-8?B?UmU6IG9yZy1wdWJsaXNoIHBhcmFtZXRlcnMgbWlzbWF0Y2gg4oaS?= =?UTF-8?B?IGNhbm5vdCBwdWJsaXNoIHRvIEhUTUw=?= Date: Wed, 27 Nov 2013 08:49:06 -0500 Message-ID: <87siuikl9p.fsf@gmail.com> References: <8738miv3sg.wl%n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlfUh-0004Oo-4N for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:49:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlfUb-0006R7-1k for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:49:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:43736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlfUa-0006R3-Rb for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:49:24 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VlfUX-0007yc-Ok for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 14:49:21 +0100 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 14:49:21 +0100 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 14:49:21 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Daniel Clemente writes: > Hi, in ox-publish.el I see in line 555: > > (defun org-publish-org-to (backend filename extension plist &optional pub-dir) > … > > org-publish-org-to-html seems to have its parameters in the same > order (filename, extension, plist). Correct me if I'm wrong. > > But then in same file, line 654: > (when (org-publish-needed-p > filename pub-dir f tmp-pub-dir base-dir) > (funcall f project-plist filename tmp-pub-dir) > … > > With the default setting f == org-publish-org-to-html, the funcall > passes parameters in the wrong order: plist filename. It should be: > filename extension plist > > Later I see org trying to open the „filename“ variable which is not > a file name but a plist: (wrong-type-argument stringp (:base-directory > "~/repoweb/ofinial…" …) …) file-truename((:base-directory > "~/repoweb/ofinial/hacer/" :publishing-directory …) …) > > > Maybe my setup is wrong (I'm confused with the org-publish / > ox-publish mix) but the org-publish-project-alist seems safe; the > stranges thing is: :publishing-function org-publish-org-to-html > > > Does org-publish work for someone else? Why do I see new problems > each time I try to publish…? > If you are using org8.X, then org-publish-org-to-html no longer exists. If it does, you are picking up old org bits from somewhere. See http://orgmode.org/worg/org-8.0.html for some tips, but bear in mind that it's probably incomplete. -- Nick