Red Hat Bugzilla – Bug 832587
hunspell-en not required for Emacs 24 when it should be
Last modified: 2013-03-03 18:03:09 EST
Description of problem:
After installing emacs, visiting a file, and then enabling flyspell-mode, flyspell mode fails because hunspell cannot find a dictionary.
Version-Release number of selected component (if applicable):
International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
Steps to Reproduce:
1. $ sudo yum install emacs
2. $ hunspell -D
Can't open affix or dictionary files for dictionary named "en_US"
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
Work around: $ sudo yum install hunspell-en
John, thanks for the bug report.
Unfortunately I do not think that introducing the dependency on hunspell-en is a way to go. Emacs provides many features that interact with other programs and if we would go that path we would depend on gdb, texlive, version control programs etc. AFAIK programs using hunspell also do not depend on specific language dictionaries.
I think "yum install hunspell-en" is the right way how to solve the issue these days. Let's consider adding hunspell-en as a dependency when RPM starts supporting optional dependencies ("Recommends").
I'm closing this issue for now. If you have some strong arguments for introducing the dependency, feel free to reopen so we can discuss them.