Subject: bug#31034: Disappeared support for Ukrainian spelling check

From: Eli Zaretskii <[email-masked]>
Date: Tue, 03 Apr 2018 11:30:50 +0300

[Please keep the bug address on the CC list.]

> From: jamesjames <[email-masked]>
> Date: Tue, 3 Apr 2018 11:03:29 +0300
> 
> > I understand that your spell-checking program is Hunspell?  What is
> > the value of ispell-program-name after you turn on spell-checking in a
> > buffer or "M-x load-library RET ispell RET"?
> > 
> 
> my ~/.emacs config:
> (add-hook 'LaTeX-mode-hook 'flyspell-mode)
> (add-hook 'LaTeX-mode-hook '(lambda () (setq ispell-change-dictonary
> "ukrainian")))
> (setq-default ispell-program-name "aspell")
> (setq ispell-dictionary "ukrainian")
> (setq ispell-local-dictionary "ukrainian")
> (setq flyspell-default-dictionary "ukrainian")
> (setq ispell-extra-args '("--sug-mode=fast"))
> 
> 
> cat /usr/share/emacs/25.3/lisp/textmodes/ispell.el  | grep ukrain
> 
> cat /usr/share/emacs/25.3/lisp/textmodes/ispell.el  | grep russia
>     ("russian"				; Russian.aff (KOI8-R charset)
>     ("russianw"				; russianw.aff (CP1251 charset)
>     ("russian"       "ru_RU")
>     ("russianw"      "ru_RU")
> 
> cat /usr/share/emacs/25.3/lisp/textmodes/ispell.el  | grep polis
> ;; Dictionary norsk7-tex removed.  Dictionary polish added.
>     ("polish"				; Polish mode
>     ("polish"        "pl_PL")
> 
> 
> setting for Ukrainian is not present in the ispell.el

With Aspell and Hunspell, the available dictionaries are not taken
from ispell.el, they are dynamically detected by asking the
spell-checker to report what dictionaries are installed.  What does
the following command display, if invoked from the shell prompt?

  $ aspell dicts

also, what does the following command display?

  $ aspell -vv