[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell doesn’t seem to deal with hunspell reporting byte offsets
From: |
Eli Zaretskii |
Subject: |
Re: ispell doesn’t seem to deal with hunspell reporting byte offsets |
Date: |
Tue, 23 Apr 2013 19:33:52 +0300 |
> Date: Tue, 23 Apr 2013 11:21:36 +0200
> From: Nikolai Weibull <now@disu.se>
>
> It seems that ispell doesn’t deal with hunspell reporting byte
> offsets.
Emacs cannot "deal" with that, because the encoding emitted by
hunspell can be anything (it depends on the encoding used by the
dictionary, among other things).
The fact that byte offsets are reported is a bug in hunspell (for
which you can find a patch in the hunspell bug tracker). You can also
find the patch here:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7781#31
> Any way of getting around this?
Fix hunspell with one of the patches for this bug. That's the only
way that will work reliably.