From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox, patch] external compilation Date: Sat, 21 Feb 2015 13:59:51 +0100 Message-ID: <87oaon1ku0.fsf@nicolasgoaziou.fr> References: <87wq3e5e23.fsf@gmx.us> <873860vl9l.fsf@gmx.us> <878ufs36oh.fsf@nicolasgoaziou.fr> <878ufssg8r.fsf@gmx.us> <874mqg32s4.fsf@nicolasgoaziou.fr> <87r3tkqw94.fsf@gmx.us> <87wq3c1k6d.fsf@nicolasgoaziou.fr> <87lhjsqspq.fsf@gmx.us> <87sidz1ua8.fsf@nicolasgoaziou.fr> <87bnkna455.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP9e9-0008Mv-Dh for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 07:59:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YP9e6-00017O-9I for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 07:59:01 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:58639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YP9e6-00016V-3F for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 07:58:58 -0500 In-Reply-To: <87bnkna455.fsf@gmx.us> (rasmus@gmx.us's message of "Sat, 21 Feb 2015 12:35:34 +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 Rasmus writes: > That's more or less what I do cf. the first post, namely > > # Local Variables: > # eval: (unless noninteractive (load-file "org-conf.el")) > # End: > > [Which gives me the annoying prompt]. The solution I gave you doesn't prompt anything. > With the dependency specified in an #+INIT or #+PREAMBLE or #+LISP-SETUP > or whatever. For the sake of making ox export for arbitrary $1 " as easy > as latex". (Even better would be a dedicated binary: "ox --latex $1"). > > I don't know if it's a security issue, and if you don't see a benefit from > the above, I won't push further. I don't see the point of adding a feature that will _only_ benefit to other editors than Emacs. Also, I have trouble understanding why you would need to switch init file per document, instead of using, e.g., #+SETUPFILE. To solve a portability issue, which is a related problem, then you don't want to change init file for a give Org document, but instead attach it to fixed set-up. We could work it out by defining a new file format ".borg" (for Bundled Org) containing both the init file and the document, in a compressed directory (created, e.g., with `org-assimilate'). Regards,