GNU bug report logs - #32471
26.1; ispell throwing wrong-type-argument stringp nil on Windows 10, with emacs 26.1 and hunspell

Previous Next

Package: emacs;

Reported by: Didier <didibus <at> gmail.com>

Date: Sat, 18 Aug 2018 16:05:01 UTC

Severity: minor

Tags: notabug

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Didier <didibus <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32471 <at> debbugs.gnu.org
Subject: bug#32471: 26.1; ispell throwing wrong-type-argument stringp nil on Windows 10, with emacs 26.1 and hunspell
Date: Wed, 22 Aug 2018 20:31:13 -0700
[Message part 1 (text/plain, inline)]
Wow, that worked.

So, is there no way I can change my Locale within Emacs prior to loading
ispell?

On Mon, 20 Aug 2018 at 07:47 Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Didier <didibus <at> gmail.com>
> > Date: Mon, 20 Aug 2018 01:12:02 -0700
> > Cc: 32471 <at> debbugs.gnu.org
> >
> > If I run hunspell -D from the command line, I get:
> >
> > SEARCH PATH:
> > .;;C:\Hunspell\;C:\Users\didibus\.openoffice.org
> \3\user\wordbook;C:\Users\didibus\hunspell\bin\..\share\hunspell;C:\Program
> > files\OpenOffice.org 2.4\share\dict\ooo\;C:\Program files\OpenOffice.org
> 2.3\share\dict\ooo\;C:\Program
> > files\OpenOffice.org 2.2\share\dict\ooo\;C:\Program files\OpenOffice.org
> 2.1\share\dict\ooo\;C:\Program
> > files\OpenOffice.org 2.0\share\dict\ooo\
> > AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> > C:\Users\didibus\hunspell\bin\..\share\hunspell\default
> > C:\Users\didibus\hunspell\bin\..\share\hunspell\en_GB
> > C:\Users\didibus\hunspell\bin\..\share\hunspell\en_US
> > Can't open affix or dictionary files for dictionary named "ENU".
> >
> > I got the windows port of hunspell from here:
> https://sourceforge.net/projects/ezwinports/files/
> >
> > When I do ispell-change-dictionary to en_US it says: (match required),
> and nothing happens.
> >
> > This is the content of my c:\Users\didibus\hunspell\share\hunspell
> folder:
> >
> > README_en_GB.txt
> > README_en_US.txt
> > default.aff
> > default.dic
> > dictionary.lst
> > en_GB.aff
> > en_GB.dic
> > en_US.aff
> > en_US.dic
>
> Copy en_US.* files into corresponding ENU.* files, and your problem is
> likely to go away.
>
> > By the way, it seems I can get it to work if I add the following to my
> init file:
> >
> >     (setq ispell-dictionary "en_US")
> >     (setq ispell-dictionary-alist
> >           '(("en_US" "[[:alpha:]]" "[^[:alpha:]]" "[']"
> >              t ("-d" "en_US" "-p"
> "C:\\Users\\didibus\\hunspell\\share\\hunspell\\en_US.aff") nil utf-8)))
>
> Yes, but that shouldn't be necessary if you configure Hunspell for
> your locale (which is ENU, a.k.a. "en_US").
>
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 355 days ago.

Previous Next


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