From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enda Subject: Re: emacs --batch without calling all the .el scripts Date: Thu, 14 Jun 2012 09:46:19 -0700 (PDT) Message-ID: <1339692379.83118.YahooMailNeo@web163103.mail.bf1.yahoo.com> References: <1339002299.93787.YahooMailNeo@web121402.mail.ne1.yahoo.com> <87hauoxpc9.fsf@altern.org> Reply-To: Enda Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="673831718-1651168129-1339692379=:83118" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfDBf-0001eY-IM for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 12:46:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfDBd-0005pA-KM for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 12:46:23 -0400 Received: from nm39-vm0.bullet.mail.bf1.yahoo.com ([72.30.239.144]:43898) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SfDBd-0005om-DC for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 12:46:21 -0400 In-Reply-To: <87hauoxpc9.fsf@altern.org> 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: Bastien Cc: "emacs-orgmode@gnu.org" --673831718-1651168129-1339692379=:83118 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Enda writes:=0A=0A=0A> emacs --batch --visit=3Dindex.org --funcall org-expo= rt-as-html-batch=0A>=0A> all the .el scripts in /etc/emacs/site-start.d/ ge= t called which=0A> takes=0A> time, since all of these are unnecessary excep= t 50org-mode.el, is=0A> there is way to only load 50org-mode.el=0A=0A=0ABas= tien=A0writes:=0A=0A=0A>Untested:=0A>=0A>emacs -Q --batch --visit=3Dindex.o= rg -l \=0A>/etc/emacs/site-start.d/50org-mode.el \=0A>--funcall org-export-= as-html-batch=0A>=0A>HTH,=0A=0A=0AThis worked:=0A=0Aemacs -Q --batch --visi= t=3Dindex.org --funcall org-export-as-html-batch=0A=0A=0AIt did not require= the=A0-l =A0/etc/emacs/site-start.d/50org-mode.el.=0A=0A=0ABest wishes,=0A= =0AEnda=0A --673831718-1651168129-1339692379=:83118 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Enda writes:

> emacs --batch --visit= =3Dindex.org --funcall org-export-as-html-batch
>
> all the .el= scripts in /etc/emacs/site-start.d/ get called which
> takes
>= time, since all of these are unnecessary except 50org-mode.el, is
> = there is way to only load 50org-mode.el


Bastien writes:
=

>Untested:>
>emacs -Q --batch --visit=3Dindex.org -l \
>/etc/emacs/site-start.d/50org-mode.el \
>--funcall org-expo= rt-as-html-batch
>
>HTH,


This worked:

emacs -Q --batch --visit=3Dindex.org --funcall org-export-as-html-batc= h

It did not require the -l  /etc/emacs/site-start.d/50org-mode.el<= /span>.



Enda<= /div>

--673831718-1651168129-1339692379=:83118--