[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to transform text before feeding it to ispell?
From: |
Eli Zaretskii |
Subject: |
Re: Is it possible to transform text before feeding it to ispell? |
Date: |
Tue, 08 Sep 2015 18:54:51 +0300 |
> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Tue, 08 Sep 2015 10:29:00 +0200
>
> assume that I have an \(i\|hun\)spell dictionary in encoding X, and my
> document is in encoding Y. Does Emacs have any facility for translating
> the text before feeding it to ispell, and translating it back when
> presenting alternatives?
Emacs already does all that automatically. Recall that text in the
buffer you are spell-checking is already decoded into the internal
representation, so the file's encoding is irrelevant. As for the
dictionary encoding, ispell.el detects that automatically (and if it
fails, you can help it by customizing ispell-dictionary-alist), and
encodes/decodes the words as needed when it talks to the spelling
back-end.
- Re: google-translate, (continued)
- Re: google-translate, Alex Kost, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/17
- Re: google-translate, Emanuel Berg, 2015/09/18
- Re: google-translate, Ian Zimmerman, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
Re: Is it possible to transform text before feeding it to ispell?, Michael Heerdegen, 2015/09/08
Re: Is it possible to transform text before feeding it to ispell?,
Eli Zaretskii <=