comparison man/fixit.texi @ 38954:5c282c7df1cf

Minor clarifications.
author Richard M. Stallman <rms@gnu.org>
date Sat, 25 Aug 2001 20:44:44 +0000
parents 5464ee1ba8e2
children 58de4f15ebf6
comparison
equal deleted inserted replaced
38953:41ebc22562e0 38954:5c282c7df1cf
79 @kbd{C-t} transposes the two characters on either side of point. When 79 @kbd{C-t} transposes the two characters on either side of point. When
80 given at the end of a line, rather than transposing the last character of 80 given at the end of a line, rather than transposing the last character of
81 the line with the newline, which would be useless, @kbd{C-t} transposes the 81 the line with the newline, which would be useless, @kbd{C-t} transposes the
82 last two characters on the line. So, if you catch your transposition error 82 last two characters on the line. So, if you catch your transposition error
83 right away, you can fix it with just a @kbd{C-t}. If you don't catch it so 83 right away, you can fix it with just a @kbd{C-t}. If you don't catch it so
84 fast, you must move the cursor back to between the two transposed 84 fast, you must move the cursor back between the two transposed
85 characters. If you transposed a space with the last character of the word 85 characters before you type @kbd{C-t}. If you transposed a space with
86 before it, the word motion commands are a good way of getting there. 86 the last character of the word before it, the word motion commands are
87 Otherwise, a reverse search (@kbd{C-r}) is often the best way. 87 a good way of getting there. Otherwise, a reverse search (@kbd{C-r})
88 @xref{Search}. 88 is often the best way. @xref{Search}.
89
90 89
91 @kindex C-x C-t 90 @kindex C-x C-t
92 @findex transpose-lines 91 @findex transpose-lines
93 @kindex M-t 92 @kindex M-t
94 @findex transpose-words 93 @findex transpose-words
209 @findex ispell-buffer 208 @findex ispell-buffer
210 @findex ispell-region 209 @findex ispell-region
211 To check the entire current buffer, use @kbd{M-x ispell-buffer}. Use 210 To check the entire current buffer, use @kbd{M-x ispell-buffer}. Use
212 @kbd{M-x ispell-region} to check just the current region. To check 211 @kbd{M-x ispell-region} to check just the current region. To check
213 spelling in an email message you are writing, use @kbd{M-x 212 spelling in an email message you are writing, use @kbd{M-x
214 ispell-message}; that checks the whole buffer, but does not check 213 ispell-message}; that command checks the whole buffer, except for
215 material that is indented or appears to be cited from other messages. 214 material that is indented or appears to be cited from other messages.
216 215
217 @findex ispell 216 @findex ispell
218 @cindex spell-checking the active region 217 @cindex spell-checking the active region
219 The @kbd{M-x ispell} command spell-checks the active region if the 218 The @kbd{M-x ispell} command spell-checks the active region if the
221 spell-checks the current buffer. 220 spell-checks the current buffer.
222 221
223 Each time these commands encounter an incorrect word, they ask you 222 Each time these commands encounter an incorrect word, they ask you
224 what to do. They display a list of alternatives, usually including 223 what to do. They display a list of alternatives, usually including
225 several ``near-misses''---words that are close to the word being 224 several ``near-misses''---words that are close to the word being
226 checked. Then you must type a character. Here are the valid responses: 225 checked. Then you must type a single-character response. Here are
226 the valid responses:
227 227
228 @table @kbd 228 @table @kbd
229 @item @key{SPC} 229 @item @key{SPC}
230 Skip this word---continue to consider it incorrect, but don't change it 230 Skip this word---continue to consider it incorrect, but don't change it
231 here. 231 here.
250 Accept the incorrect word---treat it as correct, but only in this 250 Accept the incorrect word---treat it as correct, but only in this
251 editing session and for this buffer. 251 editing session and for this buffer.
252 252
253 @item i 253 @item i
254 Insert this word in your private dictionary file so that Ispell will 254 Insert this word in your private dictionary file so that Ispell will
255 consider it correct it from now on, even in future sessions. 255 consider it correct from now on, even in future sessions.
256 256
257 @item u 257 @item u
258 Insert the lower-case version of this word in your private dic@-tion@-ary 258 Insert the lower-case version of this word in your private dic@-tion@-ary
259 file. 259 file.
260 260
262 Like @kbd{i}, but you can also specify dictionary completion 262 Like @kbd{i}, but you can also specify dictionary completion
263 information. 263 information.
264 264
265 @item l @var{word} @key{RET} 265 @item l @var{word} @key{RET}
266 Look in the dictionary for words that match @var{word}. These words 266 Look in the dictionary for words that match @var{word}. These words
267 become the new list of ``near-misses''; you can select one of them to 267 become the new list of ``near-misses''; you can select one of them as
268 replace with by typing a digit. You can use @samp{*} in @var{word} as a 268 the replacement by typing a digit. You can use @samp{*} in @var{word} as a
269 wildcard. 269 wildcard.
270 270
271 @item C-g 271 @item C-g
272 Quit interactive spell checking. You can restart it again afterward 272 Quit interactive spell checking. You can restart it again afterward
273 with @kbd{C-u M-$}. 273 with @kbd{C-u M-$}.