all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Basilio <basilio@gmx.com>
Cc: 29801@debbugs.gnu.org
Subject: bug#29801: 25.3; ispell cannot detect installed dictionaries
Date: Fri, 22 Dec 2017 11:15:10 +0200	[thread overview]
Message-ID: <83lghvm8dd.fsf@gnu.org> (raw)
In-Reply-To: <87lghvhjij.fsf@gmx.com> (message from Basilio on Thu, 21 Dec 2017 23:13:24 +0200)

> From: Basilio <basilio@gmx.com>
> 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.





  parent reply	other threads:[~2017-12-22  9: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
2017-12-22  9:15         ` Eli Zaretskii [this message]
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=83lghvm8dd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=29801@debbugs.gnu.org \
    --cc=basilio@gmx.com \
    /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.