unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* auto-select lang with flyspell
@ 2006-01-13 21:53 Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2006-01-13 21:53 UTC (permalink / raw)



Does anyone have code to try and auto-select the proper dictionary to use
with flyspell?

I'm thinking of something that works as follows:

If the current word is misspelled and more than X% of the words around are
misspelled as well and the current dictionary has not yet been set
explicitly, try and guess which dictionary to use and switch to that.
The guess could be based simply and trying to spell-check the surrounding
text and selecting the dict that results in fewer misspellings.

of course, if it works differently, it doesn't mean I'm not interested.


        Stefan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-13 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13 21:53 auto-select lang with flyspell Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).