GNU bug report logs -
#19229
ispell-phaf: No matching entry for ...
Previous Next
Full log
View this message in rfc822 format
On 21 May 2015 at 03:41, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> 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.
This works in windows! Once this is done I can then use
ispell-change-dictionary to change the dictionary to anything I want.
Presumably, then, the problem I'm seeing is that ispell+hunspell falls
over if the dictionary initially set by emacs doesn't exist.
Is there a way to force ispell+hunspell to use a different dictionary
from the start other than changing the LANG variable?
Thanks!
--
Alan Third
On 21 May 2015 at 03:41, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> 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.
--
Alan Third
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.