[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fly-spelling with multiple dictionaries
From: |
Sascha Wilde |
Subject: |
Re: Fly-spelling with multiple dictionaries |
Date: |
Sun, 06 Apr 2008 16:41:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
martin rudalics <address@hidden> wrote:
>> Anyway, regarding the issue of hunspell: there is already a
>> ispell/aspell like command line interface included with hunspell
[...]
>> I'm quite confident that it will not take too much afford to
>> integrate it with Emacs
[...]
>
> Could you have a slightly longer look at this and tell us how it could
> be used? I didn't find anything about this at their site.
Ok, I did some bold experimenting and simply made an ad hoc setup for
ispell like this:
(setq ispell-program-name "hunspell"
ispell-local-dictionary "en_US"
ispell-local-dictionary-alist '(("en_US" "[A-Za-z]" "[^A-Za-z]"
"[']" nil nil nil iso-8859-1)))
then M-x ispell-buffer used hunspell as back end and worked as expected!
(Even a quick attempt to use flyspell succeeded.)
Very promising IMO. It seems that basically the dictionary setup must
be implemented for hunspell to work as back end for Emacs.
I guess there are a bunch of additional harry details which will need
fixing, but in general it seems that hunspell actually can be used as a
drop-in replacement for ispell with Emacs.
cheers
sascha
--
Parents strongly cautioned -- this posting is intended for mature
audiences over 18. It may contain some material that many parents
would not find suitable for children and may include intense violence,
sexual situations, coarse language and suggestive dialogue.
- Re: Fly-spelling with multiple dictionaries, (continued)
- Re: Fly-spelling with multiple dictionaries, martin rudalics, 2008/04/04
- Re: Fly-spelling with multiple dictionaries, Stephen J. Turnbull, 2008/04/04
- Re: Fly-spelling with multiple dictionaries, martin rudalics, 2008/04/04
- Re: Fly-spelling with multiple dictionaries, Sascha Wilde, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, martin rudalics, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, Eli Zaretskii, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, Sascha Wilde, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, Lennart Borgman (gmail), 2008/04/05
- Re: Fly-spelling with multiple dictionaries, Stefan Monnier, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, martin rudalics, 2008/04/05
- Re: Fly-spelling with multiple dictionaries,
Sascha Wilde <=
- hunspell support (was: Fly-spelling with multiple dictionaries), Sascha Wilde, 2008/04/06
- Re: hunspell support (was: Fly-spelling with multiple dictionaries), Agustin Martin Domingo, 2008/04/07
- Re: hunspell support, Sascha Wilde, 2008/04/08
- Re: Fly-spelling with multiple dictionaries, Eli Zaretskii, 2008/04/06
- Re: Fly-spelling with multiple dictionaries, Sascha Wilde, 2008/04/06
- Re: Fly-spelling with multiple dictionaries, Agustin Martin Domingo, 2008/04/07
- hunspell support (Was Fly-spelling with multiple dictionaries), Agustin Martin Domingo, 2008/04/07
- Re: hunspell support, Sascha Wilde, 2008/04/08
- Re: Fly-spelling with multiple dictionaries, Stephen J. Turnbull, 2008/04/05
- Re: Fly-spelling with multiple dictionaries, martin rudalics, 2008/04/05