FAQ 5-5

Question 5.5

Is there a spell-checker? Perhaps even on-the-fly spell-checking?

Answer

You can use ispell.el to spell-check stuff in Emacs, and flyspell.el for on-the-fly spell-checking. So the first thing to do is to make sure that you’ve got either hunspell, ispell or aspell installed and in your Path.

Ispell.el assumes you use ispell. If you use aspell say

(setq ispell-program-name "aspell")

in your Emacs configuration file.

If you want your outgoing messages to be spell-checked, say

(add-hook 'message-send-hook 'ispell-message)

In your ~/.gnus.el, if you prefer on-the-fly spell-checking say

(add-hook 'message-mode-hook (lambda () (flyspell-mode 1)))