The "get-me-out-of-this-action" key is ^G.
Sometimes, if you are mixing mouse navigation with typing, you might leave a command uncompleted, which makes some wierd things happen. If that's the case, you'll see the command named on the bottom line of the window, below the status bar. To deal with that situation, click your mouse in there (so that your typing will go to the command), then either finish the command or abort it with ^G.
If you use the buttons or menus for opening and writing files, you need to know that the dialogs that pop up are written for a three-button mouse. In particular, when you are opening a file, middle-clicking on a file name will select it. The scroll wheel doubles as the middle button: you can click it.
XEmacs uses a few keys (such as ^X or ESC) as prefixes to other keys, instead of like a shift key. So some of these are multiple-key sequences.
^X ^F | Open (find) a file. (You'll complete the filename on the bottom line of the screen.) |
^X ^S | Save the current file. |
^X ^W | Write the current file under another name. (You'll complete the filename on the bottom line of the screen.) |
^K | Kill from the cursor to the end of the line. If you hit this several times in a row, what you kill will all be collected together. |
^Y | Yank back whatever was last killed. |
^W | Kill (wipe) the highlighted text. |
^A | Move to the beginning of the line. |
^E | Move to the end of the line. |
ESC G | Go to a line by number. |
You can set XEmacs to show you what line number the cursor is on,
which can be helpful for finding and fixing mistakes. To turn on line
numbers, use the mouse to select through the menus
Options
, Display
, Line Numbers
.
The line number will show up toward the right side of the status bar
below the text you are editing, as something like L23
to
indicate that you are on line 23.
If you've made changes to your options, such as turning on line
numbers, you might want to make that change apply automatically
whenever you start XEmacs. To save those settings, pick
Options
,
Save Options to Custom File
.
Please be polite about what options you save on the shared lab accounts, because other students will use that account in the future.
Last modified: Fri Sep 2 11:18:39 CDT 2011