Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




C.1 Action Arguments

Here is a table of the action arguments and options:

Visit file using find-file. See Visiting. If you visit several files at startup in this way, Emacs also displays a Buffer Menu buffer to show you what files it has visited. You can inhibit that by setting inhibit-startup-buffer-menu to t.
+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 a Lisp library named file with the function load. See Lisp Libraries. If file is not an absolute file name, the library can be found either in the current directory, or in the Emacs library search path as specified with EMACSLOADPATH (see General Variables).

Warning: If previous command-line arguments have visited files, the current directory is the directory of the last file visited.

-L dir
Add directory dir to the variable load-path.
-f function
Call Lisp function function. If it is an interactive function (a command), it reads the arguments interactively just as if you had called the same function with a key sequence. Otherwise, it calls the function with no arguments.
Evaluate Lisp expression expression.
Insert the contents of file into the current buffer. This is like what M-x insert-file does. See Misc File Ops.
Exit from Emacs without asking for confirmation.
Print a usage message listing all available options, then exit successfully.
Print Emacs version, then exit successfully.

  Published under the terms of the GNU General Public License Design by Interspire