I'm trying to get Norwegian spell checking working in Emacs, and I'm having trouble with the Norwegian dictionary.
System
Ubuntu 17.04
GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.31) of 2017-02-05
(installed with Nix)- Also tried with
GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-03-29, modified by Debian
(installed with Apt-get) Spacemacs v.0.200.9
I use the Spacemacs layer spell-checking
for spell checking. This "just works" for text in English.
Things I've tried
- Activate the Spacemacs layer
spell-checking
. Spell checking English text now "just works". I
M-x ispell-change-dictionary
and picknorsk
from the menu suggestions. This shows up in*Messages*
:Local Ispell dictionary set to norsk Starting new Ispell process /usr/bin/aspell with norsk dictionary... Error in post-command-hook (flyspell-post-command-hook): (error "Error: The file \"/usr/lib/aspell/norsk\" can not be opened for reading.")
I check the folder, finding filenames not matching:
$ ls /usr/lib/aspell | grep no no.dat no.multi no_phonet.dat norwegian.alias
The documentation for the
ispell
minor mode recommends installing Ispell. I install the Norwegian ispell dictionary, same error as above.- Another answer recommends installing hunspell. I install the Norwegian hunspell dictionary, same error as above.
- I also installed the Norwegian aspell dictionary. Same error as above.
Any suggestions? Any relevant information I can provide?
sudo apt install aspell-de
), spell checking for German works.ispell-change-dictionary
match the contents of/usr/lib/aspell
or a different system folder?