I wanted to try and configure emacs with hunspell.
- First try: i entered into ~/.config/speech-dispatcher/clients/emacs.conf
(setq ispell-program-name "hunspell"
ispell-dictionary "it_IT")
Result: it doesn't work.
- Second try: I created the file./.emacs.e/init.el and I entered into it:
(if (file-exists-p "/usr/bin/hunspell")
(progn
(setq ispell-program-name "hunspell")
(eval-after-load "ispell"
'(progn (defun ispell-get-coding-system () 'utf-8)))))
Result: it work.
There are better solutions?