diff options
| author | Richard M. Stallman | 2006-01-29 16:59:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-01-29 16:59:14 +0000 |
| commit | 708bf2320ade4b15f45e1586f5224b4739a7b984 (patch) | |
| tree | c6af785b479b3a1d9bad181b77c32fe40b877f0a | |
| parent | f69ecc215cb25145dd002bdc8c9862f63e67ffd7 (diff) | |
| download | emacs-708bf2320ade4b15f45e1586f5224b4739a7b984.tar.gz emacs-708bf2320ade4b15f45e1586f5224b4739a7b984.zip | |
Minor cleanups.
| -rw-r--r-- | man/entering.texi | 34 | ||||
| -rw-r--r-- | man/mini.texi | 43 |
2 files changed, 38 insertions, 39 deletions
diff --git a/man/entering.texi b/man/entering.texi index 1d04ab427f6..5d1003e82fb 100644 --- a/man/entering.texi +++ b/man/entering.texi | |||
| @@ -7,12 +7,12 @@ | |||
| 7 | @cindex entering Emacs | 7 | @cindex entering Emacs |
| 8 | @cindex starting Emacs | 8 | @cindex starting Emacs |
| 9 | 9 | ||
| 10 | The usual way to invoke Emacs is with the shell command @command{emacs}. | 10 | The usual way to invoke Emacs is with the shell command |
| 11 | Emacs clears the screen and then displays an initial help message and | 11 | @command{emacs}. Emacs clears the screen and then displays an initial |
| 12 | copyright notice. Some operating systems discard all type-ahead when | 12 | help message and copyright notice. Some operating systems discard all |
| 13 | Emacs starts up; they give Emacs no way to prevent this. Therefore, it | 13 | type-ahead when Emacs starts up; they give Emacs no way to prevent |
| 14 | is advisable to wait until Emacs clears the screen before typing your | 14 | this. If you ever use those systems, learn the habit of waiting for |
| 15 | first editing command. | 15 | Emacs to clear the screen before typing your first editing command. |
| 16 | 16 | ||
| 17 | If you run Emacs from a shell window under the X Window System, run it | 17 | If you run Emacs from a shell window under the X Window System, run it |
| 18 | in the background with @command{emacs&}. This way, Emacs does not tie up | 18 | in the background with @command{emacs&}. This way, Emacs does not tie up |
| @@ -22,11 +22,12 @@ as soon as you direct your keyboard input to the Emacs frame. | |||
| 22 | 22 | ||
| 23 | @vindex initial-major-mode | 23 | @vindex initial-major-mode |
| 24 | When Emacs starts up, it creates a buffer named @samp{*scratch*}. | 24 | When Emacs starts up, it creates a buffer named @samp{*scratch*}. |
| 25 | That's the buffer you start out in. The @samp{*scratch*} buffer uses Lisp | 25 | That's the buffer you start out in. The @samp{*scratch*} buffer uses |
| 26 | Interaction mode; you can use it to type Lisp expressions and evaluate | 26 | Lisp Interaction mode; you can use it to type Lisp expressions and |
| 27 | them, or you can ignore that capability and simply doodle. (You can | 27 | evaluate them, or you can ignore that capability and just write notes |
| 28 | specify a different major mode for this buffer by setting the variable | 28 | in it. (You can specify a different major mode for this buffer by |
| 29 | @code{initial-major-mode} in your init file. @xref{Init File}.) | 29 | setting the variable @code{initial-major-mode} in your init file. |
| 30 | @xref{Init File}.) | ||
| 30 | 31 | ||
| 31 | It is possible to specify files to be visited, Lisp files to be | 32 | It is possible to specify files to be visited, Lisp files to be |
| 32 | loaded, and functions to be called, by giving Emacs arguments in the | 33 | loaded, and functions to be called, by giving Emacs arguments in the |
| @@ -45,7 +46,7 @@ does not make sense. This would fail to take advantage of Emacs's | |||
| 45 | ability to visit more than one file in a single editing session, and | 46 | ability to visit more than one file in a single editing session, and |
| 46 | it would lose the other accumulated context, such as the kill ring, | 47 | it would lose the other accumulated context, such as the kill ring, |
| 47 | registers, undo history, and mark ring, that are useful for operating | 48 | registers, undo history, and mark ring, that are useful for operating |
| 48 | on multiple files. | 49 | on multiple files or even one. |
| 49 | 50 | ||
| 50 | The recommended way to use GNU Emacs is to start it only once, just | 51 | The recommended way to use GNU Emacs is to start it only once, just |
| 51 | after you log in, and do all your editing in the same Emacs session. | 52 | after you log in, and do all your editing in the same Emacs session. |
| @@ -84,7 +85,8 @@ when running on a text terminal. | |||
| 84 | 85 | ||
| 85 | @dfn{Iconifying} means replacing the Emacs frame with a small box | 86 | @dfn{Iconifying} means replacing the Emacs frame with a small box |
| 86 | somewhere on the screen. This is the usual way to exit Emacs when you're | 87 | somewhere on the screen. This is the usual way to exit Emacs when you're |
| 87 | using a graphics terminal. | 88 | using a graphics terminal---if you bother to ``exit'' at all. (Just switching |
| 89 | to another application is usually sufficient.) | ||
| 88 | 90 | ||
| 89 | @dfn{Killing} Emacs means destroying the Emacs job. You can run Emacs | 91 | @dfn{Killing} Emacs means destroying the Emacs job. You can run Emacs |
| 90 | again later, but you will get a fresh Emacs; there is no way to resume | 92 | again later, but you will get a fresh Emacs; there is no way to resume |
| @@ -101,14 +103,14 @@ Kill Emacs (@code{save-buffers-kill-emacs}). | |||
| 101 | @kindex C-z | 103 | @kindex C-z |
| 102 | @findex suspend-emacs | 104 | @findex suspend-emacs |
| 103 | To suspend or iconify Emacs, type @kbd{C-z} (@code{suspend-emacs}). | 105 | To suspend or iconify Emacs, type @kbd{C-z} (@code{suspend-emacs}). |
| 104 | On text terminals, this suspends Emacs. On graphics terminals, | 106 | On text terminals, this suspends Emacs. On graphical displays, |
| 105 | it iconifies the Emacs frame. | 107 | it iconifies the Emacs frame. |
| 106 | 108 | ||
| 107 | Suspending Emacs takes you back to the shell from which you invoked | 109 | Suspending Emacs takes you back to the shell from which you invoked |
| 108 | Emacs. You can resume Emacs with the shell command @command{%emacs} | 110 | Emacs. You can resume Emacs with the shell command @command{%emacs} |
| 109 | in most common shells. On systems that don't support suspending | 111 | in most common shells. On systems that don't support suspending |
| 110 | programs, @kbd{C-z} starts an inferior shell that communicates | 112 | programs, @kbd{C-z} starts an inferior shell that communicates |
| 111 | directly with the terminal. Emacs waits until you exit the subshell. | 113 | directly with the terminal, and Emacs waits until you exit the subshell. |
| 112 | (The way to do that is probably with @kbd{C-d} or @command{exit}, but | 114 | (The way to do that is probably with @kbd{C-d} or @command{exit}, but |
| 113 | it depends on which shell you use.) The only way on these systems to | 115 | it depends on which shell you use.) The only way on these systems to |
| 114 | get back to the shell from which Emacs was run (to log out, for | 116 | get back to the shell from which Emacs was run (to log out, for |
| @@ -122,7 +124,7 @@ a non-@code{nil} value to force @kbd{C-z} to start an inferior shell. | |||
| 122 | failing to support job control properly, but that is a matter of | 124 | failing to support job control properly, but that is a matter of |
| 123 | taste.) | 125 | taste.) |
| 124 | 126 | ||
| 125 | On graphics terminals, @kbd{C-z} has a different meaning: it runs | 127 | On graphical displays, @kbd{C-z} has a different meaning: it runs |
| 126 | the command @code{iconify-or-deiconify-frame}, which temporarily | 128 | the command @code{iconify-or-deiconify-frame}, which temporarily |
| 127 | iconifies (or ``minimizes'') the selected Emacs frame | 129 | iconifies (or ``minimizes'') the selected Emacs frame |
| 128 | (@pxref{Frames}). Then you can use the window manager to get back to | 130 | (@pxref{Frames}). Then you can use the window manager to get back to |
diff --git a/man/mini.texi b/man/mini.texi index a39251dedea..e46a4f2db9b 100644 --- a/man/mini.texi +++ b/man/mini.texi | |||
| @@ -114,10 +114,10 @@ ignored in the example above, and you get the file | |||
| 114 | the terminal allows it; to disable this, turn off | 114 | the terminal allows it; to disable this, turn off |
| 115 | @code{file-name-shadow-mode} minor mode. | 115 | @code{file-name-shadow-mode} minor mode. |
| 116 | 116 | ||
| 117 | If you set @code{insert-default-directory} to @code{nil}, the default | 117 | If you set @code{insert-default-directory} to @code{nil}, the |
| 118 | directory is not inserted in the minibuffer. This way, the minibuffer | 118 | default directory is never inserted in the minibuffer---so the |
| 119 | starts out empty. But the name you type, if relative, is still | 119 | minibuffer starts out empty. But the name you type, if relative, is |
| 120 | interpreted with respect to the same default directory. | 120 | still interpreted with respect to the same default directory. |
| 121 | 121 | ||
| 122 | @node Minibuffer Edit | 122 | @node Minibuffer Edit |
| 123 | @section Editing in the Minibuffer | 123 | @section Editing in the Minibuffer |
| @@ -128,17 +128,17 @@ entering. | |||
| 128 | 128 | ||
| 129 | Since @key{RET} in the minibuffer is defined to exit the minibuffer, | 129 | Since @key{RET} in the minibuffer is defined to exit the minibuffer, |
| 130 | you can't use it to insert a newline in the minibuffer. To do that, | 130 | you can't use it to insert a newline in the minibuffer. To do that, |
| 131 | type @kbd{C-o} or @kbd{C-q C-j}. (On text terminals, newline is | 131 | type @kbd{C-o} or @kbd{C-q C-j}. (The newline character is really the |
| 132 | really the @acronym{ASCII} character control-J.) | 132 | @acronym{ASCII} character control-J.) |
| 133 | 133 | ||
| 134 | The minibuffer has its own window which always has space on the screen | 134 | The minibuffer has its own window, which normally has space on the |
| 135 | but acts as if it were not there when the minibuffer is not in use. When | 135 | Emacs frame at all times, but it only acts like an Emacs window when |
| 136 | the minibuffer is in use, its window is just like the others; you can | 136 | the minibuffer is really in use. At those times, its window is much |
| 137 | switch to another window with @kbd{C-x o}, edit text in other windows and | 137 | like any other Emacs window; you can switch from the minibuffer window |
| 138 | perhaps even visit more files, before returning to the minibuffer to submit | 138 | to another window with @kbd{C-x o}, and edit text in other windows, |
| 139 | the argument. You can kill text in another window, return to the | 139 | before returning to the minibuffer to submit the argument. You can |
| 140 | minibuffer window, and then yank the text to use it in the argument. | 140 | kill text in another window, return to the minibuffer window, and then |
| 141 | @xref{Windows}. | 141 | yank the text to use it in the argument. @xref{Windows}. |
| 142 | 142 | ||
| 143 | @cindex height of minibuffer | 143 | @cindex height of minibuffer |
| 144 | @cindex size of minibuffer | 144 | @cindex size of minibuffer |
| @@ -389,11 +389,11 @@ lists of completions---those always mention all possible completions. | |||
| 389 | 389 | ||
| 390 | If an element of the list in @code{completion-ignored-extensions} ends | 390 | If an element of the list in @code{completion-ignored-extensions} ends |
| 391 | in a slash @file{/}, it indicates a subdirectory that should be ignored | 391 | in a slash @file{/}, it indicates a subdirectory that should be ignored |
| 392 | when completing file names. (Elements of | 392 | when completing file names. Elements of |
| 393 | @code{completion-ignored-extensions} which do not end in a slash are | 393 | @code{completion-ignored-extensions} which do not end in a slash are |
| 394 | never considered when a completion candidate is a directory; thus, | 394 | never considered when a completion candidate is a directory; thus, |
| 395 | completion returns directories whose names end in @file{.elc} even | 395 | completion returns directories whose names end in @file{.elc} even |
| 396 | though there's an element @code{".elc"} in the list.) | 396 | though there's an element @code{".elc"} in the list. |
| 397 | 397 | ||
| 398 | @vindex completion-auto-help | 398 | @vindex completion-auto-help |
| 399 | Normally, a completion command that cannot determine even one | 399 | Normally, a completion command that cannot determine even one |
| @@ -486,12 +486,9 @@ you reuse it; this does not change the history element that you | |||
| 486 | ``moved'' to, but your new argument does go at the end of the history | 486 | ``moved'' to, but your new argument does go at the end of the history |
| 487 | list in its own right. | 487 | list in its own right. |
| 488 | 488 | ||
| 489 | For many minibuffer arguments there is a ``default'' value. In some | 489 | For many minibuffer arguments there is a ``default'' value. Then |
| 490 | cases, the minibuffer history commands know the default value. Then you | 490 | you can insert the default value into the minibuffer as text by using |
| 491 | can insert the default value into the minibuffer as text by using | 491 | @kbd{M-n} to move ``into the future'' in the history. |
| 492 | @kbd{M-n} to move ``into the future'' in the history. Eventually we | ||
| 493 | hope to make this feature available whenever the minibuffer has a | ||
| 494 | default value. | ||
| 495 | 492 | ||
| 496 | @findex previous-matching-history-element | 493 | @findex previous-matching-history-element |
| 497 | @findex next-matching-history-element | 494 | @findex next-matching-history-element |