I need to install/run flyspell mode on emacs/w32.
I installed ispell for windows from this site, and then I followed the procedure written in here.
- I downloaded the flyspell-1.7a.el to rename it as flyspell.el, and copied it to the load-path directory.
- I modified the .emacs
;;; http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html ;;; flyspell mode (require 'flyspell) (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) (autoload 'flyspell-delay-command "flyspell" "Delay on command." t) (autoload 'tex-mode-flyspell-verify "flyspell" "" t) )
But, when I run emacs with flymode, I got the following error.
(error "Autoloading failed to define function turn-on-flyspell")
What might be wrong?
SOLUTION with ISPELL
It was ispell for win32's problem, one should use the one that works with emacs/win32 as is explained in the book of emacs.
- Download ispell.zip from one of the site.
- Copy the ispell.exe to the PATH directory, and copy the English dictionary to the home directory.
SOLUTION with ASPELL
vedang gave a better answer with aspell at this post.
It has windows installer, dictionary install in here. And adding the following line in .emacs works fine with me.
(custom-set-variables '(ispell-dictionary "british") '(ispell-program-name "H:\\bin\\aspell\\bin\\aspell.exe"))