Re: Can't open affix or dictionary flies
Oliver Jones <[email protected]>
| Newsgroups | gmane.emacs.windows |
|---|---|
| Message-ID | <27940_1357922520_ZZi0d51S06Q9L.00_50F040DF.8070105@wiwi.uni-bielefeld.de> |
Am 11.01.2013 15:17, schrieb Eli Zaretskii:
> Here's all I need to get hunspell
> working with the en_US dictionary:
>
> (setq ispell-program-name
> (locate-file "hunspell" exec-path exec-suffixes 'file-executable-p))
>
> (setq
> ispell-local-dictionary-alist
> '(("en_US"
> "[[:alpha:]]"
> "[^[:alpha:]]"
> "[']" nil ("-r") nil utf-8)))
>
> That's it! No eval-after-load, and no direct setting of
> ispell-dictionary-alist. Try modeling your customizations along these
> lines, and see if that makes the problem go away.
Now I have this in my init.el:
(setq ispell-program-name "C:\\Dokumente und Einstellungen\\ojones\\Eigene
Dateien\\hunspell-mingw-1.3.2-win32\\bin\\hunspell.exe")
(setq ispell-local-dictionary-alist
'(("en_GB"
"[[:alpha:]]"
"[^[:alpha:]]" "[']" nil
("-r") nil utf-8)))
And I got this error message (at first):
Can't open affix or dictionary files for dictionary named "DEU"
But after I played around a bit I figured out that I have to change the dictionary by
M-x ispell-change-dictionary
and then choosing en_GB.
It works! :-)
So I went on and added the German dictionary to my init.el:
(setq ispell-local-dictionary-alist
'(("en_GB"
"[[:alpha:]]"
"[^[:alpha:]]" "[']" nil
("-r") nil utf-8)
("de_DE_frami"
"[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" nil
("-r") nil utf-8)))
I can change to the German dictionary but after checking some word (word by word, which worded
fine) I got this error while checking the whole text with M-x ispell:
Ispell misalignment: word `Einf\303' point 118; probably incompatible versions
It has a Problem with the word "Einführung". I guess the "ü" is the problem.
Checking the word by M-$ I get this error message:
Ispell and its process have different character maps
Any suggestions?
You are a great help!