From: W. Trevor King Date: Thu, 28 Aug 2008 10:45:54 +0000 (+0000) Subject: Importing NanoBlogger post "Emacs and aspell/spelling" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34454991a0aa928abacab55616d32450508a4543;p=blog.git Importing NanoBlogger post "Emacs and aspell/spelling" --- diff --git a/posts/Emacs_and_aspell/spelling.mdwn b/posts/Emacs_and_aspell/spelling.mdwn new file mode 100644 index 0000000..9ac0178 --- /dev/null +++ b/posts/Emacs_and_aspell/spelling.mdwn @@ -0,0 +1,21 @@ +[[!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](http://aspell.net/man-html/Using-Aspell-with-other-Applications.html)). +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. +* `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](http://www.delorie.com/gnu/docs/emacs/emacs_109.html). + +[[!tag linux]] +[[!tag programming]]