Package: ding
Version: 1.8.1-1
Severity: important

ding contains:

# spell checker
set default_searchmeth(1,name) {Spell check}
set default_searchmeth(1,grepcmds) {hunspell ispell aspell}
set default_searchmeth(1,language1)  "English spell check"
set default_searchmeth(1,grepopts)  "-B -d british -a"
# --encoding utf-8

# spell checker
set default_searchmeth(2,name) {Rechtschreibung}
set default_searchmeth(2,grepcmds) {hunspell ispell aspell}
set default_searchmeth(2,language1)  "Deutsche Rechtschreibprüfung"
set default_searchmeth(2,grepopts)  "-B -d ngerman -a"

AFAICS from that hunspell is called when it exists. But unfortunately
for hunspell, the dictionaries are not named "british" or "ngerman".
in /usr/share/hunspell:

$ ls -la
insgesamt 4548
drwxr-xr-x   2 root root    4096 Feb  6 16:12 .
drwxr-xr-x 356 root root   12288 Feb  6 16:07 ..
-rw-r--r--   1 root root   18978 Dez 11  2016 de_AT.aff
-rw-r--r--   1 root root 1102596 Dez 11  2016 de_AT.dic
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_BE.aff -> de_DE.aff
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_BE.dic -> de_DE.dic
-rw-r--r--   1 root root   18978 Dez 11  2016 de_CH.aff
-rw-r--r--   1 root root 1101605 Dez 11  2016 de_CH.dic
-rw-r--r--   1 root root   18978 Dez 11  2016 de_DE.aff
-rw-r--r--   1 root root 1098996 Dez 11  2016 de_DE.dic
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_LI.aff -> de_CH.aff
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_LI.dic -> de_CH.dic
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_LU.aff -> de_DE.aff
lrwxrwxrwx   1 root root       9 Dez 11  2016 de_LU.dic -> de_DE.dic
-rw-r--r--   1 root root   28123 Jan 12  2017 en_GB.aff
-rw-r--r--   1 root root  685158 Jan 12  2017 en_GB.dic
-rw-r--r--   1 root root    3090 Okt 20 21:09 en_US.aff
-rw-r--r--   1 root root  546103 Okt 20 21:09 en_US.dic

So ding says

"Can't open affix or dictionary files for dictionary named "british". 

(and the same for ngerman)

lrwxrwxrwx   1 root root       9 Feb  6 16:12 british.aff -> en_GB.aff
lrwxrwxrwx   1 root root       9 Feb  6 16:12 british.dic -> en_GB.dic
lrwxrwxrwx   1 root root       9 Feb  6 16:11 ngerman.aff -> de_DE.aff
lrwxrwxrwx   1 root root       9 Feb  6 16:11 ngerman.dic -> de_DE.dic

fix this, but... We of course could add it to hunspell-de-* (thus making
them conflict - bad... Or just -de-de...) and hunspell-en-gb...

Regards,

Rene

Reply via email to