[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell bug
From: |
Ken Stevens |
Subject: |
Re: flyspell bug |
Date: |
Fri, 13 May 2005 13:09:48 -0700 |
Richard Stallman writes:
> I have a version that doesn't use exec-installed-p, but have not
> put it out for testing.
>
> Could you email it to us? We can look at the differences from your
> previous version, and also test it.
The current version I have does not try to enforce a particular speller
- both ispell and aspell are supported. The choice is determined by the
setting of the customized variable `ispell-prefer-aspell' when both ispell
and aspell exist on the system.
I had used the function `exec-installed-p' which had it's roots in APEL
(A Portable Emacs Library). In digging deeper, it appears that this is
not necessary as the standard emacs function `executable-find' appears
to have the same desired functionality.
Here are the variables:
(defcustom ispell-prefer-aspell nil
"*Select preference between using the `ispell' or `aspell' program.
`ispell' is used by default.
When this variable is set, `aspell' is used if it is installed on the system."
:type 'boolean
:group 'ispell)
(defcustom ispell-program-name
(or (and (executable-find "aspell")
(or ispell-prefer-aspell
(not (executable-find "ispell")))
"aspell")
"ispell")
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
:group 'ispell)
I'm sure you'll argue to make `ispell-prefer-aspell' set by default ;-)
It is only used in the above location in the code.
I have several other patches, improvements to integrate into the current
version of ispell as well.
regards -Ken
- Re: flyspell bug, (continued)
- Re: flyspell bug, Juri Linkov, 2005/05/10
- Re: flyspell bug, Eli Zaretskii, 2005/05/10
- Re: flyspell bug, Juri Linkov, 2005/05/11
- Re: flyspell bug, Eli Zaretskii, 2005/05/11
- Re: flyspell bug, Juri Linkov, 2005/05/12
- Re: flyspell bug, Eli Zaretskii, 2005/05/12
- Re: flyspell bug, Juri Linkov, 2005/05/12
- Re: flyspell bug, Eli Zaretskii, 2005/05/12
- Re: flyspell bug, Ken Stevens, 2005/05/12
- Re: flyspell bug, Richard Stallman, 2005/05/13
- Re: flyspell bug,
Ken Stevens <=
- Re: flyspell bug, Richard Stallman, 2005/05/14
- Re: flyspell bug, Richard Stallman, 2005/05/12
- Re: flyspell bug, Richard Stallman, 2005/05/12
- Re: flyspell bug, Kevin Atkinson, 2005/05/23
- Re: flyspell bug, Richard Stallman, 2005/05/24
- Re: flyspell bug, Kevin Atkinson, 2005/05/25
- Re: flyspell bug, Richard Stallman, 2005/05/26
- Re: flyspell bug, Juri Linkov, 2005/05/25
- Re: flyspell bug, Kevin Atkinson, 2005/05/25
- Re: flyspell bug, Richard Stallman, 2005/05/26