help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs ispell error on windows10 with hunspell


From: Eli Zaretskii
Subject: Re: emacs ispell error on windows10 with hunspell
Date: Thu, 30 Apr 2020 20:40:58 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]