Emacs Windows spellcheck - aspell or hunspell

后端 未结 3 1016
后悔当初
后悔当初 2021-02-08 08:33

I use emacs 23.1.50 version on Windows XP operation system. I could not setup hunspell or aspell as part of emacs with the example provided by the emacs wiki. Anyone has working

3条回答
  •  暖寄归人
    2021-02-08 09:24

    aspell can be easily installed on windows using cygwin. In the cygwin setup, search for aspell in the search bar and select it for installation. Remember to also select the dictionary you want to install (for the english language - aspell-en). Add the cygwin/bin directory to the load-path in emacs, so that emacs can find the executable when it needs it. Finally, add the following line to your .emacs file:

    (setq-default ispell-program-name "aspell")
    

    HTH

提交回复
热议问题