emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Enda <enda_k2@yahoo.com>
To: Bastien <bzg@gnu.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: emacs --batch without calling all the .el scripts
Date: Thu, 14 Jun 2012 09:46:19 -0700 (PDT)	[thread overview]
Message-ID: <1339692379.83118.YahooMailNeo@web163103.mail.bf1.yahoo.com> (raw)
In-Reply-To: <87hauoxpc9.fsf@altern.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 --]

      reply	other threads:[~2012-06-14 16:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=1339692379.83118.YahooMailNeo@web163103.mail.bf1.yahoo.com \
    --to=enda_k2@yahoo.com \
    --cc=bzg@gnu.org \
    --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).