(emacs)Command Arguments

Next: Antinews Prev: Service Up: Top

Command Line Options and Arguments

   GNU Emacs supports command line arguments to request various actions
when invoking Emacs.  These are for compatibility with other editors and
for sophisticated activities.  We don't recommend using them for
ordinary editing.

   Arguments that are not options specify files to visit.  Emacs visits
the specified files while it starts up.  (The last file name on your
command line is the one you see displayed, but the rest are all there in
other buffers.)

   You can use options to specify other things, such as the size and
position of the Emacs window if you are running it under the X Window
System.  A few arguments support advanced usage, like running Lisp
functions on files in batch mode.

   There are two kinds of options: "ordinary options" and "initial
options".  Ordinary options can appear in any order and can be
intermixed with file names to visit.  These and file names are called
"ordinary arguments".  Emacs processes all of these in the order they
are written.  Initial options must come at the beginning of the command

* Ordinary Arguments
Arguments to visit files, load libraries, and call functions.
* Initial Options
Arguments that must come at the start of the command.
* Command Example
Examples of using command line arguments.
* Resume Arguments
Specifying arguments when you resume a running Emacs.
* Display X
Changing the default display and using remote login.
* Font X
Choosing a font for text, under X.
* Colors X
Choosing colors, under X.
* Window Size X
Start-up window size, under X.
* Borders X
Internal and external borders, under X.
* Icons X
Choosing what sort of icon to use, under X.
* Resources X
Advanced use of classes and resources, under X.

automatically generated by info2www