Difference between revisions of "Spell check"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | ''' | + | '''Spell Checking''' is done by Emacs by calling external spell checkers. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Basic setup = | = Basic setup = | ||
Line 29: | Line 20: | ||
</pre> | </pre> | ||
− | |||
− | |||
= Common Customization = | = Common Customization = | ||
Line 56: | Line 45: | ||
== GNU/Linux Notes 2 == | == GNU/Linux Notes 2 == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Customization/Notes specific to Windows goes here --> | <!-- Customization/Notes specific to Windows goes here --> | ||
Line 73: | Line 52: | ||
Windows users be aware of this. | Windows users be aware of this. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Project Pages = | = Project Pages = | ||
Line 119: | Line 58: | ||
* [http://kdstevens.com/~stevens/ispell-page.html International, Interactive Spell checker] | * [http://kdstevens.com/~stevens/ispell-page.html International, Interactive Spell checker] | ||
− | |||
− | |||
= Tutorial Pages = | = Tutorial Pages = | ||
Line 130: | Line 67: | ||
*[http://emacswiki.org/emacs/InteractiveSpell Emacswiki:InteractiveSpell] | *[http://emacswiki.org/emacs/InteractiveSpell Emacswiki:InteractiveSpell] | ||
− | |||
− | |||
− | [[Category: | + | [[Category:Text Editing]] |
Revision as of 18:49, 29 March 2012
Spell Checking is done by Emacs by calling external spell checkers.
Basic setup
You can use either aspell or hunspell.
Useful commands
- M-x ispell-change-dictionary RET SPC
- Check list of installed dictionaries.
- M-x customize-variable RET ispell-dictionary
- Configure default dictionary.
- M-x add-file-local-variable RET ispell-dictionary RET TAB
- Use this to change dictionary on per-file basis. This command will add this line to the file in question. Please save and re-load the file for new settings to take effect.
-*- ispell-dictionary: "english" -*-
Common Customization
Hunspell
You need dictionary files for spell check to work. If you have installed OpenOffice or LibreOffice, then dictionary files are already there.
(setq-default ispell-program-name "hunspell")
Customization 2
(message "You can also do this customization")
GNU/Linux
GNU/Linux Notes 1
GNU/Linux Notes 2
Links to precompiled binaries are dead at time of writing.
I got RPMs from openSUSE, but hunspell.exe aborted after not finding a dll file. After that dll was added, another dll was not found. I gave up after several iterations. This was with mingw32-hunspell-1.3.2-1.98.noarch.rpm and later mingw32-hunspell-1.3.2-1.99.noarch.rpm (and associated lang and tools RPMs). Windows users be aware of this.
Project Pages
- International Ispell
- Official Home page and lots of dictionaries
Tutorial Pages
- Spell checker problems
- Xahlee's notes and tutorials