I just upgraded to Emacs 24 and can't find ispell. If I try to use ispell I get the error message:
Searching for program: no such file or directory, ispell
After a small amount of searching on the Unix & Linux SE, I found that I should put this code in my .emacs
file: (setq ispell-program-name "/path/to/ispell")
. But I can't figure out what ispell's path is. Can anybody tell me? I'm on Mac OS10.8 and GNU emacs 24.5.1.
(setq ispell-program-name "/path/to/ispell")
to your.emacs
? If so try removing it. Also, you can try runningemacs -Q
from the terminal and thenM-x ispell RET
. For me though, the path toispell-program
is/usr/bin/aspell
, but I am on Linux, and it will likely be different on OS Xispell
is typically an alias for a program with a conforming interface, not necessary the originalispell
. Not sure what's going on on Macs, but, quite certainly, you could create an alias for whatever program you run instead, by, say, placing a symlink with the nameispell
pointing at it somewhere on the$PATH
.aspell
. I'm not 100% sure, but I think that Open Office (and Libre Office too) come withhunspell
.