From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#29801: 25.3; ispell cannot detect installed dictionaries Date: Fri, 22 Dec 2017 00:15:03 +0100 Message-ID: <87vagzvfk8.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513898129 13216 195.159.176.226 (21 Dec 2017 23:15:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 23:15:29 +0000 (UTC) Cc: 29801@debbugs.gnu.org To: Basilio , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 22 00:15:25 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 1eSA3c-0002hF-1W for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 00:15:20 +0100 Original-Received: from localhost ([::1]:46694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSA5a-0006Cg-CG for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 18:17:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSA4M-0005ce-3l for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 18:16:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSA4I-0004zk-1b for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 18:16:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37907) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSA4H-0004zZ-TN for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 18:16:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSA4H-0003nn-Ku for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 18:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2017 23:16:01 +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.151389812414566 (code B ref 29801); Thu, 21 Dec 2017 23:16:01 +0000 Original-Received: (at 29801) by debbugs.gnu.org; 21 Dec 2017 23:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:46587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSA3g-0003ms-8A for submit@debbugs.gnu.org; Thu, 21 Dec 2017 18:15:24 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:50066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSA3e-0003mf-JV for 29801@debbugs.gnu.org; Thu, 21 Dec 2017 18:15:23 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7783220E4F for <29801@debbugs.gnu.org>; Fri, 22 Dec 2017 00:15:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1513898116; bh=Ptmm0iKrBUipDwjMql14OaNIZixm9O+WEhInVrpbeXk=; h=From:To:Cc:Subject:Date:From; b=QWyHgN+0NtQP8UQc3ZKJN6x0aMyWId9YbkeGUR2mvuO01EjC6juFreQKJVtusCM7w TrpmI0PWc2vYRALZ1zAvufay8CrA3vr+F6SoOko9YXa9uDnE+Ks+4iNQT4weoQMKCb ASQXvaVFcBMa14cSYVueh5Sb6FLZqp1YI3sJ/E5o09sZnPO4w7nFAOiT1S1nxQmdu2 WiQ19N8PV5i+OzTRatmLCbo9b9VHn0pBea6UWI9ZgDf4FuinmqUix+EmjRWEWH0K82 BCUsk0lId92dAbN6y7jWuZptNaReOq8Q7FOAjKDnyaazvjU3RCBpjqTMoIrvw0Hm8L TsQ4e9XoDhwgA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z2nYG0Z05z9rxG; Fri, 22 Dec 2017 00:15:14 +0100 (CET) In-Reply-To: <87lghvhjij.fsf@gmx.com> 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:141358 Archived-At: Basilio writes: > Eli Zaretskii writes: > >>> From: Basilio >>> Cc: 29801@debbugs.gnu.org >>> Date: Thu, 21 Dec 2017 21:35:11 +0200 >>> >>> > Finally, what is the Aspell version? What does "aspell -vv" produce? >>> ~ % 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. > > Thanks a lot! > > 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. Sorry for just jumping in here out of the blue, but an ugly hack could be to just add a ? in the end of the expression after the last ) in ispell.el. Find the code (search-forward-regexp "(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t) in ispell.el and add ? to the regexp string like this: "(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)?" This makes it not require the ending paren and should (partly) match (but really Aspell 0.60.7-rc1) The group match becomes 0.60.7- (version<= "0.60" "0.60.7-") (ispell-check-minver "0.6" "0.60.7-") those both evaled to t without making problems for me. If this is not too stupid to suggest (as a temporary home-fix) then maybe someone could suggest a proper way of installing the hack.