all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>,
	Claus <claus.klingberg@gmail.com>,
	"Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
	Peter Heslin <pj@heslin.eclipse.co.uk>
Subject: Re: Fly-spelling with multiple dictionaries
Date: Fri, 04 Apr 2008 08:55:09 +0200	[thread overview]
Message-ID: <47F5D0CD.3070704@gmx.at> (raw)
In-Reply-To: <A326374A-5489-449B-87B8-8F2DFFA9CCDC@gmail.com>

 > Does any of the packages (yours, Peter's) define a clear API to
 > integrate other spell-checkers than Ispell/Aspell?

Ispell/Aspell are, to my knowledge, the only spell-checkers providing
the piping mechanism Emacs uses - Hunspell has a C(++) interface only.
Currently, all we do is send some buffer text to the spell-checker and
wait what the spell-checker tells us about that text.

 > The OS may offer spell-checking facilities, and it would make for
 > better integration (and also better spell-checking in my case) if that
 > was supported.

IIRC integrating spell-checking wasn't that trivial with Open Office and
Thunderbird either - especially when using some European languages like
German.

 > Also note that modern text services go beyond spell-checking: grammar
 > checking, if done right, can be very helpful, too.  If there was a
 > clear API, people could create the necessary components to integrate
 > such services.

Grammar checking can (and should, IMHO) be done separately from
spell-checking.  Neither Aspell nor Ispell provide any support for this.

 > Such an API should allow the service to spell-check more than one word
 > at a time,

That's what I do with speck, I send one line of text to the
spell-checker at a time.  I don't want to send more since this might
interfere with typing.

 > and it should define text filtering hooks so we don't pass
 > each \begin{itemize} to the spell-checker when in latex-mode.

Currently, Aspell and Ispell know better what should be ignored in LaTeX
buffers.  Why duplicate work in this area?

 > [If
 > there is such an API already, can you please point me to its
 > documentation?]

I'm not aware of such an API.





  reply	other threads:[~2008-04-04  6:55 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03  9:47 Fly-spelling with multiple dictionaries Angelo Graziosi
2008-04-03 12:28 ` martin rudalics
2008-04-03 15:32   ` Claus
2008-04-03 15:54     ` martin rudalics
2008-04-03 16:21       ` Lennart Borgman (gmail)
2008-04-03 17:23         ` martin rudalics
2008-04-03 17:48           ` Lennart Borgman (gmail)
2008-04-03 20:59             ` martin rudalics
2008-04-03 21:13               ` Lennart Borgman (gmail)
2008-04-03 21:43                 ` martin rudalics
2008-04-03 22:00                   ` David Reitter
2008-04-04  6:55                     ` martin rudalics [this message]
2008-04-04  7:07                       ` David Reitter
2008-04-04  9:47                         ` Eli Zaretskii
2008-04-05  7:34                           ` David Reitter
2008-04-05 15:31                             ` Eli Zaretskii
2008-04-05 11:06                         ` Richard Stallman
2008-04-05 11:18                           ` David Reitter
2008-04-05 22:28                             ` Richard Stallman
2008-04-04  9:15                   ` Eli Zaretskii
2008-04-04 12:19                     ` martin rudalics
2008-04-04 19:36                       ` Stephen J. Turnbull
2008-04-04 21:16                         ` martin rudalics
2008-04-05 11:33                           ` Sascha Wilde
2008-04-05 12:13                             ` martin rudalics
2008-04-05 15:34                               ` Eli Zaretskii
2008-04-05 16:34                               ` Sascha Wilde
2008-04-05 17:02                                 ` Lennart Borgman (gmail)
2008-04-05 18:06                                 ` Stefan Monnier
2008-04-05 21:17                                 ` martin rudalics
2008-04-06 14:41                                   ` Sascha Wilde
2008-04-06 16:47                                     ` hunspell support (was: Fly-spelling with multiple dictionaries) Sascha Wilde
2008-04-07 12:35                                       ` Agustin Martin Domingo
2008-04-08  9:12                                         ` hunspell support Sascha Wilde
2008-04-06 19:09                                     ` Fly-spelling with multiple dictionaries Eli Zaretskii
2008-04-06 20:03                                       ` Sascha Wilde
2008-04-07 12:17                                         ` Agustin Martin Domingo
2008-04-07 12:50                                           ` hunspell support (Was Fly-spelling with multiple dictionaries) Agustin Martin Domingo
2008-04-08  9:16                                             ` hunspell support Sascha Wilde
2008-04-05 19:26                           ` Fly-spelling with multiple dictionaries Stephen J. Turnbull
2008-04-05 22:15                             ` martin rudalics
2008-04-03 13:13 ` Dan Nicolaescu

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=47F5D0CD.3070704@gmx.at \
    --to=rudalics@gmx.at \
    --cc=claus.klingberg@gmail.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=pj@heslin.eclipse.co.uk \
    /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.