[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to learn lisp
From: |
Kevin Rodgers |
Subject: |
Re: how to learn lisp |
Date: |
Tue, 21 Oct 2008 23:59:40 -0600 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
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