/[emacs]/emacs/man/cmdargs.texi
ViewVC logotype

Diff of /emacs/man/cmdargs.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.79 by teirllm, Fri Aug 27 23:40:15 2004 UTC revision 1.80 by rms, Fri Dec 3 11:30:11 2004 UTC
# Line 204  and input. Line 204  and input.
204  @item -batch  @item -batch
205  @opindex --batch  @opindex --batch
206  @itemx --batch  @itemx --batch
207  Run Emacs in @dfn{batch mode}, which means that the text being edited is  Run Emacs in @dfn{batch mode}.  Batch mode is used for running
208  not displayed and the standard terminal interrupt characters such as  programs written in Emacs Lisp from shell scripts, makefiles, and so
209  @kbd{C-z} and @kbd{C-c} continue to have their normal effect.  Emacs in  on.  You should also use the @samp{-l} option or @samp{-f} option, to
210  batch mode outputs to @code{stderr} only what would normally be displayed  invoke a Lisp program to do batch processing.
 in the echo area under program control, and functions which would  
 normally read from the minibuffer take their input from @code{stdin}.  
211    
212  Batch mode is used for running programs written in Emacs Lisp from  In batch mode, Emacs does not display the text being edited, and the
213  shell scripts, makefiles, and so on.  Normally the @samp{-l} option  standard terminal interrupt characters such as @kbd{C-z} and @kbd{C-c}
214  or @samp{-f} option will be used as well, to invoke a Lisp program  continue to have their normal effect.  The functions @code{prin1},
215  to do the batch processing.  @code{princ} and @code{print} output to @code{stdout} instead of the
216    echo area, while @code{message} and error messages output to
217    @code{stderr}.  Functions that would normally read from the minibuffer
218    take their input from @code{stdin} instead.
219    
220  @samp{--batch} implies @samp{-q} (do not load an init file).  It also  @samp{--batch} implies @samp{-q} (do not load an init file).  It also
221  causes Emacs to exit after processing all the command options.  In  causes Emacs to exit after processing all the command options.  In

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26