159 |
@table @kbd |
@table @kbd |
160 |
@item M-x flyspell-mode |
@item M-x flyspell-mode |
161 |
Enable Flyspell mode, which highlights all misspelled words. |
Enable Flyspell mode, which highlights all misspelled words. |
162 |
|
@item M-x flyspell-progmode |
163 |
|
Enable Flyspell mode for comments and strings only. |
164 |
@item M-$ |
@item M-$ |
165 |
Check and correct spelling of the word at point (@code{ispell-word}). |
Check and correct spelling of the word at point (@code{ispell-word}). |
166 |
@item M-@key{TAB} |
@item M-@key{TAB} |
173 |
@item M-x ispell-region |
@item M-x ispell-region |
174 |
Check and correct spelling of each word in the region. |
Check and correct spelling of each word in the region. |
175 |
@item M-x ispell-message |
@item M-x ispell-message |
176 |
Check and correct spelling of each word in a draft mail message, |
Check and correct spelling of each word in a draft mail message, |
177 |
excluding cited material. |
excluding cited material. |
178 |
@item M-x ispell-change-dictionary @key{RET} @var{dict} @key{RET} |
@item M-x ispell-change-dictionary @key{RET} @var{dict} @key{RET} |
179 |
Restart the Ispell process, using @var{dict} as the dictionary. |
Restart the Ispell process, using @var{dict} as the dictionary. |
195 |
actions. You can also correct the word by editing it manually in any |
actions. You can also correct the word by editing it manually in any |
196 |
way you like. |
way you like. |
197 |
|
|
198 |
|
@findex flyspell-prog-mode |
199 |
|
Flyspell Prog mode works just like ordinary Flyspell mode, except that |
200 |
|
it only checks words in comments and string constants. This feature |
201 |
|
is useful for editing programs. Type @kbd{M-x flyspell-prog-mode} to |
202 |
|
enable or disable this mode in the current buffer. |
203 |
|
|
204 |
The other Emacs spell-checking features check or look up words when |
The other Emacs spell-checking features check or look up words when |
205 |
you give an explicit command to do so. Checking all or part of the |
you give an explicit command to do so. Checking all or part of the |
206 |
buffer is useful when you have text that was written outside of this |
buffer is useful when you have text that was written outside of this |
327 |
process uses no time except when you do spelling correction. |
process uses no time except when you do spelling correction. |
328 |
|
|
329 |
@vindex ispell-dictionary |
@vindex ispell-dictionary |
330 |
Ispell uses two dictionaries: the standard dictionary and your private |
Ispell uses two dictionaries together for spell checking: the |
331 |
dictionary. The variable @code{ispell-dictionary} specifies the file |
standard dictionary and your private dictionary. The variable |
332 |
name of the standard dictionary to use. A value of @code{nil} says to |
@code{ispell-dictionary} specifies the file name to use for the |
333 |
use the default dictionary. The command @kbd{M-x |
standard dictionary; a value of @code{nil} selects the default |
334 |
ispell-change-dictionary} sets this variable and then restarts the |
dictionary. The command @kbd{M-x ispell-change-dictionary} sets this |
335 |
Ispell subprocess, so that it will use a different dictionary. |
variable and then restarts the Ispell subprocess, so that it will use |
336 |
|
a different standard dictionary. |
337 |
|
|
338 |
@vindex ispell-complete-word-dict |
@vindex ispell-complete-word-dict |
339 |
The dictionary used by @code{ispell-complete-word} can be |
Ispell uses a separate dictionary for word completion. The variable |
340 |
customized separately by setting the value of the variable |
@code{ispell-complete-word-dict} specifies the file name of this |
341 |
@code{ispell-complete-word-dict}. |
dictionary. The completion dictionary must be different because it |
342 |
|
cannot use employ root and affix information. For some languages |
343 |
|
there is a spell checking dictionary but no word completion |
344 |
|
dictionary. |