www.delorie.com/gnu/docs/emacs/emacs_529.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

AE.1 Action Arguments

Here is a table of the action arguments and options:

`file'
`--visit=file'
`--file=file'
Visit file using find-file. See section M.2 Visiting Files.

`+linenum file'
Visit file using find-file, then go to line number linenum in it.

`+linenum:columnnum file'
Visit file using find-file, then go to line number linenum and put point at column number columnnum.

`-l file'
`--load=file'
Load a Lisp library named file with the function load. See section V.7 Libraries of Lisp Code for Emacs. The library can be found either in the current directory, or in the Emacs library search path as specified with EMACSLOADPATH (see section AE.5.1 General Variables).

`-f function'
`--funcall=function'
Call Lisp function function with no arguments.

`--eval=expression'
`--execute=expression'
Evaluate Lisp expression expression.

`--insert=file'
Insert the contents of file into the current buffer. This is like what M-x insert-file does. See section M.10 Miscellaneous File Operations.

`--kill'
Exit from Emacs without asking for confirmation.

The init file can access the values of the action arguments as the elements of a list in the variable command-line-args. The init file can override the normal processing of the action arguments, or define new ones, by reading and setting this variable.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003