I tried to set up ispell to use hunspell with this post.

but it seems like ispell is still not using hunspell.

Ispell in Emacs would mark this word as wrong: Schulwochen (German)

$ hunspell -d de_DE
Hunspell 1.7.0

So I guess ispell is nor using hunspell.
Since other German word appear correct in emacs ispell, I am pretty sure ispell is using a German dictionary.


(setq ispell-program-name (executable-find "/usr/bin/hunspell")
      ispell-dictionary   "de_DE")


(setq ispell-program-name "hunspell")
(setq ispell-local-dictionary "de_DE")
(setq ispell-local-dictionary-alist
      '(("de_DE" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil utf-8)))

OS: Fedora
Emacs: Doom

~> ispell -vv
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8)
~> hunspell -vv
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.7.0)

This might be the problem but I could not find a way to update ispell.

  • What does C-h v ispell-program-name say?
    – NickD
    Jan 1 at 17:29
  • Your right. Something did not work. Value "aspell" Jan 1 at 18:53
  • The given code is: ` (or (executable-find "enchant-2") (executable-find "hunspell") (executable-find "aspell") (executable-find "ispell") ` Jan 1 at 19:00

1 Answer 1


Try adding the following to your init file:

(eval-after-load 'ispell
    (setq ispell-program-name (executable-find "hunspell")
          ispell-dictionary   "de_DE"))

and check with C-h v ispell-program-name after you restart emacs.

This should make sure that you get the final word on setting ispell-program-name.

  • The Value is still aspell. I made sure that "exe-path" was correct and my emacs installation was no flatpak, but still emacs seem unable to find hunspell and enchant-2 Jan 2 at 9:30
  • Can you uninstall aspell temporarily? If that is feasible, you can start emacs and see if it finds hunspell instead.
    – NickD
    Jan 2 at 10:38
  • This worked. Its now using hunspell. Could you add this to your answer and I check it. Jan 4 at 12:03
  • Will do - it's a half-measure however so I want to do some testing first and then think about how to phrase it.
    – NickD
    Jan 4 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.