[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug 130397
From: |
David Kastrup |
Subject: |
Re: Bug 130397 |
Date: |
Sat, 08 Jan 2005 13:47:09 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Geoff Kuenning <address@hidden> writes:
> Ken writes:
>
>> Geoff has a much better understanding of the underlying spell search
>> engine. Perhaps he can shed additional light on this topic.
>
> I just looked at the code to be sure my memory is correct. Here's
> the short rundown: in the '-a' interface, ispell interfaces with the
> outside world purely in a byte-indexed mode. It is perfectly
> capable of handling UTF-8 and similar multi-byte encodings, but when
> it reports the offsets of incorrect words, it does so as a byte
> offset, not a character offset.
>
> Does emacs provide an underlying byte-indexed interface to the
> buffer? If so, life should be easy: just have ispell.el use that
> interface.
You are wrongly assuming that the buffer is maintained in UTF-8. It
isn't. Byte indexing is not going to be fun with regard to
efficiency, unless we get some interface that will, while writing out
a file in UTF-8, store an array of byte/character correspondences for
the UTF-8 (or whatever other) character conversion somewhere.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Bug 130397, (continued)
- Re: Bug 130397, Kenichi Handa, 2005/01/04
- Re: Bug 130397, Stefan Monnier, 2005/01/04
- Re: Bug 130397, Kenichi Handa, 2005/01/05
- Re: Bug 130397, Stefan Monnier, 2005/01/05
- Re: Bug 130397, Kenichi Handa, 2005/01/05
- Re: Bug 130397, Ken Stevens, 2005/01/06
- Re: Bug 130397, Stefan Monnier, 2005/01/06
- Re: Bug 130397, Kenichi Handa, 2005/01/06
- Re: Bug 130397, Agustin Martin, 2005/01/07
- Re: Bug 130397, Geoff Kuenning, 2005/01/08
- Re: Bug 130397,
David Kastrup <=
- 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