[[!meta title="Emacs and aspell/spelling"]] [[!meta date="2008-08-28 06:45:54"]] Another one of my “this is simple but I never remember it” posts: running `aspell` from `emacs`. Setup with (setq-default ispell-program-name "aspell") in your `~/.emacs` file (from the [aspell manual][aspell]). Then use the standard `emacs` spelling commands: * `M-x flyspell-mode` enables Flyspell mode, which highlights all misspelled words. * `M-x ispell` spell-checks the active region or the current buffer. * `M-x ispell-message` checks and corrects spelling of each word in a draft mail message, excluding cited material. * `M-$` (`ispell-word`) checks and corrects spelling of the active region or the word at point. * `C-g` or `X` quits interactive spell checking. You can restart it again afterward with `C-u M-$`. With a bunch more commands in the [emacs manual][manual] [aspell]: http://aspell.net/man-html/Using-Aspell-with-other-Applications.html [manual]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Spelling.html [[!tag tags/linux]] [[!tag tags/emacs]]