GNU bug report logs - #29801
25.3; ispell cannot detect installed dictionaries

Previous Next

Package: emacs;

Reported by: basilio <at> gmx.com

Date: Thu, 21 Dec 2017 16:29:01 UTC

Severity: normal

Merged with 31724

Found in versions 24.5, 25.3

Fixed in version 26.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 29801 <at> debbugs.gnu.org (full text, mbox):

From: Basilio <basilio <at> gmx.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Basilio <basilio <at> gmx.com>, 29801 <at> debbugs.gnu.org
Subject: Re: bug#29801: 25.3; ispell cannot detect installed dictionaries
Date: Fri, 22 Dec 2017 23:56:34 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Basilio <basilio <at> gmx.com>
>> Cc: 29801 <at> debbugs.gnu.org
>> Date: Thu, 21 Dec 2017 23:13:24 +0200
>> 
>> >> ~ % aspell -vv                         
>> >> @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-rc1)
>> >
>> > That's the problem, I think: that "-rc1" at the end of the version
>> > string.  Emacs looks for a version string with this regexp:
>> >
>> >  (search-forward-regexp "(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t)
>> >
>> > which doesn't match 0.60.7-rc1.
>
> This is now fixed in the emacs-26 branch.
>
>> Is there an easy way to solve it on my level and chances that there will be some
>> solution developed upstream? I'm not very proficient in Lisp unfortunately.
>
> Change this regexp in ispell.el:
>
>   "(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)"
>
> into this:
>
>   "(but really Aspell \\([0-9]+\\.[0-9.]+\\([-._+ ]?[a-zA-Z0-9]+\\)?\\)?)"
>
> Then byte-compile ispell.el to produce a modified ispell.elc, restart
> Emacs if it's running, and you should be all set.
>
> I'd be interested to know whether this fix makes the problem go away
> for you.
>
> Thanks.

Sorry, was offline.

Now I can choose both "uk" and "ukrainian" dictionaries (which in fact
is the same, but that's not a problem for me anyway). And many languages
that are not really installed also remain. But that is not a problem for
me either. Ukrainian spell checking and flyspell mode now work again.

Many thanks! And my best regards!




This bug report was last modified 6 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.