unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Emacs Help List <help-gnu-emacs@gnu.org>
Subject: Limiting init loading when running --batch
Date: Wed, 04 Mar 2015 22:33:55 -0500	[thread overview]
Message-ID: <87pp8okti4.fsf@gmail.com> (raw)

I use --batch as part of a shell script to export my orgmode agenda as an ICS file and upload it to a server where it is read by Google Calendar. But when I run batch, it loads my entire emacs (most of which is not necessary for this operation) and sometimes chokes on lines that are apparently incompatible. Is there a way to avoid loading the whole init file, or to prepend lines with something that would except them from batch runs? 



             reply	other threads:[~2015-03-05  3:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05  3:33 Tory S. Anderson [this message]
2015-03-05  3:59 ` Limiting init loading when running --batch Drew Adams
2015-03-05  4:00   ` Drew Adams
     [not found] <mailman.1357.1425526443.31049.help-gnu-emacs@gnu.org>
2015-03-05  4:16 ` Emanuel Berg

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pp8okti4.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=help-gnu-emacs@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.
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).