[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug 130397
From: |
Juri Linkov |
Subject: |
Re: Bug 130397 |
Date: |
Tue, 18 Jan 2005 12:44:52 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Kenichi Handa <address@hidden> writes:
> Please try the latest ispell.el. I think at least this
> misalignment error is fixed now.
I tried the latest ispell.el and I see that your change is a definite
improvement since it now allows to check words in mule-unicode charsets.
But it still doesn't fix the misalignment error. It even makes this
error more frequent because it now occurs in all UTF-8 texts checked
with ispell-region (which earlier were simply skipped before your change).
The cause of the error is the following: a line sent by ispell.el
to the ispell process is converted from mule-unicode charset to the
process charset, and the accepted output gets converted from process
coding to the internal Emacs charset iso8859. So `search-forward' in
`ispell-process-line' fails to find a string in iso8859 charset
in the buffer with the same string in mule-unicode charset.
> As for this, I agree with the following statement.
>
> Geoff Kuenning <address@hidden> writes:
>> I'm not entirely sure what you mean here. For disjoint alphabets,
>> it's certainly relatively easy to figure out which word should go to
>> which ispell instance. For identical, superset, or overlapping
>> alphabets, the problem is basically insoluable. For example, "fra" is
>> a misspelling in English but legal in Italian. If it appears in a
>> mixed passage, which dictionary should it be fed to? The only
>> solution would seem to be to require the user to mark passages in some
>> way, as is done in HTML.
I agree that marking would help ispell.el to decide which dictionary
to use on a word. However, even without marking users might still prefer
to check words simultaneously with multiple dictionaries and to accept
a word when it's found in one dictionary, because such cases where a word
appears in both dictionaries might be too rare for two chosen languages.
A similar problem exists even within one language where a misspelled word
is still a valid word according to ispell (e.g. misspelled "male" instead
of "mail").
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Bug 130397, (continued)
- Re: Bug 130397, Miles Bader, 2005/01/09
- Re: Bug 130397, Geoff Kuenning, 2005/01/09
- Re: Bug 130397, Eli Zaretskii, 2005/01/10
- Re: Bug 130397, David Kastrup, 2005/01/10
- Re: Bug 130397, Eli Zaretskii, 2005/01/10
- Re: Bug 130397, Kenichi Handa, 2005/01/13
- Re: Bug 130397, Peter Heslin, 2005/01/08
- Re: Bug 130397, Agustin Martin, 2005/01/07
- Re: Bug 130397, Juri Linkov, 2005/01/07
- Re: Bug 130397, Kenichi Handa, 2005/01/13
- Re: Bug 130397,
Juri Linkov <=
- Re: Bug 130397, Geoff Kuenning, 2005/01/18
- Re: Bug 130397, Juri Linkov, 2005/01/19
- Re: Bug 130397, Geoff Kuenning, 2005/01/19
- Re: Bug 130397, Kenichi Handa, 2005/01/18
- Re: Bug 130397, Juri Linkov, 2005/01/19
- Re: Bug 130397, Kenichi Handa, 2005/01/19
- Re: Bug 130397, David Kastrup, 2005/01/19
- Re: Bug 130397, Ken Stevens, 2005/01/07
Re: Bug 130397 (Was: Emacs - Ispell problem with i[no]german dictionary), Agustin Martin, 2005/01/07