help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ispell/aspell on Mac 10.7: "Searching for program: No such file or d


From: Mario Lassnig
Subject: Re: ispell/aspell on Mac 10.7: "Searching for program: No such file or directory, aspell"
Date: Wed, 28 Mar 2012 19:25:40 -0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11-10-24 17:27 , Marius Hofert wrote:
Hi,

Gruezi,


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

Ok until now...

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)

... in principle not necessary, as e23.3 comes with flyspell prepackaged ...

(setq-default ispell-program-name "aspell")

... the trick comes here:

(setq-default ispell-program-name "/usr/local/bin/aspell")
(setq-default ispell-list-command "list")

Ciao,
Mario


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]