;; Use hunspell instead of ispell
(setq ispell-program-name "hunspell")
(require 'rw-language-and-country-codes)
(require 'rw-ispell)
(require 'rw-hunspell)
(setq ispell-dictionary "en_US")
;; The following is set via custom
(custom-set-variables
'(rw-hunspell-dicpath-list (quote ("/usr/share/hunspell")))
'(rw-hunspell-make-dictionary-menu t)
'(rw-hunspell-use-rw-ispell t)
)
or
(eval-after-load "ispell"
(progn
(setq ispell-dictionary "en_US"
ispell-extra-args '("-a" "-i" "utf-8")
ispell-silently-savep t
ispell-dictionary-alist
'((nil ; default
"[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_US" "-i"
"utf-8") nil utf-8)
("american" ; Yankee English
"[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_US" "-i"
"utf-8") nil utf-8)
("british" ; British English
"[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_GB" "-i"
"utf-8") nil utf-8)
)))
(setq-default ispell-program-name "hunspell")
so now I just have:
(setq ispell-program-name "hunspell")
(setq ispell-silently-savep t)
cheers,-- ________________________ Jeffrey Spencer jeffspencerd@gmail.com