Convert to tags from "*" to "tags/*".
[blog.git] / posts / Emacs_and_aspell_spelling.mdwn
1 [[!meta  title="Emacs and aspell/spelling"]]
2 [[!meta  date="2008-08-28 06:45:54"]]
3
4 Another one of my “this is simple but I never remember it” posts:
5 running `aspell` from `emacs`.  Setup with
6
7     (setq-default ispell-program-name "aspell")
8
9 in your `~/.emacs` file (from the [aspell
10 manual](http://aspell.net/man-html/Using-Aspell-with-other-Applications.html)).
11 Then use the standard `emacs` spelling commands:
12
13 * `M-x flyspell-mode` enables Flyspell mode, which highlights all misspelled words.
14 * `M-x ispell` spell-checks the active region or the current buffer.
15 * `M-x ispell-message` checks and corrects spelling of each word in a draft mail message, excluding cited material.
16 * `C-g` or `X` quits interactive spell checking. You can restart it again afterward with `C-u M-$`.
17
18 With a bunch more commands in the [emacs manual](http://www.delorie.com/gnu/docs/emacs/emacs_109.html).
19
20 [[!tag tags/linux]]
21 [[!tag tags/programming]]