mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[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 manual][aspell]).  Then use the
10 standard `emacs` spelling commands:
11
12 * `M-x flyspell-mode` enables Flyspell mode, which highlights all misspelled words.
13 * `M-x ispell` spell-checks the active region or the current buffer.
14 * `M-x ispell-message` checks and corrects spelling of each word in a draft mail message, excluding cited material.
15 * `M-$` (`ispell-word`) checks and corrects spelling of the active region or the word at point.
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][manual]
19
20 [aspell]: http://aspell.net/man-html/Using-Aspell-with-other-Applications.html
21 [manual]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Spelling.html
22
23 [[!tag tags/linux]]
24 [[!tag tags/emacs]]