aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-02-09 12:08:19 +0200
committerEli Zaretskii2018-02-09 12:08:19 +0200
commit923e4157baebf026910bd37b3cb5099b6aff7b3f (patch)
treef12b08741d12b155665ae5ae56c6d1e0597ce8a9
parent565adf2e90d67de2107343aaf265ec6c3e8fd165 (diff)
downloademacs-923e4157baebf026910bd37b3cb5099b6aff7b3f.tar.gz
emacs-923e4157baebf026910bd37b3cb5099b6aff7b3f.zip
More changes in the Emacs manual
* doc/emacs/fixit.texi (Undo): Mention 'revert-buffer'. (Fixing Case): Fix punctuation. (Spelling): Fix a typo. Suggested by Toon Claes <toon@iotcl.com> in emacs-manual-bugs@gnu.org. * doc/emacs/modes.texi (Major Modes): Break a long sentence into 2. Reported by Stefan Kamphausen <stefan.kamphausen@acrolinx.com> in emacs-manual-bugs@gnu.org. * doc/emacs/indent.texi (Just Spaces): Yet another minor rewording. * doc/emacs/building.texi (Watch Expressions): Improve wording. (Multithreaded Debugging): Spell "tool bar" as 2 words. Reported by Alberto Sartori <alberto.sartori@sissa.it> in emacs-manual-bugs@gnu.org. (Grep Searching): Mention the effect of 'compilation-mode-line-errors'. (Bug#30397) * doc/emacs/basic.texi (Moving Point): Minor reformatting and rewording of what <LEFT> and <RIGHT> do.
-rw-r--r--doc/emacs/basic.texi13
-rw-r--r--doc/emacs/building.texi16
-rw-r--r--doc/emacs/fixit.texi9
-rw-r--r--doc/emacs/indent.texi12
-rw-r--r--doc/emacs/modes.texi8
5 files changed, 33 insertions, 25 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index 11be78de68b..8a8298bc2c4 100644
--- a/doc/emacs/basic.texi
+++ b/doc/emacs/basic.texi
@@ -189,8 +189,9 @@ Move forward one character (@code{forward-char}).
189This command (@code{right-char}) behaves like @kbd{C-f}, with one 189This command (@code{right-char}) behaves like @kbd{C-f}, with one
190exception: when editing right-to-left scripts such as Arabic, it 190exception: when editing right-to-left scripts such as Arabic, it
191instead moves @emph{backward} if the current paragraph is a 191instead moves @emph{backward} if the current paragraph is a
192right-to-left paragraph. @xref{Bidirectional Editing}. If 192right-to-left paragraph. @xref{Bidirectional Editing}.
193@code{visual-order-cursor-movement} is non-@code{nil}, this command 193
194If @code{visual-order-cursor-movement} is non-@code{nil}, this command
194moves to the character that is to the right of the current screen 195moves to the character that is to the right of the current screen
195position, moving to the next or previous screen line as appropriate. 196position, moving to the next or previous screen line as appropriate.
196Note that this might potentially move point many buffer positions 197Note that this might potentially move point many buffer positions
@@ -206,10 +207,10 @@ Move backward one character (@code{backward-char}).
206@findex left-char 207@findex left-char
207This command (@code{left-char}) behaves like @kbd{C-b}, except it 208This command (@code{left-char}) behaves like @kbd{C-b}, except it
208moves @emph{forward} if the current paragraph is right-to-left. 209moves @emph{forward} if the current paragraph is right-to-left.
209@xref{Bidirectional Editing}. If @code{visual-order-cursor-movement} 210@xref{Bidirectional Editing}.
210is non-@code{nil}, this command moves to the character that is to the 211
211left of the current screen position, moving to the previous or next 212The variable @code{visual-order-cursor-movement} affects this like
212screen line as appropriate. 213@key{RIGHT}, but moving left instead of right on the screen.
213 214
214@item C-n 215@item C-n
215@itemx @key{DOWN} 216@itemx @key{DOWN}
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 7e4b68e6f71..f61e3335770 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -384,6 +384,10 @@ grep -nH -e foo *.el | grep bar | grep toto
384can find the corresponding lines in the original files using @w{@kbd{C-x 384can find the corresponding lines in the original files using @w{@kbd{C-x
385`}}, @key{RET}, and so forth, just like compilation errors. 385`}}, @key{RET}, and so forth, just like compilation errors.
386 386
387 As with compilation commands (@pxref{Compilation}), while the grep
388command runs, the mode line is updated to show the number of matches
389that have been seen so far.
390
387 Some grep programs accept a @samp{--color} option to output special 391 Some grep programs accept a @samp{--color} option to output special
388markers around matches for the purpose of highlighting. You can make 392markers around matches for the purpose of highlighting. You can make
389use of this feature by setting @code{grep-highlight-matches} to 393use of this feature by setting @code{grep-highlight-matches} to
@@ -1218,9 +1222,9 @@ edit its value.
1218@vindex gdb-delete-out-of-scope 1222@vindex gdb-delete-out-of-scope
1219 If the variable @code{gdb-delete-out-of-scope} is non-@code{nil} 1223 If the variable @code{gdb-delete-out-of-scope} is non-@code{nil}
1220(the default value), Emacs automatically deletes watch expressions 1224(the default value), Emacs automatically deletes watch expressions
1221which go out of scope. Sometimes, when re-entering the same function, 1225which go out of scope. Sometimes, when your program re-enters the
1222it may be useful to set this value to @code{nil} so that you don't 1226same function many times, it may be useful to set this value to
1223need to recreate the watch expression. 1227@code{nil} so that you don't need to recreate the watch expression.
1224 1228
1225@vindex gdb-use-colon-colon-notation 1229@vindex gdb-use-colon-colon-notation
1226 If the variable @code{gdb-use-colon-colon-notation} is 1230 If the variable @code{gdb-use-colon-colon-notation} is
@@ -1285,7 +1289,7 @@ execution control commands.
1285value), interruption and continuation commands apply to all threads, 1289value), interruption and continuation commands apply to all threads,
1286so you can halt or continue all your threads with one command using 1290so you can halt or continue all your threads with one command using
1287@code{gud-stop-subjob} and @code{gud-cont}, respectively. The 1291@code{gud-stop-subjob} and @code{gud-cont}, respectively. The
1288@samp{Go} button is shown on the toolbar when at least one thread is 1292@samp{Go} button is shown on the tool bar when at least one thread is
1289stopped, whereas @samp{Stop} button is shown when at least one thread 1293stopped, whereas @samp{Stop} button is shown when at least one thread
1290is running. 1294is running.
1291 1295
@@ -1293,8 +1297,8 @@ is running.
1293 1297
1294When @code{gdb-gud-control-all-threads} is @code{nil}, only the 1298When @code{gdb-gud-control-all-threads} is @code{nil}, only the
1295current thread is stopped/continued. @samp{Go} and @samp{Stop} 1299current thread is stopped/continued. @samp{Go} and @samp{Stop}
1296buttons on the GUD toolbar are shown depending on the state of current 1300buttons on the GUD tool bar are shown depending on the state of
1297thread. 1301current thread.
1298@end table 1302@end table
1299 1303
1300You can change the current value of @code{gdb-gud-control-all-threads} 1304You can change the current value of @code{gdb-gud-control-all-threads}
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index aca85f3de07..c872e9bb3ac 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -78,7 +78,6 @@ the undo command.
78previous undo commands, use @kbd{M-x undo-only}. This is like 78previous undo commands, use @kbd{M-x undo-only}. This is like
79@code{undo}, but will not redo changes you have just undone. 79@code{undo}, but will not redo changes you have just undone.
80 80
81@c What about @kbd{M-x revert-buffer}? --xfq
82 If you notice that a buffer has been modified accidentally, the 81 If you notice that a buffer has been modified accidentally, the
83easiest way to recover is to type @kbd{C-/} repeatedly until the stars 82easiest way to recover is to type @kbd{C-/} repeatedly until the stars
84disappear from the front of the mode line (@pxref{Mode Line}). 83disappear from the front of the mode line (@pxref{Mode Line}).
@@ -90,6 +89,10 @@ the last change you made undone, you will see whether it was an
90intentional change. If it was an accident, leave it undone. If it 89intentional change. If it was an accident, leave it undone. If it
91was deliberate, redo the change as described above. 90was deliberate, redo the change as described above.
92 91
92Alternatively, you can discard all the changes since the buffer was
93last visited or saved with @kbd{M-x revert-buffer}
94(@pxref{Reverting}).
95
93@cindex selective undo 96@cindex selective undo
94@kindex C-u C-/ 97@kindex C-u C-/
95 When there is an active region, any use of @code{undo} performs 98 When there is an active region, any use of @code{undo} performs
@@ -216,7 +219,7 @@ Convert last word to lower case with capital initial.
216@kindex M-@t{-} M-u 219@kindex M-@t{-} M-u
217@kindex M-@t{-} M-c 220@kindex M-@t{-} M-c
218 A very common error is to type words in the wrong case. Because of this, 221 A very common error is to type words in the wrong case. Because of this,
219the word case-conversion commands @kbd{M-l}, @kbd{M-u} and @kbd{M-c} have a 222the word case-conversion commands @kbd{M-l}, @kbd{M-u}, and @kbd{M-c} have a
220special feature when used with a negative argument: they do not move the 223special feature when used with a negative argument: they do not move the
221cursor. As soon as you see you have mistyped the last word, you can simply 224cursor. As soon as you see you have mistyped the last word, you can simply
222case-convert it and go on typing. @xref{Case}. 225case-convert it and go on typing. @xref{Case}.
@@ -231,7 +234,7 @@ case-convert it and go on typing. @xref{Case}.
231single word or of a portion of a buffer. These commands only work if 234single word or of a portion of a buffer. These commands only work if
232a spelling checker program, one of Hunspell, Aspell, Ispell or 235a spelling checker program, one of Hunspell, Aspell, Ispell or
233Enchant, is installed. These programs are not part of Emacs, but one 236Enchant, is installed. These programs are not part of Emacs, but one
234of them is usually installed in GNU/Linux and other free operating 237of them is usually installed on GNU/Linux and other free operating
235systems. 238systems.
236@ifnottex 239@ifnottex
237@xref{Top, Aspell,, aspell, The Aspell Manual}. 240@xref{Top, Aspell,, aspell, The Aspell Manual}.
diff --git a/doc/emacs/indent.texi b/doc/emacs/indent.texi
index 73f0f375155..b38e85819ce 100644
--- a/doc/emacs/indent.texi
+++ b/doc/emacs/indent.texi
@@ -201,12 +201,12 @@ are always displayed as empty spaces extending to the next
201@node Just Spaces 201@node Just Spaces
202@section Tabs vs.@: Spaces 202@section Tabs vs.@: Spaces
203 203
204 Normally, indentation commands insert (or remove) a mix of space 204 Normally, indentation commands insert (or remove) the shortest
205characters and tab characters so as to align to the desired column. 205possible series of tab and space characters so as to align to the
206Tab characters are displayed as a stretch of empty space extending to 206desired column. Tab characters are displayed as a stretch of empty
207the next @dfn{display tab stop}. By default, there is one display tab 207space extending to the next @dfn{display tab stop}. By default, there
208stop every @code{tab-width} columns (the default is 8). @xref{Text 208is one display tab stop every @code{tab-width} columns (the default is
209Display}. 2098). @xref{Text Display}.
210 210
211@vindex indent-tabs-mode 211@vindex indent-tabs-mode
212 If you prefer, all indentation can be made from spaces only. To 212 If you prefer, all indentation can be made from spaces only. To
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index 1312a24d985..2bbc17b26db 100644
--- a/doc/emacs/modes.texi
+++ b/doc/emacs/modes.texi
@@ -57,10 +57,10 @@ for specific programming languages. These include Lisp mode (which
57has several variants), C mode, Fortran mode, and others. The third 57has several variants), C mode, Fortran mode, and others. The third
58group consists of major modes that are not associated directly with 58group consists of major modes that are not associated directly with
59files; they are used in buffers created for specific purposes by 59files; they are used in buffers created for specific purposes by
60Emacs, such as Dired mode for buffers made by Dired (@pxref{Dired}), 60Emacs. Examples include Dired mode for buffers made by Dired
61Message mode for buffers made by @kbd{C-x m} (@pxref{Sending Mail}), 61(@pxref{Dired}), Message mode for buffers made by @kbd{C-x m}
62and Shell mode for buffers used to communicate with an inferior shell 62(@pxref{Sending Mail}), and Shell mode for buffers used to communicate
63process (@pxref{Interactive Shell}). 63with an inferior shell process (@pxref{Interactive Shell}).
64 64
65 Usually, the major mode is automatically set by Emacs, when you 65 Usually, the major mode is automatically set by Emacs, when you
66first visit a file or create a buffer (@pxref{Choosing Modes}). You 66first visit a file or create a buffer (@pxref{Choosing Modes}). You