https://github.com/syohex/emacs-ac-ispell.git
    git clone 'git://github.com/syohex/emacs-ac-ispell.git'
      
    
  
  ac-ispell.el is ispell/aspell completion source for auto-complete.
ac-ispell also supports UPCASE completion and Capitalized completion.



ac-ispell completion sourceYou can call ac-ispell-ac-setup at hooks.
(add-hook 'some-mode-hook 'ac-ispell-ac-setup)ac-ispell-setupDeclare ispell/aspell auto-complete source based on ac-ispell-requires.
The source name of auto-complete is ac-source-ispell.
This command must be called at the beginning.
ac-ispell-ac-setupSetup ispell auto-complete source and enable auto-complete-mode if
auto-complete is not enabled.
You can set other dictionary by setting ispell-complete-word-dict.
(setq ispell-complete-word-dict "DictionaryFilePath")ac-ispell-requires(Default 3)Required number of characters of this source completion.
You should change this value before calling ac-ispell-setup.
I recommend to use custom-set-variables for setting this value.
ac-ispell-fuzzy-limit(Default 2)Number of fuzzy completion candidates. If this value is 0,
fuzzy completion is disabled.
ac-ispell-cache-size(Default 20)Cache size.
;; Completion words longer than 4 characters
(custom-set-variables
  '(ac-ispell-requires 4)
  '(ac-ispell-fuzzy-limit 2))
(eval-after-load "auto-complete"
  '(progn
      (ac-ispell-setup)))
(add-hook 'git-commit-mode-hook 'ac-ispell-ac-setup)
(add-hook 'mail-mode-hook 'ac-ispell-ac-setup)