emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* emacs --batch without calling all the .el scripts
@ 2012-06-06 17:04 Enda
  2012-06-06 18:30 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Enda @ 2012-06-06 17:04 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 513 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs --batch without calling all the .el scripts
  2012-06-06 17:04 emacs --batch without calling all the .el scripts Enda
@ 2012-06-06 18:30 ` Bastien
  2012-06-14 16:46   ` Enda
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-06-06 18:30 UTC (permalink / raw)
  To: Enda; +Cc: emacs-orgmode@gnu.org

Enda <enda_k2@yahoo.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs --batch without calling all the .el scripts
  2012-06-06 18:30 ` Bastien
@ 2012-06-14 16:46   ` Enda
  0 siblings, 0 replies; 3+ messages in thread
From: Enda @ 2012-06-14 16:46 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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


Bastien writes:


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


This worked:

emacs -Q --batch --visit=index.org --funcall org-export-as-html-batch


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


Best wishes,

Enda

[-- Attachment #2: Type: text/html, Size: 2935 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-14 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 17:04 emacs --batch without calling all the .el scripts Enda
2012-06-06 18:30 ` Bastien
2012-06-14 16:46   ` Enda

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).