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