ispell-word
). If the region is active, do it for all words in the region instead. ispell-complete-word
). ispell-word
). If a region is active, M-$ checks the spelling of all wordswithin the region. See Mark. (When Transient Mark mode is off,M-$ always acts on the word around or before point, ignoring theregion; see Disabled Transient Mark.) query-replace
so youcan replace it elsewhere in the buffer if you wish. (The replacementswill be rescanned for more spelling errors.) ispell-complete-word
) performs in-buffer completion based onspelling correction. Insert the beginning of a word, and then typeM-<TAB>; this shows a list of completions. (If yourwindow manager intercepts M-<TAB>, type <ESC><TAB> or C-M-i.) Each completion is listed with a digit orcharacter; type that digit or character to choose it. ispell-local-dictionary
or, if that is nil
, by the variable ispell-dictionary
. If both are nil
, the spelling program's default dictionary isused. The command M-x ispell-change-dictionary sets thestandard dictionary for the buffer and then restarts the subprocess,so that it will use a different standard dictionary. Your personaldictionary is specified by the variableispell-personal-dictionary
. If that is nil
, thespelling program looks for a personal dictionary in a defaultlocation, which is specific to each spell-checker. ispell-complete-word-dict
specifies the file name of thisdictionary. The completion dictionary must be different because itcannot use the information about roots and affixes of the words, whichspell-checking uses to detect variations of words. For somelanguages, there is a spell-checking dictionary but no word completiondictionary. flyspell-mode
to text-mode-hook
. See Hooks. Notethat, as Flyspell mode needs to check each word across which you move,it will slow down cursor motion and scrolling commands. It alsodoesn't automatically check the text you didn't type or move across;use flyspell-region
or flyspell-buffer
for that. flyspell-correct-word
) to display a menuof possible corrections and actions. In addition, C-. or<ESC>-<TAB> (flyspell-auto-correct-word
) willpropose various successive corrections for the word at point, andC-c $ (flyspell-correct-word-before-point
) will pop up amenu of possible corrections. Of course, you can always correct themisspelled word by editing it manually in any way you like. flyspell-prog-mode
to prog-mode-hook
(see Hooks).