all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs ispell error on windows10 with hunspell
Date: Thu, 30 Apr 2020 20:40:58 +0300	[thread overview]
Message-ID: <83r1w4x45x.fsf@gnu.org> (raw)
In-Reply-To: <5EAAF7A3.819A24.17697@mail-m974.mail.163.com> (message from Richard LIU on Fri, 1 May 2020 00:06:57 +0800)

> From: Richard LIU <richardliu1987@163.com>
> Date: Fri, 1 May 2020 00:06:57 +0800
> 
> I installed hunspell on D:/Install , and hunspell.exe was in D:/Install/hunspell/src/tools/.
> The dictionary files: en_US.aff and en_US.dic, were put in D:/Install/hunspell/src/tools/.
> my config:
> 
> (add-to-list 'exec-path "D:/Install/hunspell/src/tools/")
> (setq ispell-program-name "hunpell")
> ;;(setq ispell-program-name (locate-file "hunspell"
> ;;              exec-path exec-suffixes 'file-executable-p))
> (use-package ispell
>   :config
>   (setq ispell-program-name
>         "D:/Install/hunspell/src/tools/hunspell.exe"))
> 
> (setq ispell-hunspell-dict-paths-alist
>       '(("en_US" "D:/Install/hunspell/src/tools/en_US.aff")))
> (setq ispell-dictionary "en_US")
> (setq ispell-personal-dictionary "D:/Install/hunspell/src/tools/en_US.aff")
> 
> 
> run command [M-x ispell] got error:
> 
> Debugger entered--Lisp error: (error "Can't open affix or dictionary files for dictionary named \"en_US\".")
>   signal(error ("Can't open affix or dictionary files for dictionary named \"en_US\"."))
>   error("%s" "Can't open affix or dictionary files for dictionary named \"en_US\".")

What does Hunspell display if you run it from the cmd.exe shell's
prompt like this:

  hunspell -D




  reply	other threads:[~2020-04-30 17:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30 16:06 emacs ispell error on windows10 with hunspell Richard LIU
2020-04-30 17:40 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-03  4:07 刘虎
2020-05-03 15:05 ` Eli Zaretskii
     [not found]   ` <CAE5V+8EQWZPCz2-r1h=-Jj+fd0_ap7Xb51jyLWUmvx759Up5PA@mail.gmail.com>
2020-05-04 14:48     ` Eli Zaretskii
     [not found]       ` <CAE5V+8FF7YWRR1LT3y9XZnpu2aHZc1kKbfoqLgpxoT-64uSO9A@mail.gmail.com>
2020-05-05 14:19         ` Eli Zaretskii
2020-05-04  0:23 ` Robert Thorpe

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=83r1w4x45x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.