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

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

Re: Flyspell error


From: Richard Riley
Subject: Re: Flyspell error
Date: Sun, 02 Aug 2009 22:28:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Xah Lee <address@hidden> writes:

> On Aug 2, 12:10 am, sam jesse <address@hidden> wrote:
>> I installed Aspell and not Ispell.
>> I now have Start > Programs > Aspell ...
>> can I start this application on its own to see if it is working fine?
>
> type Win+r, then launch cmd.exe.
> cd to your aspell dir, then type aspell. It should run like that.
>
>> it
>> does not seam to provide a short cut for running the application.
>> I seam to missing the bigger picture; why the error trace says ispell when I
>> have aspell installed, I have ispell.el and ispell.elc in
>> C:\Documents and Settings\emp1\My Documents\emacs-22.3\lisp\textmodes
>
> you need to tell emacs that your spelling program is aspell not
> ispell.
>
> Richard Riley gave you this:
>
>> I didnt see the whole thread, but does he have:
>> (setq-default ispell-program-name "aspell")
>
> however, i cant' find the var ispell-program-name in my emacs. Don't

I'm not sure what you mean by "can't find".

http://www.emacswiki.org/emacs/InteractiveSpell

http://www.emacswiki.org/emacs/InteractiveSpell#toc5

,----
| You might be interested in using a different spell checker. In
| particular, Aspell is a fairly new replacement for much of Ispell’s
| functionality. Fortunately, using Aspell with Emacs is very easy:
| 
|     (setq ispell-program-name "aspell")
| 
| (Aspell has an Ispell-emulation mode, so it behaves like ispell.el
| expects.)
| 
| For lots more information on Aspell, see the Aspell website:
| 
|     * http://aspell.net/
| 
| Compared with Ispell, Aspell is much better at coming up with suggested
| spellings, and at putting them in likely order. This is particularly
| useful when used with flyspell-auto-correct-previous-word, where you can
| iterate through suggested spellings – it’s much more useful when the
| correct spelling is near the head of the list.
| 
| The problem with using aspell with flyspell is that in its default mode,
| it it a lot slower than ispell. Fortunately, you can tell it to speed
| up, though this reduces somewhat the quality of its suggestions. So try
| this:
| 
|     (setq ispell-program-name "aspell") (setq ispell-extra-args
|     '("--sug-mode=ultra"))
| 
| According to the aspell documentation, “ultra” is the fastest mode,
| which is still twice as slow as ispell; but I don’t notice the
| difference from ispell on my machine. If your machine is fast enough, a
| better option might be to try “fast” mode, which is twice as slow as
| “ultra”, but more accurate. The “normal” mode, which is the aspell
| default, is even more accurate, but is reportedly 10 times slower than
| “fast” mode, and on my machine it makes editing and motion around the
| buffer noticeably sluggish when in flyspell-mode. YMMV, depending on how
| fast your machine is, and how big your word-lists are.
`----


reply via email to

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