Next: , Previous: , Up: Top   [Contents][Index]


6 The Minibuffer

The minibuffer is the facility used by SXEmacs commands to read arguments more complicated than a single number. Minibuffer arguments can be file names, buffer names, Lisp function names, SXEmacs command names, Lisp expressions, and many other things, depending on the command reading the argument. You can use the usual SXEmacs editing commands in the minibuffer to edit the argument text.

When the minibuffer is in use, it appears in the echo area, and the cursor moves there. The beginning of the minibuffer line displays a prompt which says what kind of input you should supply and how it will be used. Often this prompt is derived from the name of the command that the argument is for. The prompt normally ends with a colon.

Sometimes a default argument appears in parentheses after the colon; it, too, is part of the prompt. The default is used as the argument value if you enter an empty argument (e.g., by just typing RET). For example, commands that read buffer names always show a default, which is the name of the buffer that will be used if you type just RET.

The simplest way to enter a minibuffer argument is to type the text you want, terminated by RET which exits the minibuffer. You can cancel the command that wants the argument, and get out of the minibuffer, by typing C-g.

Since the minibuffer uses the screen space of the echo area, it can conflict with other ways SXEmacs customarily uses the echo area. Here is how SXEmacs handles such conflicts:


Next: , Previous: , Up: Top   [Contents][Index]