emacs/w32 に flyspell モードをインストール/実行する必要があります。
このサイトから Windows 用の ispell をインストールし、ここに書かれている手順に従いました。
- flyspell-1.7a.el をダウンロードして名前を flyspell.el に変更し、load-path ディレクトリにコピーしました。
- .emacs を変更しました
;;; http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html ;;; フライスペルモード (「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) )
しかし、フライモードで emacs を実行すると、次のエラーが発生しました。
(error "Autoloading failed to define function turn-on-flyspell")
何が間違っている可能性がありますか?
ISPELL によるソリューション
これは win32 の問題に対する ispell でした。 emacs の本で説明されているように、emacs/win32 で動作するものを使用する必要があります。
- いずれかのサイトから ispell.zip をダウンロードします。
- ispell.exe を PATH ディレクトリにコピーし、英語辞書をホーム ディレクトリにコピーします。
ASPELLによるソリューション
vedanは、この投稿で aspell を使用してより良い回答を提供しました。
Windows インストーラー、ディクショナリーのインストールがここにあります。.emacs に次の行を追加すると、問題なく動作します。
(カスタムセット変数 '(ispell-dictionary "british") '(ispell-プログラム名 "H:\\bin\\aspell\\bin\\aspell.exe"))