[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 24.5.; invoking hunspell with multiple dicts
From: |
Eli Zaretskii |
Subject: |
Re: 24.5.; invoking hunspell with multiple dicts |
Date: |
Sun, 03 May 2015 17:40:45 +0300 |
> From: Arash Esbati <esbati@gmx.de>
> Date: Sat, 2 May 2015 20:25:19 +0000 (UTC)
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > You shouldn't need this with kind of customization with Emacs 24.4 and
> > later. That code which signals an error in your case figures
> > OTHERCHARS automatically. (It also figures out all the rest.)
>
> Tried it with `ispell.el' shipped with 24.5. like this:
>
> 1. emacs --eval '(setq debug-on-error t)' -Q &
>
> 2. Open a simple LaTeX file:
>
> \documentclass{article}
> \usepackage[ngerman]{babel}
> Schönheit, Schön"=heit.
> \end{document}
>
> 3. `M-x ispell-change-dictionary RET german8 RET', marking `Schön"=heit'
> and `M-x ispell-region' gives me the following:
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (error "Ispell misalignment: word `heit' point
> 74; probably incompatible versions")
This doesn't happen to me.
> I'm not sure if I've got bitten by the bug discussed and fixed here:
>
> http://sourceforge.net/p/hunspell/bugs/185/
Quite possibly. I use a patched Hunspell 1.3.2 where all the known
bugs were fixed, including this one.
I suggest to find a fixed Hunspell somewhere. What OS are you on?