emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Slight change to asynchronous export
Date: Tue, 29 Oct 2013 11:50:26 +0100	[thread overview]
Message-ID: <87mwls73m5.fsf@gmx.us> (raw)
In-Reply-To: 87li1d1ljp.fsf@gmail.com


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 <aaronecay@gmail.com> 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!

  parent reply	other threads:[~2013-10-29 10:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-27  9:35 [RFC] Slight change to asynchronous export Nicolas Goaziou
2013-10-28  8:46 ` Sebastien Vauban
2013-10-28  9:04   ` Nicolas Goaziou
2013-10-29 10:43     ` Rasmus
2013-10-29 13:27       ` Nicolas Goaziou
2013-10-28 15:04 ` Carsten Dominik
2013-10-28 15:07 ` Aaron Ecay
2013-10-28 17:18   ` Nicolas Goaziou
2013-10-28 17:22     ` Aaron Ecay
2013-10-29 10:50   ` Rasmus [this message]
2013-10-28 17:39 ` Achim Gratz
2013-10-29  8:35   ` Nicolas Goaziou
2013-10-29 17:42     ` Rick Frankel
2013-10-30  8:27       ` Sebastien Vauban
2013-10-30 10:00       ` Nicolas Goaziou
2013-10-30 13:50         ` Rick Frankel
2013-10-31 10:23           ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwls73m5.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).