From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enda Subject: emacs --batch without calling all the .el scripts Date: Wed, 6 Jun 2012 10:04:59 -0700 (PDT) Message-ID: <1339002299.93787.YahooMailNeo@web121402.mail.ne1.yahoo.com> Reply-To: Enda Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="-1143764165-622741787-1339002299=:93787" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScJfO-0005PZ-V1 for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 13:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScJfJ-0002kD-5B for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 13:05:06 -0400 Received: from nm4-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.164]:37183) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ScJfI-0002k4-QS for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 13:05:01 -0400 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" ---1143764165-622741787-1339002299=:93787 Content-Type: text/plain; charset=us-ascii When I call: emacs --batch --visit=index.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 Best wishes, Enda ---1143764165-622741787-1339002299=:93787 Content-Type: text/html; charset=us-ascii
When I call:
emacs --batch --visit=index.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


Best wishes,

Enda
---1143764165-622741787-1339002299=:93787-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: emacs --batch without calling all the .el scripts Date: Wed, 06 Jun 2012 20:30:05 +0200 Message-ID: <87hauoxpc9.fsf@altern.org> References: <1339002299.93787.YahooMailNeo@web121402.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScL29-0003qE-Tk for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 14:32:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScL23-0005Yl-OP for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 14:32:41 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:48715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScL23-0005XB-Fn for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 14:32:35 -0400 Received: by mail-wg0-f49.google.com with SMTP id ds1so4786428wgb.30 for ; Wed, 06 Jun 2012 11:32:34 -0700 (PDT) In-Reply-To: <1339002299.93787.YahooMailNeo@web121402.mail.ne1.yahoo.com> (Enda's message of "Wed, 6 Jun 2012 10:04:59 -0700 (PDT)") 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: Enda Cc: "emacs-orgmode@gnu.org" Enda writes: > emacs --batch --visit=index.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 Untested: emacs -Q --batch --visit=index.org -l \ /etc/emacs/site-start.d/50org-mode.el \ --funcall org-export-as-html-batch HTH, -- Bastien 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--