xemacs [file] [&]
Note: XEmacs is implemented in Lisp; Every command is a Lisp function.
Abort Command if Hung
C-g
Exiting XEmacs
C-x C-c
Screen Organization
Frame: Everything in the X window
Menu Bar
Tool Bar
Window
May be several, one of which is selected.
Each contains a buffer with a point between two characters.
The selected window contains the cursor on the character after point.
Last line is the mode line.
Minibuffer
Getting Help
Menus
Help menu
C-h
Major Modes
Determined by file extension.
M-x mode-mode To change mode.
Note Space completion
Fundamental
Text
Lisp Interaction (Emacs Lisp)
Dired
LaTeX
HTML
Java
C
Common Lisp
Inferior Common Lisp
Mail
Prolog
Python
Shell
etc..........
Dired: Operating on Directories
C-x d (Note default argument -- RET to accept)
f To edit file under cursor
g Refresh information
Other commands ...
Getting a File into a Buffer
C-x C-f
Note: the file is created if it doesn't
already exist.
Saving a File
C-x C-s
Manipulating Buffers
C-x b Get a different buffer in the window
C-x C-b List all buffers
C-x k Kill buffer
Moving the Cursor
Mouse-Left
C-f Forward one character
C-b Backward one character
M-f Forward one word
M-b Backward one word
C-n Next line
C-p Previous line
C-a Beginning of line
C-e End of line
C-v Down one window-full
M-v Up one window-full
M-< Beginning of buffer
M-> End of buffer
C-l Center this line within this window
Editing Text
Type To enter before cursor
DEL or BS To delete before cursor
C-d To delete under cursor
C-k To kill rest of line
C-y To paste ("yank") last killed object
C-o To "open" a new line
Note: NEWLINE is just another character.
C-x u To undo
M-x revert-buffer restores the version on disk.