GNU bug report logs - #19229
ispell-phaf: No matching entry for ...

Previous Next

Package: emacs;

Reported by: Alexander Shukaev <haroogan <at> gmail.com>

Date: Sun, 30 Nov 2014 18:26:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Third <alan <at> idiocy.org>
Cc: 19229 <at> debbugs.gnu.org
Subject: bug#19229: ispell on Windows
Date: Thu, 21 May 2015 05:41:50 +0300
> Date: Wed, 20 May 2015 21:34:51 +0100
> From: Alan Third <alan <at> idiocy.org>
> Cc: 19229 <at> debbugs.gnu.org
> 
> > Instead, I suggest to copy en_GB.* dictionary files that Hunspell uses
> > to corresponding ENG.* files.
> 
> Doesn't work in OS X, but I'll give it a go in Windows tomorrow.

OS X should support the original names, like en_GB, and it should have
its locale set to that already.

> > Alternatively, say something like this in your ~/.emacs:
> >
> >   (ispell-change-dictionary "en_GB" t)
> >
> > which re-invokes Hunspell with the en_GB dictionary without messing
> > with your LANG variable.
> 
> Unfortunately this doesn't work, I get our old friend:
> 
>   ispell-phaf: No matching entry for nil.

Where did you get your Hunspell binary for Windows?  The above works
for me, so I suspect your Hunspell is subtly broken.

> And if I run it a second time I get:
> 
>   (error "Undefined dictionary: en_GB")

Does that happen in "emacs -Q" as well?  If not, have another look at
your Hunspell- and ispell-related customizations.

> I've given up on spell checking in emacs several times in the past and
> this is the closest I've ever got to getting it working across all the
> platforms I'm using.

On Posix platforms (including OS X), the locale setting should do
that.  On Windows, use one of the 2 methods I suggested, they do work
provided that Hunspell has its known bugs fixed.




This bug report was last modified 4 years and 257 days ago.

Previous Next


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