From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to learn lisp
Date: Tue, 21 Oct 2008 23:59:40 -0600 [thread overview]
Message-ID: <gdmffs$e18$1@ger.gmane.org> (raw)
In-Reply-To: <b41a3fc1-1dca-464e-9f41-d64a353670b9@a3g2000prm.googlegroups.com>
TheFlyingDutchman wrote:
>
>> -batch option is, IMO, a bad idea for a beginner since the user
>> has to know what -batch implies internally (what it does, what
>> it can't do, etc.).
>>
> I found out after some head scratching, that the .emacs init file is
> not read when in batch mode. What are some of the other things to be
> aware of in batch mode?
RTFM:
`-batch'
`--batch'
Run Emacs in "batch mode". Batch mode is used for running
programs written in Emacs Lisp from shell scripts, makefiles, and
so on. You should also use the `-l', `-f' or `--eval' option, to
invoke a Lisp program to do batch processing.
In batch mode, Emacs does not display the text being edited, and
the standard terminal interrupt characters such as `C-z' and `C-c'
continue to have their normal effect. The functions `prin1',
`princ' and `print' output to `stdout' instead of the echo area,
while `message' and error messages output to `stderr'. Functions
that would normally read from the minibuffer take their input from
`stdin' instead.
`--batch' implies `-q' (do not load an init file), but
`site-start.el' is loaded nonetheless. It also causes Emacs to
exit after processing all the command options. In addition, it
disables auto-saving except in buffers for which it has been
explicitly requested.
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2008-10-22 5:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 4:34 how to learn lisp jacklisp
2008-10-13 8:01 ` Jordan Greenberg
2008-10-13 13:52 ` William Case
2008-10-21 5:36 ` TheFlyingDutchman
2008-10-21 6:57 ` Tim X
2008-10-22 0:25 ` Xavier Maillard
[not found] ` <mailman.1753.1224635369.25473.help-gnu-emacs@gnu.org>
2008-10-22 2:12 ` TheFlyingDutchman
2008-10-22 5:59 ` Kevin Rodgers [this message]
2008-10-22 7:37 ` Xah
2008-10-22 11:29 ` Javier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gdmffs$e18$1@ger.gmane.org' \
--to=kevin.d.rodgers@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.