From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [RFC] Slight change to asynchronous export Date: Tue, 29 Oct 2013 11:50:26 +0100 Message-ID: <87mwls73m5.fsf@gmx.us> References: <87fvrnawes.fsf@gmail.com> <87li1d1ljp.fsf@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]:41703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb6ss-0000vA-C2 for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 06:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb6sj-0004kI-TS for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 06:50:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:59474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb6sj-0004k2-IP for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 06:50:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vb6si-0005I0-0B for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 11:50:40 +0100 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Oct 2013 11:50:39 +0100 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Oct 2013 11:50:39 +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 Nicolas Goaziou writes: > At the moment, by default, external emacs process for asynchronous > export is called with: > /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... > where `org-export-async-init-file' defaults to `user-init-file'. It is, > by default, not the same as calling "emacs", because of the "-Q". > I suggest allowing a nil (default) value for > `org-export-async-init-file'. In that case, the command will become: > /path/to/emacs --batch ... export stuff... > If it is a file, it will be the same as before. > WDYT? Fine with me. I wouldn't use it as I have customizations in my Emacs file though. I'm guessing this is the case for most people. . . Aaron Ecay writes: > 2013ko urriak 27an, Nicolas Goaziou-ek idatzi zuen: > I guess you want to make it so that users don’t have to configure async > export (beyond just flipping it on) in order to use it. But I don’t > know if there is a sensible way to parcel out benign bits of > initialization code from dangerous ones without user intervention. > (“Dangerous” only in the sense of “should not be run by the export > process”.) The issue is parsing out settings like org-latex-tables-booktabs etc. I have a pretty structured init file and am able to pick out the right parts of my config file by only evaluating the part of the init file that starts with ";;*+ Org" and end with "**? [A-Za-z0-9]". –Rasmus -- Vote for proprietary math!