all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Didier <didibus@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32471@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	[thread overview]
Message-ID: <CAMpjXycQG4eYSju+HRPcScmR0snbmU4O18CyY+KEFo2TmjRvFw@mail.gmail.com> (raw)
In-Reply-To: <83r2itdrjh.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2071 bytes --]

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@gnu.org> wrote:

> > From: Didier <didibus@gmail.com>
> > Date: Mon, 20 Aug 2018 01:12:02 -0700
> > Cc: 32471@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").
>

[-- Attachment #2: Type: text/html, Size: 3016 bytes --]

  reply	other threads:[~2018-08-23  3:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18  7:11 bug#32471: 26.1; ispell throwing wrong-type-argument stringp nil on Windows 10, with emacs 26.1 and hunspell Didier
2018-08-18 18:35 ` Eli Zaretskii
2018-08-18 19:09   ` Eli Zaretskii
2018-08-20  8:12     ` Didier
2018-08-20 14:46       ` Eli Zaretskii
2018-08-23  3:31         ` Didier [this message]
2018-08-23 13:39           ` Eli Zaretskii
2018-08-24 21:30             ` Didier
2018-08-25  6:54               ` 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=CAMpjXycQG4eYSju+HRPcScmR0snbmU4O18CyY+KEFo2TmjRvFw@mail.gmail.com \
    --to=didibus@gmail.com \
    --cc=32471@debbugs.gnu.org \
    --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.