Je pense donc je suis.
全部博文(55)
分类: LINUX
2010-04-16 16:13:06
|
Flyspell enables on-the-fly spell checking in Emacs by the means of a minor mode. It is called Flyspell. This facility is hardly intrusive. It requires no help. Flyspell highlights incorrect words as soon as they are completed or as soon as the cursor hits a new word.
Flyspell is language independent because you are free to select your own dictionary.
Flyspell is compatible with TeX editing.
That is, Flyspell tries, as
much as possible, to avoid highlighting TeX command. In order to
automate the
starting of Flyspell when editing LaTeX
source files, one may add the
following expression in his .emacs
file:
(add-hook 'LaTeX-mode-hook 'flyspell-mode) |
Flyspell proposes corrections for miss-spelled words by the means of pop-up menus. Clicking Mouse-2 (这里是指鼠标中键)on a highlighted word will raise a menu that proposes corrections. Alternatively you will be able to store the word in the global dictionary, to add it to the current document dictionary or to ignore the miss-spelling for the current session.
Flyspell also proposes automatic corrections. With M-\t, Flyspell replaces current miss-spelled word with a possible correction. If several corrections are made possible, they are sorted and M-\t proposes a new correction each time hit. Corrections may be sorted by alphabetical ordering (the default) or by likeness to the current word ordering. To enable the likeness criteria, uses:(setq flyspell-sort-corrections nil) |
(setq flyspell-doublon-as-error-flag nil)