Subject: bug#13460: Issue to change dictionary when using hunspell on emacs

From: Glenn Morris <[email-masked]>
Date: Wed, 16 Jan 2013 18:23:23 -0500

Eli Zaretskii wrote:

> You need to install the English dictionary for Hunspell.  I suspect
> that its name will be en_US (or maybe en_GB), not "english".

M-x ispell-change-dictionary doesn't accept "en_US" as input.
It wants something like "english" (coming from
ispell-dictionary-base-alist), which as you say is wrong.
Tested with:

hunspell -D
[...]
LOADED DICTIONARY:
/usr/share/myspell/en_US.aff
/usr/share/myspell/en_US.dic
Hunspell 1.2.8

emacs -Q --eval '(setq ispell-program-name "/usr/bin/hunspell")