From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox, patch] external compilation Date: Fri, 20 Feb 2015 17:10:22 +0100 Message-ID: <878ufs36oh.fsf@nicolasgoaziou.fr> References: <87wq3e5e23.fsf@gmx.us> <873860vl9l.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOq8j-0001Dh-53 for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:09:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOq8f-0008KL-Vn for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:09:17 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:43390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOq8f-0008KH-Pv for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 11:09:13 -0500 In-Reply-To: <873860vl9l.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 20 Feb 2015 13:07:50 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: >> Ideally, what I would like would be to specify a per-file/project init >> file. Sort of like org-export-async-init-file, but as part of >> org-export-options-alist to get the "init.el-dependency" inside the >> Org-file. It would be read when Org exports async or via batch. > > This patch moves org-export-async-init-file to org-export-options-alist > and introduces #+INIT for setting it in a file. >SW > It also automatically "switches" to async export if running Emacs in > batch. I don't know if this is a good idea! E.g. I guess it would starts > a new Emacs process from a Emacs batch process... > > WDYT? Would something like this be appropriate? Can't you simply set-up a publishing project? You can also use (let ((org-export-async-init-file "whatever.el")) (org-latex-export-to-file ...)) Regards, -- Nicolas Goaziou