[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#690318: hunspell hungs after changing dictionary



Control: tag 690318 + upstream fixed-upstream

On Sun, Oct 14, 2012 at 04:43:30PM +0200, Yuri D'Elia wrote:
> On 10/14/2012 02:34 PM, Agustin Martin wrote:
> >I have been debugging this problem and noticed that this is caused by
> >some problems with the way hunspell handle init version string in pipe
> >mode, way that is not compatible with ispell and aspell. This causes
> >Emacs not catching the error condition caused by missing dictionaries
> >after failed hunspell initialization. You tried american, but current
> >myspell.us does not register itself for use with Emacs, so unless you
> >have a personal entry in your ~/emacs file it should fail with an
> >error like
> >
> >ispell-init-process: Can't open affix or dictionary files for
> >dictionary named "american".
[...]
> >As mentioned there I have been playing with a proposed change that
> >seems to work here in my tests (mostly with normal use under Emacs),
> >although it is still not deeply tested.
> 
> I tried the patch, and I can confirm it also works.
> I also normally use hunspell within emacs.

Patch applied in upstream repo

http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/tools/hunspell.cxx?r1=1.61&r2=1.62

-- 
Agustin


Reply to: