diff options
| author | Eli Zaretskii | 2018-02-09 12:08:19 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-02-09 12:08:19 +0200 |
| commit | 923e4157baebf026910bd37b3cb5099b6aff7b3f (patch) | |
| tree | f12b08741d12b155665ae5ae56c6d1e0597ce8a9 | |
| parent | 565adf2e90d67de2107343aaf265ec6c3e8fd165 (diff) | |
| download | emacs-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.texi | 13 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 16 | ||||
| -rw-r--r-- | doc/emacs/fixit.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/indent.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/modes.texi | 8 |
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}). | |||
| 189 | This command (@code{right-char}) behaves like @kbd{C-f}, with one | 189 | This command (@code{right-char}) behaves like @kbd{C-f}, with one |
| 190 | exception: when editing right-to-left scripts such as Arabic, it | 190 | exception: when editing right-to-left scripts such as Arabic, it |
| 191 | instead moves @emph{backward} if the current paragraph is a | 191 | instead moves @emph{backward} if the current paragraph is a |
| 192 | right-to-left paragraph. @xref{Bidirectional Editing}. If | 192 | right-to-left paragraph. @xref{Bidirectional Editing}. |
| 193 | @code{visual-order-cursor-movement} is non-@code{nil}, this command | 193 | |
| 194 | If @code{visual-order-cursor-movement} is non-@code{nil}, this command | ||
| 194 | moves to the character that is to the right of the current screen | 195 | moves to the character that is to the right of the current screen |
| 195 | position, moving to the next or previous screen line as appropriate. | 196 | position, moving to the next or previous screen line as appropriate. |
| 196 | Note that this might potentially move point many buffer positions | 197 | Note 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 |
| 207 | This command (@code{left-char}) behaves like @kbd{C-b}, except it | 208 | This command (@code{left-char}) behaves like @kbd{C-b}, except it |
| 208 | moves @emph{forward} if the current paragraph is right-to-left. | 209 | moves @emph{forward} if the current paragraph is right-to-left. |
| 209 | @xref{Bidirectional Editing}. If @code{visual-order-cursor-movement} | 210 | @xref{Bidirectional Editing}. |
| 210 | is non-@code{nil}, this command moves to the character that is to the | 211 | |
| 211 | left of the current screen position, moving to the previous or next | 212 | The variable @code{visual-order-cursor-movement} affects this like |
| 212 | screen 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 | |||
| 384 | can find the corresponding lines in the original files using @w{@kbd{C-x | 384 | can 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 | ||
| 388 | command runs, the mode line is updated to show the number of matches | ||
| 389 | that 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 |
| 388 | markers around matches for the purpose of highlighting. You can make | 392 | markers around matches for the purpose of highlighting. You can make |
| 389 | use of this feature by setting @code{grep-highlight-matches} to | 393 | use 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 |
| 1221 | which go out of scope. Sometimes, when re-entering the same function, | 1225 | which go out of scope. Sometimes, when your program re-enters the |
| 1222 | it may be useful to set this value to @code{nil} so that you don't | 1226 | same function many times, it may be useful to set this value to |
| 1223 | need 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. | |||
| 1285 | value), interruption and continuation commands apply to all threads, | 1289 | value), interruption and continuation commands apply to all threads, |
| 1286 | so you can halt or continue all your threads with one command using | 1290 | so 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 |
| 1289 | stopped, whereas @samp{Stop} button is shown when at least one thread | 1293 | stopped, whereas @samp{Stop} button is shown when at least one thread |
| 1290 | is running. | 1294 | is running. |
| 1291 | 1295 | ||
| @@ -1293,8 +1297,8 @@ is running. | |||
| 1293 | 1297 | ||
| 1294 | When @code{gdb-gud-control-all-threads} is @code{nil}, only the | 1298 | When @code{gdb-gud-control-all-threads} is @code{nil}, only the |
| 1295 | current thread is stopped/continued. @samp{Go} and @samp{Stop} | 1299 | current thread is stopped/continued. @samp{Go} and @samp{Stop} |
| 1296 | buttons on the GUD toolbar are shown depending on the state of current | 1300 | buttons on the GUD tool bar are shown depending on the state of |
| 1297 | thread. | 1301 | current thread. |
| 1298 | @end table | 1302 | @end table |
| 1299 | 1303 | ||
| 1300 | You can change the current value of @code{gdb-gud-control-all-threads} | 1304 | You 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. | |||
| 78 | previous undo commands, use @kbd{M-x undo-only}. This is like | 78 | previous 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 |
| 83 | easiest way to recover is to type @kbd{C-/} repeatedly until the stars | 82 | easiest way to recover is to type @kbd{C-/} repeatedly until the stars |
| 84 | disappear from the front of the mode line (@pxref{Mode Line}). | 83 | disappear 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 | |||
| 90 | intentional change. If it was an accident, leave it undone. If it | 89 | intentional change. If it was an accident, leave it undone. If it |
| 91 | was deliberate, redo the change as described above. | 90 | was deliberate, redo the change as described above. |
| 92 | 91 | ||
| 92 | Alternatively, you can discard all the changes since the buffer was | ||
| 93 | last 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, |
| 219 | the word case-conversion commands @kbd{M-l}, @kbd{M-u} and @kbd{M-c} have a | 222 | the word case-conversion commands @kbd{M-l}, @kbd{M-u}, and @kbd{M-c} have a |
| 220 | special feature when used with a negative argument: they do not move the | 223 | special feature when used with a negative argument: they do not move the |
| 221 | cursor. As soon as you see you have mistyped the last word, you can simply | 224 | cursor. As soon as you see you have mistyped the last word, you can simply |
| 222 | case-convert it and go on typing. @xref{Case}. | 225 | case-convert it and go on typing. @xref{Case}. |
| @@ -231,7 +234,7 @@ case-convert it and go on typing. @xref{Case}. | |||
| 231 | single word or of a portion of a buffer. These commands only work if | 234 | single word or of a portion of a buffer. These commands only work if |
| 232 | a spelling checker program, one of Hunspell, Aspell, Ispell or | 235 | a spelling checker program, one of Hunspell, Aspell, Ispell or |
| 233 | Enchant, is installed. These programs are not part of Emacs, but one | 236 | Enchant, is installed. These programs are not part of Emacs, but one |
| 234 | of them is usually installed in GNU/Linux and other free operating | 237 | of them is usually installed on GNU/Linux and other free operating |
| 235 | systems. | 238 | systems. |
| 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 |
| 205 | characters and tab characters so as to align to the desired column. | 205 | possible series of tab and space characters so as to align to the |
| 206 | Tab characters are displayed as a stretch of empty space extending to | 206 | desired column. Tab characters are displayed as a stretch of empty |
| 207 | the next @dfn{display tab stop}. By default, there is one display tab | 207 | space extending to the next @dfn{display tab stop}. By default, there |
| 208 | stop every @code{tab-width} columns (the default is 8). @xref{Text | 208 | is one display tab stop every @code{tab-width} columns (the default is |
| 209 | Display}. | 209 | 8). @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 | |||
| 57 | has several variants), C mode, Fortran mode, and others. The third | 57 | has several variants), C mode, Fortran mode, and others. The third |
| 58 | group consists of major modes that are not associated directly with | 58 | group consists of major modes that are not associated directly with |
| 59 | files; they are used in buffers created for specific purposes by | 59 | files; they are used in buffers created for specific purposes by |
| 60 | Emacs, such as Dired mode for buffers made by Dired (@pxref{Dired}), | 60 | Emacs. Examples include Dired mode for buffers made by Dired |
| 61 | Message 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} |
| 62 | and Shell mode for buffers used to communicate with an inferior shell | 62 | (@pxref{Sending Mail}), and Shell mode for buffers used to communicate |
| 63 | process (@pxref{Interactive Shell}). | 63 | with 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 |
| 66 | first visit a file or create a buffer (@pxref{Choosing Modes}). You | 66 | first visit a file or create a buffer (@pxref{Choosing Modes}). You |