GNU bug report logs -
#50370
Fix bug in ispell-init-process error handling
Previous Next
Reported by: Ian W <ian <at> wahbe.com>
Date: Sat, 4 Sep 2021 11:40:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 3 Sep 2021 20:53:24 -0700
> From: Ian W <ian <at> wahbe.com>
>
> This fixes the error handling in ispell-init-process. I encountered this bug, and also saw it mentioned here:
> https://mail.gnu.org/archive/html/auctex/2021-08/msg00007.html
>
> The previous behavior involved the ispell process terminating
> prematurely (correct behavior, invalid input) and then calling
> ispell-accept-output. Because ispell-process had terminated,
> ispell-accept-output threw its own error, which prevented the underlying
> error from being displayed.
>
> The bug resulted in the following interaction:
> ispell-word would print out:
> "Starting new Ispell process aspell with default dictionary...done"
> "ispell-accept-output: No Ispell process to read output from!"
>
> The correct behavior is:
> "Starting new Ispell process aspell with default dictionary...done"
> "cond: Error: ~/.emacs.d/.local/etc/ispell/.pws: The language "nil" is not known. This is probably because: the
> file "/usr/local/Cellar/aspell/0.60.8/lib/aspell-0.60/nil.dat" can not be opened for reading.""
I'm not sure I agree that the "correct behavior" better than the
"incorrect". The error message is not more self-explanatory, at
least.
Anyway, do you have a recipe for reproducing this problem? The URL of
the AUCTeX discussion seems to say it happens every time? I don't
think I understand what's going wrong to trigger the problem.
Thanks.
This bug report was last modified 3 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.