all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "cmr.Pent@gmail.com" <cmr.Pent@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Spellcheck against multiple dictionaries?
Date: Wed, 18 Mar 2009 12:36:18 -0700 (PDT)	[thread overview]
Message-ID: <ee71f2ae-0d5c-40eb-9df4-ca4aa345a3d2@w34g2000yqm.googlegroups.com> (raw)
In-Reply-To: f2b12848-39cb-459a-9911-826c8bf2973d@e18g2000yqo.googlegroups.com

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	other threads:[~2009-03-18 19:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 16:04 Spellcheck against multiple dictionaries? cmr.Pent
2009-03-18 19:36 ` cmr.Pent [this message]
     [not found] <49C09110.9010105@gmx.at>
     [not found] ` <5f0660120903181236g3714f647ia568e3d02ae4fe56@mail.gmail.com>
2009-03-19  8:17   ` martin rudalics
     [not found]   ` <mailman.3552.1237450712.31690.help-gnu-emacs@gnu.org>
2009-03-19  9:30     ` Sergei
2009-03-19 14:29       ` Miles Bader
2009-03-19 15:34         ` Lennart Borgman
     [not found]         ` <mailman.3577.1237476870.31690.help-gnu-emacs@gnu.org>
2009-03-20 19:54           ` cmr.Pent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee71f2ae-0d5c-40eb-9df4-ca4aa345a3d2@w34g2000yqm.googlegroups.com \
    --to=cmr.pent@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.