Setting up ispell and Emacs on Mac OS X20 Jul 2014
I was trying to setup flyspell mode on new Mac and whenever i do
but Emacs was throwing error -
Problem - Flyspell does not work with Emacs. Can't find ispell.
Mac OS X does not come with
ispell or its replacement
So the first thing is to install aspell using brew.
brew install aspell
Now to tell emacs to use
aspell instead of
(setq ispell-program-name "aspell")
Even though, aspell is installed properly, Emacs is not able to find it in the path.
Instead of just
aspell, specify the full path to the
(setq ispell-program-name "/usr/local/bin/aspell")
There were other solutions mentioned on the internet like updating the
PATH env variable and
exec-path variable with
it did not work for me.