all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ispell/aspell on Mac 10.7: "Searching for program: No such file or directory, aspell"
@ 2011-10-24 15:27 Marius Hofert
  0 siblings, 0 replies; 3+ messages in thread
From: Marius Hofert @ 2011-10-24 15:27 UTC (permalink / raw)
  To: Emacs help

Hi,

I'm working with Emacs 23.3 on Mac OS X 10.7.2. I would like to use aspell for spell checking, but I get an error. Here is what I tried so far and the corresponding results:

1) downloaded and installed aspell-0.60.6.1.tar.gz 
2) copied ./scripts/ispell and ./scripts/spell to /usr/local/bin [recommended in README]
3) downloaded and installed aspell6-en-7.1-0.tar.bz2 [English dictionary]
4) tested aspell in the terminal => works
5) downloaded http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html 
6) put it in ~/.emacs.d/flyspell under the name "flyspell.el"
7) put in ~/.emacs:
(add-to-list 'load-path "~/.emacs.d/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) 
(setq-default ispell-program-name "aspell")

If I open a .tex file and use M-x flyspell-mode, I obtain: "Searching for program: No such file or directory, aspell".
Without the last line in 7), I obtain "Searching for program: No such file or directory, ispell". Both ispell and aspell are working in the terminal, why not in emacs?

The buffer *Messages* says:
...
Applying style hooks... done
Loading /Users/mhofert/.emacs.d/flyspell/flyspell.el (source)...done
Local Ispell dictionary set to nil
Starting new Ispell process [default] ...
apply: Searching for program: No such file or directory, aspell


Cheers,

Marius


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-24 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.955.1319470038.15868.help-gnu-emacs@gnu.org>
     [not found] ` <4EA585F2.7020806@lassnig.net>
2011-10-24 16:03   ` ispell/aspell on Mac 10.7: "Searching for program: No such file or directory, aspell" Marius Hofert
     [not found]     ` <4EA5AB70.5030902@cern.ch>
2011-10-24 20:30       ` Marius Hofert
2011-10-24 15:27 Marius Hofert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.