title: Enabling flyspell mode on emacs/w32?
body: <p>I need to install/run flyspell mode on emacs/w32.</p>
  
  <p>I installed ispell for windows from <a href="http://www.ssc.wisc.edu/~dvanness/ispell.htm" rel="nofollow noreferrer">this site</a>, and then I followed the procedure written in <a href="http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html" rel="nofollow noreferrer">here</a>.</p>
  
  <ol>
  <li>I downloaded the flyspell-1.7a.el to rename it as flyspell.el, and copied it to the load-path directory.</li>
  <li>I modified the .emacs</li>
  </ol>
  
  <pre>
  ;;; http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html
  ;;; flyspell mode
    (require 'flyspell)
    (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
    (autoload 'flyspell-delay-command "flyspell" "Delay on command." t) (autoload 'tex-mode-flyspell-verify "flyspell" "" t) 
  )
  </pre>
  
  <p>But, when I run emacs with flymode, I got the following error.</p>
  
  <pre><code>(error "Autoloading failed to define function turn-on-flyspell")
  </code></pre>
  
  <p>What might be wrong?</p>
  
  <h2>SOLUTION with ISPELL</h2>
  
  <p>It was ispell for win32's problem, one should use the one that works with emacs/win32 as is explained in <a href="http://book.chinaunix.net/special/ebook/oreilly/LearningGnuEmacs/0596006489/gnu3-CHP-13-SECT-3.html" rel="nofollow noreferrer">the book of emacs</a>.</p>
  
  <ol>
  <li>Download ispell.zip from one of the <a href="http://www.filewatcher.com/m/ispell.zip.352502.0.0.html" rel="nofollow noreferrer">site</a>. </li>
  <li>Copy the ispell.exe to the PATH directory, and copy the English dictionary to the home directory. </li>
  </ol>
  
  <h2>SOLUTION with ASPELL</h2>
  
  <p><a href="https://superuser.com/questions/193432/ispell-for-windows-7-for-flyspell-mode/193546#193546">vedang</a> gave a better answer with aspell <a href="https://stackoverflow.com/questions/2012361/emacs-windows-spell-check-aspell-or-hunspell/2012470#2012470">at this post</a>.</p>
  
  <p>It has windows installer, dictionary install in <a href="http://aspell.net/win32/" rel="nofollow noreferrer">here</a>. And adding the following line in .emacs works fine with me. </p>
  
  <pre>
  (custom-set-variables
      '(ispell-dictionary "british")
      '(ispell-program-name "H:\\bin\\aspell\\bin\\aspell.exe"))
  </pre>