From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard LIU Newsgroups: gmane.emacs.help Subject: emacs ispell error on windows10 with hunspell Date: Fri, 1 May 2020 00:06:57 +0800 Message-ID: <5EAAF7A3.819A24.17697@mail-m974.mail.163.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="114033"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org " Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 30 19:06:18 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUCdd-000TZ4-Rv for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Apr 2020 19:06:17 +0200 Original-Received: from localhost ([::1]:56102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUCdc-0004mF-Rx for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Apr 2020 13:06:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48306) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUBxM-0002IN-RX for help-gnu-emacs@gnu.org; Thu, 30 Apr 2020 12:22:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUBxJ-0000No-2B for help-gnu-emacs@gnu.org; Thu, 30 Apr 2020 12:22:35 -0400 Original-Received: from mail-m974.mail.163.com ([123.126.97.4]:40520) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jUBxG-0008NO-Sr for help-gnu-emacs@gnu.org; Thu, 30 Apr 2020 12:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=MIME-Version:From:Subject:Date:Message-Id; bh=ao0pz UHAcXPBrjCGuF1eUBv1GTkiLtvvOR6ww2CwjeU=; b=Dy3kKWF2jpaQpGlaUAyXy 39s687Nw1m2f/jp6VfIK4w9JZxSzDotYtIQ/a0+3H6ezLQ4htABF2EwZsi0GdTjL yApWzgcNQGnoATSctSkCpb62lfwclNBqexPzipc/Wq8s7Sp+cIhE0cM9/A4/1ToP betJoloQOshxtcxmftQ1DU= Original-Received: from [IPv6:::ffff:192.168.0.104] (unknown [221.218.98.231]) by smtp4 (Coremail) with SMTP id HNxpCgDnFD+j96pe9MX+Ag--.359S3; Fri, 01 May 2020 00:06:59 +0800 (CST) Importance: normal X-Priority: 3 X-CM-TRANSID: HNxpCgDnFD+j96pe9MX+Ag--.359S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxXFy5uw1fWw1xJryrXFy5urg_yoW5ury8p3 WUGa47WFyj9r1rAF4UXa40gFy2vF93X398Wrn8twn2kayxCwn7t3ySka1UWay7Gr4Uuw12 vFW8urn5t3WDArJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jx0edUUUUU= X-Originating-IP: [221.218.98.231] X-CM-SenderInfo: xulfxt5ugox3irzylqqrwthudrp/1tbiNwMW5FWBgjBdxQAAs4 Received-SPF: pass client-ip=123.126.97.4; envelope-from=richardliu1987@163.com; helo=mail-m974.mail.163.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 12:07:01 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Received-From: 123.126.97.4 X-Mailman-Approved-At: Thu, 30 Apr 2020 13:05:48 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122986 Archived-At: 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/hun= spell/src/tools/. The dictionary files: en_US.aff and en_US.dic, were put in D:/Install/hunsp= ell/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 \"e= n_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 orig= ami-hide-node-overlay epg-context-signers org-babel-C-utility-header-to-C t= ex-chktex-program package-lint--sane-prefixes vc-git-stash-snapshot TeX-com= mand-Biber avy-words epg--status-VALIDSIG org-publish--store-crossrefs help= -variable gnus-sync org-emphasis-regexp-components mml-secure-smime-sign-wi= th-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-p= ropertize web-mode-warning-face delphi-column-of cl-print--preprocess org-p= ublish-sanitize-plist eieio-class-tag--ede-target edebug-clear-frequency-co= unt org-agenda-regexp-filter-preset Franklin\ Gothic\ Demi\ Cond 0 tramp-cl= eanup checkdoc-package-keywords-flag shr-parse-image-data soap-element-name= space-tag--cmacro org-man-fixed-width Edebug\ All\ Defs org-duration-format= & \' :name-match osx-org-clock-menubar tramp-cache-data rx-trans-forms ebr= owse-ms-definition-pattern--cmacro sgml-tag-name--cmacro todo-categories-mo= de log-edit-set-header expired tramp-gw-open-connection ...] :predicate #f(= compiled-function (sym) #) :require-match t :history co= unsel-M-x-history :action counsel-M-x-action :sort t :keymap (keymap (67108= 908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initi= al-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,=20 Richard LIU =E5=8F=91=E9=80=81=E8=87=AA Windows 10 =E7=89=88=E9=82=AE=E4=BB=B6=E5=BA=94= =E7=94=A8