Il 28/04/2017 02:02, Fabrice Popineau ha scritto:
> Try to set :
>
> (setenv "DICPATH" "/mingw64/share/hunspell") ;;
> (setq ispell-program-name "hunspell.exe"
> ispell-dictionary "en_US" ;; or whatever
> ispell-extra-args '("--sug-mode=ultra"))
I added exactly this:
(setenv "DICPATH" "/mingw64/share/hunspell")
(setq ispell-program-name "C:/msys64/mingw64/bin/hunspell.exe"
ispell-dictionary "en_US"
ispell-extra-args '("--sug-mode=ultra"))
but M-x flyspell-mode prints
Error enabling the Flyspell mode:
(stringp nil)
and trying
M-x ispell-change-dictionary RET en_US RET
prints "[No match]"
Notice that
$ ls -lrt /mingw64/share/hunspell
[ a lot of en_*.dic/aff files]
-rw-r--r-- 1 angelo NESSUNO 862235 17 gen 05.26 en_US.dic
-rw-r--r-- 1 angelo NESSUNO 3090 17 gen 05.26 en_US.aff
[...]
Given that, the solution proposed in
http://lists.gnu.org/archive/html/help-emacs-windows/2017-04/msg00018.html
works fine
(http://lists.gnu.org/archive/html/help-emacs-windows/2017-04/msg00019.html),
and needs only
(setq ispell-program-name "C:/LocalApps/Hunspell/bin/hunspell")
in the init.el file.
Angelo
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users