Description of problem: Cannot successfully enable on-the-fly spell checking mode. Version-Release number of selected component (if applicable): emacs-22.2-4.fc9.i386 How reproducible: Every time. Steps to Reproduce: 1. Start emacs, visit a .txt file. 2. M-x flyspell-mode or 1. Start emacs, visit a .txt file, with lines in your .emacs file such as: (add-hook 'text-mode-hook '(lambda () (flyspell-mode t))) (add-hook 'prog-mode-hook '(lambda () (flyspell-prog-mode t))) Actual results: Status line shows "Enabling Flyspell mode gave an error", and spell checking is not active. Expected results: Enter flyspell mode, with normally functional spell checking. Additional info: One circumvention is to (also) add to your .emacs file the following: ;; for Fedora 9 where ispell dictionaries are gone ... (setq ispell-program-name "hunspell") Thank you for making so that (at a glance) ispell works out of the box. I have not explored to see exactly how that was accomplished, but it would be reasonable to use a similar or identical strategy for transparently allowing flyspell mode to be enabled with the consolidated dictionaries. In attempting to understand this problem, I downloaded http://www-sop.inria.fr/mimosa/Manuel.Serrano/flyspell/flyspell-1.7n.el copied it to /usr/share/emacs/22.2/lisp/textmodes/flyspell.el and renamed the fedora original flyspell.elc. In a new emacs session, when flyspell-mode attempts to autoload, the status line displays: File mode specification error: (file-error "Searching for program" "no such file or directory" "ispell") and the *Messages* buffer contains: Local Ispell dictionary set to nil Starting new Ispell process [default] ... File mode specification error: (file-error "Searching for program" "no such file or directory" "ispell")
*** This bug has been marked as a duplicate of bug 443549 ***
I have come across this issue on openSUSE and I resolved it by installing 'aspell-ispell' rather than 'ispell'. This may be worth a try.