(emacs)Initial Options


Next: Command Example Prev: Ordinary Arguments Up: Command Arguments

Initial Options
===============

   The initial options are recognized only at the beginning of the
command line.  If you use more than one of them, they must appear in the
order that they appear in this table.

`-t DEVICE'
     Use DEVICE as the device for terminal input and output.

`-d DISPLAY'
     When running with the X Window System, use the display named
     DISPLAY to make the window that serves as Emacs's terminal.

`-nw'
     Don't communicate directly with X, disregarding the `DISPLAY'
     environment variable even if it is set.  `-nw' stands for
     "non-window."

`-batch'
     Run Emacs in "batch mode", which means that the text being edited
     is not displayed and the standard Unix interrupt characters such
     as `C-z' and `C-c' continue to have their normal effect.  Emacs in
     batch mode outputs to `stdout' only what would normally be printed
     in the echo area under program control.

     Batch mode is used for running programs written in Emacs Lisp from
     shell scripts, makefiles, and so on.  Normally the `-l' option or
     `-f' option will be used as well, to invoke a Lisp program to do
     the batch processing.

     `-batch' implies `-q' (do not load an init file).  It also causes
     Emacs to kill itself after all command options have been
     processed.  In addition, auto-saving is not done except in buffers
     for which it has been explicitly requested.

`-q'
`-no-init-file'
     Do not load your Emacs init file `~/.emacs'.

`-u USER'
`-user USER'
     Load USER's Emacs init file `~USER/.emacs' instead of your own.

   The init file can get access to the values of the command line
arguments as the elements of a list in the variable
`command-line-args'.  (The list contains only the arguments from the
first table above.  Emacs processes the arguments from the second table
before building the list.)  The init file can override the normal
processing of the other arguments by setting this variable.


automatically generated by info2www