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

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

Re: Spellcheck against multiple dictionaries?


From: address@hidden
Subject: Re: Spellcheck against multiple dictionaries?
Date: Wed, 18 Mar 2009 12:36:18 -0700 (PDT)
User-agent: G2/1.0

2009/3/18 martin rudalics <rudalics@gmx.at>:
> Privet, Andrey!
>
>> Is there a nice way to let Emacs use multiple dictionaries for
>> spellchecking? I think it is a very practical approach, especially if
>> language character sets do not intersect (English/Russian for
>> example).
>
> I once wrote a mode to handle multiple dictionaries which you should be
> able to find here
>
> http://www.emacswiki.org/emacs/SpeckMode
>
> Note, however, that it provides only flyspell-like behavior which means
> it will eagerly check all text displayed in a window and not just
> individual words in the lazy manner of ispell.  Please give it a try, in
> particular because I never had any feedback from Russian users ;-).  If
> it works and the flyspell-type behavior annoys you sufficiently, we can
> think about implementing a more ispell-like behavior.
>
> Sincerely, martin.
>

Grüß Gott!

I've downloaded speck.el file, but I'm not sure how do I use it.

I've created a test file containing mixed correct and incorrect words,
in Russian and English:

Test тест correct очепятка incorect верно

Then I've done M-x speck-mode. Emacs said that Speck-mode has been
activated and is using "ru_RU" dictionary, but nothing has changed in
the test buffer. From your description I was expecting that the
incorrect words would be highlighted somehow. Am I missing something?

I think that the ispell-ish behavior would indeed be nice. I've looked
through the ispell code, and it looks like Emacs raises some kind of
exception if the ispell process returns "invalid" status. Do you think
it is possible to fallback to another dictionary on such an event?

Andrey


reply via email to

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