> (1) user doesn't have aspell installed
> (2) user has aspell installed, but configured it to use ispell's
> dictionaries
> (3) user has aspell installed and wants to use aspell's dictionaries
There is also a fourth situation:
(4) user has aspell installed, but uses ispell with ispell's dictionaries
> I know how to detect (1) -- use locate-file or similar technique to
> look for aspell. But how to distinguish between (2) and (3)?
AFAIK, the situation (2) doesn't exist. There are the following
situations instead:
(2) user has aspell installed and uses the compatibility script
`ispell' as a wrapper around aspell with aspell's dictionaries
(3) user has aspell installed and uses `aspell' executable with
aspell's dictionaries
(2) is detected by checking the output of `ispell -v'.
(3) is configured by users by changing ispell-program-name to "aspell".
After the change in flyspell.el it doesn't work with the `ispell'
compatibility script. Maybe ispell-really-aspell should have more
values to distinguish between (2) and (3). (3) can be detected
by matching ispell-program-name against the regexp "aspell$".
--
Juri Linkov
http://www.jurta.org/emacs/
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel