I am not able to use Spell-Check in the Emacs on my Mac. I copied the .emacs file I had on my previous Fedora to my home folder in my Macbook. The ".emacs" has a line saying:
(global-set-key "\C-k" 'ispell)
When I type "control+k" in an open emacs terminal, I get the following error message in the minibuffer:
Searching for program: permission denied,/Applications/Emacs.app/Contents/Resources/list/textmodes/ispell.elc
When I looked for this address, I found that there is no "list" folder inside the "/Applications/Emacs.app/Contents/Resources/" folder.
When I do "locate ispell.elc", I get the following results:
/Applications/Emacs.app/Contents/Resources/lisp/textmodes/ispell.elc
/usr/local/share/emacs/24.2/lisp/textmodes/ispell.elc
/usr/share/emacs/22.1/lisp/textmodes/ispell.elc
How do I fix it?
aspell(or another equivalent thereof). Or, perhaps you needaspelland you just configured the location of the spelling program to incorrectly -- i.e.,ispell.elcdoes not contain a dictionary or executable to search the dictionary. You need something like this (after you installaspell):(setq-default ispell-program-name "/Users/HOME/.0.data/.0.emacs/elpa/bin/aspell")and(setq ispell-dictionary "english")and(setq flyspell-default-dictionary "english")- lawlistlispnotlist-- so your.emacsfile may have a typo. Feel free to right click on your application and reveal the packaged directories and familiarize yourself with the various directories inside. Also, perhaps start off with a tried and true self-contained Emacs build (i.e., not homebrew, not macports) -- emacsformacosx.com You can use macports or homebrew to installaspell, or install the developer tools for your Mac and buildaspell, or there is another equivalent you'll find on Google that is a packaged spelling utility. - lawlist