Hello everone,

this is my first eMail to the list.
I have trouble getting spellchecking to work with Emacs 24.2.1 and Hunspell 
1.3.2 on Windows XP.

I have read the help about spelling in the built in manual and searched the internet where I found advice to include these lines to my ~/.emacs.d/init.el file.

(setq ispell-dictionary-alist
   '((nil ; default
      "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
("-d" "C:\\Dokumente und Einstellungen\\ojones\\Eigene Dateien\\dictionaries\\de_DE_frami" "-i" "utf-8") nil utf-8)
     ("english"
      "[A-Za-z]" "[^A-Za-z]" "[']" nil
      ("-d" "en_GB") nil utf-8)
     ("german"
      "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t
("-d" "'C:\\Dokumente und Einstellungen\\ojones\\Eigene Dateien\\dictionaries\\de_DE_frami'" "-i" "utf-8") nil utf-8)
     ("british"
      "[A-Za-z]" "[^A-Za-z]" "[']" nil
      ("-d" "en_GB") nil utf-8)))
(eval-after-load "ispell"
    (progn
      (setq ispell-dictionary "german"
ispell-extra-args '("-a" "-i" "utf-8") ; aspell doesn't understand -i utf-8, hunspell needs it
        ispell-silently-savep t)))
(setq ispell-program-name "C:\\Dokumente und Einstellungen\\ojones\\Eigene Dateien\\hunspell-mingw-1.3.2-win32\\bin\\hunspell.exe")

where I made changes regarding the path to the affix and dictionary files and 
the hunspell.exe.

I verified that hunspell works, by executing it on the command line.

When I type M-x ispell in emacs I get the following error message

Can't open affix or dictionary flies for dictionary named "german".
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)

Any help is highly appreciated.

Kind Regards
Oliver
--
_______________________________________________________________________________
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
Raum / room:  V9-108
Tel / phone:  +49 (0)521 106 4895
http://www.wiwi.uni-bielefeld.de/oekonometrie.html
_______________________________________________________________________________


Reply via email to