aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-01-29 16:59:14 +0000
committerRichard M. Stallman2006-01-29 16:59:14 +0000
commit708bf2320ade4b15f45e1586f5224b4739a7b984 (patch)
treec6af785b479b3a1d9bad181b77c32fe40b877f0a
parentf69ecc215cb25145dd002bdc8c9862f63e67ffd7 (diff)
downloademacs-708bf2320ade4b15f45e1586f5224b4739a7b984.tar.gz
emacs-708bf2320ade4b15f45e1586f5224b4739a7b984.zip
Minor cleanups.
-rw-r--r--man/entering.texi34
-rw-r--r--man/mini.texi43
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
11Emacs clears the screen and then displays an initial help message and 11@command{emacs}. Emacs clears the screen and then displays an initial
12copyright notice. Some operating systems discard all type-ahead when 12help message and copyright notice. Some operating systems discard all
13Emacs starts up; they give Emacs no way to prevent this. Therefore, it 13type-ahead when Emacs starts up; they give Emacs no way to prevent
14is advisable to wait until Emacs clears the screen before typing your 14this. If you ever use those systems, learn the habit of waiting for
15first editing command. 15Emacs 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
18in the background with @command{emacs&}. This way, Emacs does not tie up 18in 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*}.
25That's the buffer you start out in. The @samp{*scratch*} buffer uses Lisp 25That's the buffer you start out in. The @samp{*scratch*} buffer uses
26Interaction mode; you can use it to type Lisp expressions and evaluate 26Lisp Interaction mode; you can use it to type Lisp expressions and
27them, or you can ignore that capability and simply doodle. (You can 27evaluate them, or you can ignore that capability and just write notes
28specify a different major mode for this buffer by setting the variable 28in it. (You can specify a different major mode for this buffer by
29@code{initial-major-mode} in your init file. @xref{Init File}.) 29setting 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
32loaded, and functions to be called, by giving Emacs arguments in the 33loaded, 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
45ability to visit more than one file in a single editing session, and 46ability to visit more than one file in a single editing session, and
46it would lose the other accumulated context, such as the kill ring, 47it would lose the other accumulated context, such as the kill ring,
47registers, undo history, and mark ring, that are useful for operating 48registers, undo history, and mark ring, that are useful for operating
48on multiple files. 49on 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
51after you log in, and do all your editing in the same Emacs session. 52after 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
86somewhere on the screen. This is the usual way to exit Emacs when you're 87somewhere on the screen. This is the usual way to exit Emacs when you're
87using a graphics terminal. 88using a graphics terminal---if you bother to ``exit'' at all. (Just switching
89to 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
90again later, but you will get a fresh Emacs; there is no way to resume 92again 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}).
104On text terminals, this suspends Emacs. On graphics terminals, 106On text terminals, this suspends Emacs. On graphical displays,
105it iconifies the Emacs frame. 107it 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
108Emacs. You can resume Emacs with the shell command @command{%emacs} 110Emacs. You can resume Emacs with the shell command @command{%emacs}
109in most common shells. On systems that don't support suspending 111in most common shells. On systems that don't support suspending
110programs, @kbd{C-z} starts an inferior shell that communicates 112programs, @kbd{C-z} starts an inferior shell that communicates
111directly with the terminal. Emacs waits until you exit the subshell. 113directly 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
113it depends on which shell you use.) The only way on these systems to 115it depends on which shell you use.) The only way on these systems to
114get back to the shell from which Emacs was run (to log out, for 116get 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.
122failing to support job control properly, but that is a matter of 124failing to support job control properly, but that is a matter of
123taste.) 125taste.)
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
126the command @code{iconify-or-deiconify-frame}, which temporarily 128the command @code{iconify-or-deiconify-frame}, which temporarily
127iconifies (or ``minimizes'') the selected Emacs frame 129iconifies (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
114the terminal allows it; to disable this, turn off 114the 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
118directory is not inserted in the minibuffer. This way, the minibuffer 118default directory is never inserted in the minibuffer---so the
119starts out empty. But the name you type, if relative, is still 119minibuffer starts out empty. But the name you type, if relative, is
120interpreted with respect to the same default directory. 120still 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,
130you can't use it to insert a newline in the minibuffer. To do that, 130you can't use it to insert a newline in the minibuffer. To do that,
131type @kbd{C-o} or @kbd{C-q C-j}. (On text terminals, newline is 131type @kbd{C-o} or @kbd{C-q C-j}. (The newline character is really the
132really 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
135but acts as if it were not there when the minibuffer is not in use. When 135Emacs frame at all times, but it only acts like an Emacs window when
136the minibuffer is in use, its window is just like the others; you can 136the minibuffer is really in use. At those times, its window is much
137switch to another window with @kbd{C-x o}, edit text in other windows and 137like any other Emacs window; you can switch from the minibuffer window
138perhaps even visit more files, before returning to the minibuffer to submit 138to another window with @kbd{C-x o}, and edit text in other windows,
139the argument. You can kill text in another window, return to the 139before returning to the minibuffer to submit the argument. You can
140minibuffer window, and then yank the text to use it in the argument. 140kill text in another window, return to the minibuffer window, and then
141@xref{Windows}. 141yank 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
391in a slash @file{/}, it indicates a subdirectory that should be ignored 391in a slash @file{/}, it indicates a subdirectory that should be ignored
392when completing file names. (Elements of 392when 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
394never considered when a completion candidate is a directory; thus, 394never considered when a completion candidate is a directory; thus,
395completion returns directories whose names end in @file{.elc} even 395completion returns directories whose names end in @file{.elc} even
396though there's an element @code{".elc"} in the list.) 396though 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
487list in its own right. 487list 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
490cases, the minibuffer history commands know the default value. Then you 490you can insert the default value into the minibuffer as text by using
491can 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
493hope to make this feature available whenever the minibuffer has a
494default 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