いまさら flyspell を動かした

本文

ispell 入れなきゃいけないのかと思ったら aspell でいいのね。

cygwin にくっついてきていたので emacs の設定だけで動いた。

設定
(ac-flyspell-workaround)
(eval-after-load "ispell"
  '(setq ispell-skip-region-alist (cons '("[^\000-\377]")
                                        ispell-skip-region-alist)))

(flyspell-mode 1)

;; e2wm のキーバインドと被って嫌だった
(define-key flyspell-mode-map [(control ?\,)] nil)
(define-key flyspell-mode-map [(control ?\.)] nil)

(eval-after-load "flyspell"
  '(progn
     (smartrep-define-key
         flyspell-mode-map "C-c"
       '(
         ("C-," . 'flyspell-goto-next-error)
         ("C-." . 'flyspell-auto-correct-word)
         )
       )))
ユーザ辞書の場所
  • .aspell.en.prepl ユーザ定義置換
  • .aspell.en.pws ユーザ辞書