next up previous contents
Next: Escape and Control Sequences Up: Creating And Editing Files Previous: Creating And Editing Files

Starting emacs

EMACS is invoked by giving the command:

emacs [pathtofile]<filename>

If pathtofile isn't included then the current directory is assumed.

When EMACS begins, a text window will appear that has a mode line on the bottom identifying what file is currently being edited. There is also a mode listed on the lower right which depends on the extension of the file you are editing. If you are editing a file with a standard extension such as .c, which refers to a text file of the programming language C, then EMACS provides enhancements such as bracket indentation to make program structuring easier. Files with no standard extension have the default mode 'Fundamental'.

There is a command line called a 'minibuffer' which pops up below the mode line to prompt for input after an escape or control sequence that requires additional information, such as a filename.

Unlike VI, EMACS is always in text-entry mode. To begin writing your document, just start typing. Editing is done with control or escape sequences.



Larry Latour
Fri Sep 12 08:12:59 EDT 1997