From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: :components part in org-publish-project-alist fails Date: Tue, 04 Nov 2014 12:30:59 +0100 Message-ID: <877fzbp5ho.fsf@free.fr> References: <87bnopffmg.fsf@free.fr> <87d295grlm.fsf@nicolasgoaziou.fr> <87egtkyg7y.fsf@free.fr> 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]:37885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlcKS-0003Ye-H9 for emacs-orgmode@gnu.org; Tue, 04 Nov 2014 06:31:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlcKN-0001qK-Bp for emacs-orgmode@gnu.org; Tue, 04 Nov 2014 06:31:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:36716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlcKN-0001qG-5b for emacs-orgmode@gnu.org; Tue, 04 Nov 2014 06:31:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XlcKL-0007yX-HH for emacs-orgmode@gnu.org; Tue, 04 Nov 2014 12:31:09 +0100 Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Nov 2014 12:31:09 +0100 Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Nov 2014 12:31:09 +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 Julien Cubizolles writes: > Nicolas Goaziou writes: > >> I cannot reproduce it. Publishing "global" project succeeds. > > Did you publish asynchronously ? I can publish "global" and "latex" > synchronously, "latex" asynchronously (see the following *Org Export > Process* buffer) : only "global" fails when run asynchronously. I investigated further, here is the barest ECM I could come up with. I run emacs -Q, then evaluate (~/info/emacs/org-mode/lisp is the location of the git depot of org-mode) --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp")) (require 'org) (require 'ox) (setq org-export-async-debug t) (setq org-export-async-init-file "/home/wilk/configuration/elisp/org-export-async-init.el") (setq org-publish-project-alist `(("latex" :base-directory "./" :publishing-directory "./" :publishing-function org-latex-publish-to-latex :exclude ".*" :latex-class "article" :include ("test.org") ) ("global" :components ("latex")))) --8<---------------cut here---------------end--------------->8--- org-export-async-init.el: --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp")) (require 'org) (require 'ox) --8<---------------cut here---------------end--------------->8--- I then open test.org --8<---------------cut here---------------start------------->8--- * Ceci est un essai * Ceci est un deuxième heading --8<---------------cut here---------------end--------------->8--- the "latex" and "global" are correctly exported synchronously, "latex" is also correctly exported asynchronously but "global" isn't: no tex file is produced and the *Org Export Process* only contains "nil". Julien.