From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29801: 25.3; ispell cannot detect installed dictionaries Date: Fri, 22 Dec 2017 11:15:10 +0200 Message-ID: <83lghvm8dd.fsf@gnu.org> References: <87y3lwgnce.fsf@hornet.i-did-not-set--mail-host-address--so-tickle-me> <83r2rnnb8l.fsf@gnu.org> <87po77ho28.fsf@gmx.com> <83po77n9h3.fsf@gnu.org> <87lghvhjij.fsf@gmx.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513934061 16544 195.159.176.226 (22 Dec 2017 09:14:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2017 09:14:21 +0000 (UTC) Cc: 29801@debbugs.gnu.org To: Basilio Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 22 10:14:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSJPE-0003rh-Kg for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 10:14:16 +0100 Original-Received: from localhost ([::1]:41174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSJRB-0002A7-H8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 04:16:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSJQz-00027k-Pl for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 04:16:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSJQw-0000xK-FX for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 04:16:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSJQw-0000xG-Cf for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 04:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSJQw-0003hQ-6r for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 04:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2017 09:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29801-submit@debbugs.gnu.org id=B29801.151393412314165 (code B ref 29801); Fri, 22 Dec 2017 09:16:02 +0000 Original-Received: (at 29801) by debbugs.gnu.org; 22 Dec 2017 09:15:23 +0000 Original-Received: from localhost ([127.0.0.1]:46856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSJQI-0003gP-Pd for submit@debbugs.gnu.org; Fri, 22 Dec 2017 04:15:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSJQH-0003gD-EW for 29801@debbugs.gnu.org; Fri, 22 Dec 2017 04:15:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSJQ8-0000Mx-S0 for 29801@debbugs.gnu.org; Fri, 22 Dec 2017 04:15:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSJQ8-0000Ms-Oa; Fri, 22 Dec 2017 04:15:12 -0500 Original-Received: from [176.228.60.248] (port=1768 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eSJQ8-0002Or-6I; Fri, 22 Dec 2017 04:15:12 -0500 In-reply-to: <87lghvhjij.fsf@gmx.com> (message from Basilio on Thu, 21 Dec 2017 23:13:24 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141362 Archived-At: > From: Basilio > Cc: 29801@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.