diff options
| author | Eli Zaretskii | 2018-02-10 19:21:42 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-02-10 19:21:42 +0200 |
| commit | cb2487b173f84055692a3c978ccbef75b0fb70b3 (patch) | |
| tree | ea4ab9a82c23a15736c9ff8b1ad509740eb5c778 | |
| parent | 66e9527b9a8c66bc3c5a4e5c3e68777d93310be1 (diff) | |
| download | emacs-cb2487b173f84055692a3c978ccbef75b0fb70b3.tar.gz emacs-cb2487b173f84055692a3c978ccbef75b0fb70b3.zip | |
Improve Emacs user manual in fixit.texi
* doc/emacs/fixit.texi (Undo): Clarify inaccurate description of
repeated undo.
(Transpose): Describe explicitly what happens at EOL.
(Spelling): Use "spell-checking" consistently. Clarify wording.
Suggested by Toon Claes <toon@iotcl.com> in
emacs-manual-bugs@gnu.org.
| -rw-r--r-- | doc/emacs/fixit.texi | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi index c872e9bb3ac..7cacac42400 100644 --- a/doc/emacs/fixit.texi +++ b/doc/emacs/fixit.texi | |||
| @@ -69,10 +69,10 @@ changes have already been undone, the undo command signals an error. | |||
| 69 | Any command other than an undo command breaks the sequence of undo | 69 | Any command other than an undo command breaks the sequence of undo |
| 70 | commands. Starting from that moment, the entire sequence of undo | 70 | commands. Starting from that moment, the entire sequence of undo |
| 71 | commands that you have just performed are themselves placed into the | 71 | commands that you have just performed are themselves placed into the |
| 72 | undo record, as a single set of changes. Therefore, to re-apply | 72 | undo record. Therefore, to re-apply changes you have undone, type |
| 73 | changes you have undone, type @kbd{C-f} or any other command that | 73 | @kbd{C-f} or any other command that harmlessly breaks the sequence of |
| 74 | harmlessly breaks the sequence of undoing; then type @kbd{C-/} to undo | 74 | undoing; then type @kbd{C-/} one or more times to undo some of the |
| 75 | the undo command. | 75 | undo commands. |
| 76 | 76 | ||
| 77 | Alternatively, if you want to resume undoing, without redoing | 77 | Alternatively, if you want to resume undoing, without redoing |
| 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 |
| @@ -180,7 +180,8 @@ Otherwise, a reverse search (@kbd{C-r}) is often the best way. | |||
| 180 | dragging the word preceding or containing point forward as well. The | 180 | dragging the word preceding or containing point forward as well. The |
| 181 | punctuation characters between the words do not move. For example, | 181 | punctuation characters between the words do not move. For example, |
| 182 | @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than | 182 | @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than |
| 183 | @samp{@w{BAR FOO,}}. | 183 | @samp{@w{BAR FOO,}}. When point is at the end of the line, it will |
| 184 | transpose the word before point with the first word on the next line. | ||
| 184 | 185 | ||
| 185 | @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for | 186 | @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for |
| 186 | transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} | 187 | transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} |
| @@ -344,16 +345,16 @@ wildcard. | |||
| 344 | 345 | ||
| 345 | @item C-g | 346 | @item C-g |
| 346 | @itemx X | 347 | @itemx X |
| 347 | Quit interactive spell checking, leaving point at the word that was | 348 | Quit interactive spell-checking, leaving point at the word that was |
| 348 | being checked. You can restart checking again afterward with @kbd{C-u | 349 | being checked. You can restart checking again afterward with @kbd{C-u |
| 349 | M-$}. | 350 | M-$}. |
| 350 | 351 | ||
| 351 | @item x | 352 | @item x |
| 352 | Quit interactive spell checking and move point back to where it was | 353 | Quit interactive spell-checking and move point back to where it was |
| 353 | when you started spell checking. | 354 | when you started spell-checking. |
| 354 | 355 | ||
| 355 | @item q | 356 | @item q |
| 356 | Quit interactive spell checking and kill the spell-checker subprocess. | 357 | Quit interactive spell-checking and kill the spell-checker subprocess. |
| 357 | 358 | ||
| 358 | @item ? | 359 | @item ? |
| 359 | Show the list of options. | 360 | Show the list of options. |
| @@ -371,7 +372,7 @@ character; type that digit or character to choose it. | |||
| 371 | @cindex @code{ispell} program | 372 | @cindex @code{ispell} program |
| 372 | @findex ispell-kill-ispell | 373 | @findex ispell-kill-ispell |
| 373 | Once started, the spell-checker subprocess continues | 374 | Once started, the spell-checker subprocess continues |
| 374 | to run, waiting for something to do, so that subsequent spell checking | 375 | to run, waiting for something to do, so that subsequent spell-checking |
| 375 | commands complete more quickly. If you want to get rid of the | 376 | commands complete more quickly. If you want to get rid of the |
| 376 | process, use @kbd{M-x ispell-kill-ispell}. This is not usually | 377 | process, use @kbd{M-x ispell-kill-ispell}. This is not usually |
| 377 | necessary, since the process uses no processor time except when you do | 378 | necessary, since the process uses no processor time except when you do |
| @@ -392,19 +393,21 @@ so that it will use a different standard dictionary. Your personal | |||
| 392 | dictionary is specified by the variable | 393 | dictionary is specified by the variable |
| 393 | @code{ispell-personal-dictionary}. If that is @code{nil}, the | 394 | @code{ispell-personal-dictionary}. If that is @code{nil}, the |
| 394 | spelling program looks for a personal dictionary in a default | 395 | spelling program looks for a personal dictionary in a default |
| 395 | location. | 396 | location, which is specific to each spell-checker. |
| 396 | 397 | ||
| 397 | @vindex ispell-complete-word-dict | 398 | @vindex ispell-complete-word-dict |
| 398 | A separate dictionary is used for word completion. The variable | 399 | A separate dictionary is used for word completion. The variable |
| 399 | @code{ispell-complete-word-dict} specifies the file name of this | 400 | @code{ispell-complete-word-dict} specifies the file name of this |
| 400 | dictionary. The completion dictionary must be different because it | 401 | dictionary. The completion dictionary must be different because it |
| 401 | cannot use root and affix information. For some languages, there | 402 | cannot use the information about roots and affixes of the words, which |
| 402 | is a spell checking dictionary but no word completion dictionary. | 403 | spell-checking uses to detect variations of words. For some |
| 404 | languages, there is a spell-checking dictionary but no word completion | ||
| 405 | dictionary. | ||
| 403 | 406 | ||
| 404 | @cindex Flyspell mode | 407 | @cindex Flyspell mode |
| 405 | @cindex mode, Flyspell | 408 | @cindex mode, Flyspell |
| 406 | @findex flyspell-mode | 409 | @findex flyspell-mode |
| 407 | Flyspell mode is a minor mode that performs automatic spell checking | 410 | Flyspell mode is a minor mode that performs automatic spell-checking |
| 408 | as you type. When it finds a word that it does not recognize, it | 411 | as you type. When it finds a word that it does not recognize, it |
| 409 | highlights that word. Type @kbd{M-x flyspell-mode} to toggle Flyspell | 412 | highlights that word. Type @kbd{M-x flyspell-mode} to toggle Flyspell |
| 410 | mode in the current buffer. To enable Flyspell mode in all text mode | 413 | mode in the current buffer. To enable Flyspell mode in all text mode |