From: Richard LIU <richardliu1987@163.com>
To: "help-gnu-emacs@gnu.org " <help-gnu-emacs@gnu.org>
Subject: emacs ispell error on windows10 with hunspell
Date: Fri, 1 May 2020 00:06:57 +0800 [thread overview]
Message-ID: <5EAAF7A3.819A24.17697@mail-m974.mail.163.com> (raw)
Hello,
I encouted an error when try to use hunspell with emacs 26.3 on windows 10.
Please give me some help.
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\".")
ispell-init-process()
ispell-buffer-local-words()
ispell-accept-buffer-local-defs()
ispell-region(1 6738)
ispell-buffer()
ispell()
funcall-interactively(ispell)
call-interactively(ispell record nil)
command-execute(ispell record)
counsel-M-x-action("ispell")
ivy-call()
ivy-read("M-x " [eww-buffer-select soap-bound-operation-soap-headers origami-hide-node-overlay epg-context-signers org-babel-C-utility-header-to-C tex-chktex-program package-lint--sane-prefixes vc-git-stash-snapshot TeX-command-Biber avy-words epg--status-VALIDSIG org-publish--store-crossrefs help-variable gnus-sync org-emphasis-regexp-components mml-secure-smime-sign-with-sender gnus-delete-overlay vc-hg--read-u8 viper-deactivate-input-method-action vc-src-log-switches js--expression-in-sgml-indent-line sgml-syntax-propertize web-mode-warning-face delphi-column-of cl-print--preprocess org-publish-sanitize-plist eieio-class-tag--ede-target edebug-clear-frequency-count org-agenda-regexp-filter-preset Franklin\ Gothic\ Demi\ Cond 0 tramp-cleanup checkdoc-package-keywords-flag shr-parse-image-data soap-element-namespace-tag--cmacro org-man-fixed-width Edebug\ All\ Defs org-duration-format & \' :name-match osx-org-clock-menubar tramp-cache-data rx-trans-forms ebrowse-ms-definition-pattern--cmacro sgml-tag-name--cmacro todo-categories-mode log-edit-set-header expired tramp-gw-open-connection ...] :predicate #f(compiled-function (sym) #<bytecode 0x2139921>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :sort t :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
counsel-M-x()
funcall-interactively(counsel-M-x)
call-interactively(counsel-M-x nil nil)
command-execute(counsel-M-x)
Thanks a lot!
Yours,
Richard LIU
发送自 Windows 10 版邮件应用
next reply other threads:[~2020-04-30 16:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 16:06 Richard LIU [this message]
2020-04-30 17:40 ` emacs ispell error on windows10 with hunspell Eli Zaretskii
-- 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5EAAF7A3.819A24.17697@mail-m974.mail.163.com \
--to=richardliu1987@163.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).