From: Tomas Nordin <tomasn@posteo.net>
To: Basilio <basilio@gmx.com>, Eli Zaretskii <eliz@gnu.org>
Cc: 29801@debbugs.gnu.org
Subject: bug#29801: 25.3; ispell cannot detect installed dictionaries
Date: Fri, 22 Dec 2017 00:15:03 +0100 [thread overview]
Message-ID: <87vagzvfk8.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87lghvhjij.fsf@gmx.com>
Basilio <basilio@gmx.com> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Basilio <basilio@gmx.com>
>>> 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.
next prev parent reply other threads:[~2017-12-21 23:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 14:36 bug#29801: 25.3; ispell cannot detect installed dictionaries basilio
2017-12-21 17:07 ` Eli Zaretskii
2017-12-21 19:25 ` Basilio
2017-12-21 19:15 ` Eli Zaretskii
2017-12-21 19:35 ` Basilio
2017-12-21 19:53 ` Eli Zaretskii
2017-12-21 21:13 ` Basilio
2017-12-21 23:15 ` Tomas Nordin [this message]
2017-12-22 9:15 ` Eli Zaretskii
2017-12-22 18:04 ` Glenn Morris
2017-12-22 18:33 ` Eli Zaretskii
2017-12-22 19:04 ` Glenn Morris
2017-12-22 20:06 ` Eli Zaretskii
2017-12-22 23:51 ` Glenn Morris
2017-12-23 8:54 ` Eli Zaretskii
2017-12-22 23:55 ` Glenn Morris
2017-12-23 8:54 ` Eli Zaretskii
2017-12-22 21:56 ` Basilio
2017-12-22 23:40 ` Glenn Morris
2017-12-23 8:39 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vagzvfk8.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
--to=tomasn@posteo.net \
--cc=29801@debbugs.gnu.org \
--cc=basilio@gmx.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.