title: emacs and hunspell - Can't open affix or dictionary files
body: <p>I have trouble getting spellchecking to work with Emacs 24.2.1 and Hunspell 1.3.2 on Windows XP.</p>
  
  <p>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 <code>~/.emacs.d/init.el</code> file.</p>
  
  <pre><code>(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")
  </code></pre>
  
  <p>where I made changes regarding the path to the affix and dictionary files and the hunspell.exe.</p>
  
  <p>I verified that hunspell works, by executing it on the command line.</p>
  
  <p>When I type <code>M-x ispell</code> in emacs I get the following error message</p>
  
  <blockquote>
    <p>Can't open affix or dictionary flies for dictionary named "german".<br>
    @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)<br>
    @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)</p>
  </blockquote>
  
  <p>I tried changing the path to the affix and dictionary files in my init.el to just the name of the affix and dic name, i.e. <code>"de_DE_frami"</code> since hunspell knows where to find them, but it didn't help in emacs.</p>