2017-04-28 10:16 GMT+02:00 Angelo Graziosi <angelo.grazi...@alice.it>:
> 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"))
>
You need to restart emacs.
Setting DICPATH in your shell environment,
$ export DICPATH=/mingw64/share/hunspell
you should get printed results for
$ hunspell -D
SEARCH PATH:
.;C:/MSys64/MingW64/bin/;C:/MSys64/mingw64/share/hunspell;C:/MSys64/MingW64/share/hunspell;C:/MSys64/MingW64/share/myspell;C:/MSys64/MingW64/share/myspell/dicts;/mingw64/share/hunspell:/mingw64/share/myspell:/mingw64/share/myspell/dicts;%USERPROFILE%\/Application
Data/OpenOffice.org
2/user/wordbookC:/MSys64/MingW64/share/hunspell;C:/MSys64/MingW64/share/myspell;C:/MSys64/MingW64/share/myspell/dicts
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
C:/MSys64/mingw64/share/hunspell/en_AG
C:/MSys64/mingw64/share/hunspell/en_AU
C:/MSys64/mingw64/share/hunspell/en_BS
C:/MSys64/mingw64/share/hunspell/en_BW
C:/MSys64/mingw64/share/hunspell/en_BZ
C:/MSys64/mingw64/share/hunspell/en_CA
C:/MSys64/mingw64/share/hunspell/en_DK
C:/MSys64/mingw64/share/hunspell/en_GB
C:/MSys64/mingw64/share/hunspell/en_GH
C:/MSys64/mingw64/share/hunspell/en_HK
C:/MSys64/mingw64/share/hunspell/en_IE
...
^C
Fabrice
--
Fabrice Popineau
-----------------------------
CentraleSupelec
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------
------------------------------------------------------------------------------
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
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users