all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Didier <didibus@gmail.com>
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: Sat, 18 Aug 2018 21:35:11 +0300	[thread overview]
Message-ID: <83efevfrq8.fsf@gnu.org> (raw)
In-Reply-To: <CAMpjXyfbZjQ4omgH36EBMynwmxSHKS41f4Y8w0g2sLsCqtmwpQ@mail.gmail.com> (message from Didier on Sat, 18 Aug 2018 00:11:17 -0700)

> From: Didier <didibus@gmail.com>
> Date: Sat, 18 Aug 2018 00:11:17 -0700
> 
> I'm trying to get ispell working on Windows 10, with Emacs 26.1. Aspell 
> 0.60 is now required, and there are no Windows 10 release for it yet. I
> thus switched to hunspell. But, it seems ispell is not able to find the
> dictionaries for hunspell, and throws an error:
>  
> (wrong-type-argument stringp nil)
>  
> This is caused by spell-parse-hunspell-affix-file(nil) getting a nil
> dict input which in turn is caused by
> ispell-hunspell-fill-dictionary-entry not properly parsing my hunspell
> dicts.

No, it's because your Hunspell dictionaries seem to be misconfigured.

> To help with the issue, here's the result of the call to hunspell to get
> the dict path:
>  
> ("JKLRCH 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\".")

This list doesn't include a single .aff file, and Emacs needs that to
initialize the dictionaries properly.

What does Hunspell display if you invoke it from the shell prompt with
the -D switch?

And where did you download this port of Hunspell from?





  reply	other threads:[~2018-08-18 18:35 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 [this message]
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
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=83efevfrq8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32471@debbugs.gnu.org \
    --cc=didibus@gmail.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.