> Cc: [email protected] > From: Angelo Graziosi <[email protected]> > Date: Sat, 13 May 2017 15:29:35 +0200 > > Il 13/05/2017 10:23, Eli Zaretskii ha scritto: > > Maybe turning on Ispell debugging will be easier and will give us a > > clue. Here's the recipe: > > > > . emacs -Q > > . M-: (setq ispell-program-name "hunspell") > > . M-x ispell-buffer-with-debug RET > > > > Then look at the contents of the buffer named "*ispell-debug*". > > This is what I find: > > -- ispell-fhd: Skipping entry: Hunspell 1.3.2 - 2.4 (01/09/2007) > -- ispell-fhd: Skipping entry: SEARCH PATH: > -- ispell-fhd: Skipping entry: > .;;C:\Hunspell\;C:\msys64\home\angelo\.openoffice.org\3\user\wordbook;C:\LocalApps\ezwinports\bin\..\share\hunspell;C:\Program > > files\OpenOffice.org 2.4\share\dict\ooo\;C:\Program files\OpenOffice.org > 2.3\share\dict\ooo\;C:\Program files\OpenOffice.org > 2.2\share\dict\ooo\;C:\Program files\OpenOffice.org > 2.1\share\dict\ooo\;C:\Program files\OpenOffice.org 2.0\share\dict\ooo\ > -- ispell-fhd: Skipping entry: AVAILABLE DICTIONARIES (path is not > mandatory for -d option): > -- ispell-fhd: Skipping entry: > C:\LocalApps\ezwinports\bin\..\share\hunspell\default > -- ispell-fhd: Skipping entry: > C:\LocalApps\ezwinports\bin\..\share\hunspell\en_GB > -- ispell-fhd: Skipping entry: > C:\LocalApps\ezwinports\bin\..\share\hunspell\en_US > -- ispell-fhd: Skipping entry: > C:\LocalApps\ezwinports\bin\..\share\hunspell\it_IT > -- ispell-fhd: Skipping entry: LOADED DICTIONARY: > -- ispell-fhd: Skipping entry: > C:\LocalApps\ezwinports\bin\..\share\hunspell\it_IT.dic > -- ispell-fhd: Skipping entry: error: line 1784: multiple definitions of > an affix flag
This seems to confirm my suspicion: the MSYS Emacs doesn't realize that a backslash is a directory separator in file names. So it skips all the dictionaries you have installed, and ends up with an empty list. Contrast this with what I get: -- ispell-fhd: Skipping entry: AVAILABLE DICTIONARIES (path is not mandatory for -d option): ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\american name:american basename:american affix-file:d:/usr/share/hunspell/american.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\default name:default basename:default affix-file:d:/usr/share/hunspell/default.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\de_AT name:de_AT basename:de_AT affix-file:d:/usr/share/hunspell/de_AT.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\de_CH name:de_CH basename:de_CH affix-file:d:/usr/share/hunspell/de_CH.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\de_DE name:de_DE basename:de_DE affix-file:d:/usr/share/hunspell/de_DE.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\de_DE_frami name:de_DE_frami basename:de_DE_frami affix-file:d:/usr/share/hunspell/de_DE_frami.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\ENU name:ENU basename:ENU affix-file:d:/usr/share/hunspell/ENU.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\en_GB name:en_GB basename:en_GB affix-file:d:/usr/share/hunspell/en_GB.aff -- ispell-fhd: Skipping entry: d:\usr\bin\..\share\hunspell\en_MED ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\en_US name:en_US basename:en_US affix-file:d:/usr/share/hunspell/en_US.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\he_IL name:he_IL basename:he_IL affix-file:d:/usr/share/hunspell/he_IL.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\russian name:russian basename:russian affix-file:d:/usr/share/hunspell/russian.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\ru_RU name:ru_RU basename:ru_RU affix-file:d:/usr/share/hunspell/ru_RU.aff ++ ispell-fhd: dict-entry:d:\usr\bin\..\share\hunspell\sv_SE name:sv_SE basename:sv_SE affix-file:d:/usr/share/hunspell/sv_SE.aff -- ispell-fhd: Skipping entry: LOADED DICTIONARY: ++ ispell-fhd: default dict-entry:d:\usr\bin\..\share\hunspell\default.aff name:default.aff basename:default
