Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 993 Bytes

Starter Kit aspell

This is part of the Emacs Starter Kit.

Starter Kit aspell

Hackish file to accommodate having cocoaAspell installed on your Mac. Otherwise flyspell doesn’t start properly. Putting this customization in kjhealy.org initiates it too late. NB: Flyspell is too slow on Emacs 23 to use by default. I’m turning it off.

Specify aspell

(setq ispell-program-name "aspell"
      ispell-dictionary "english"
      ispell-dictionary-alist
      (let ((default '("[A-Za-z]" "[^A-Za-z]" "[']" nil
                       ("-B" "-d" "english" "--dict-dir"
                        "/Library/Application Support/cocoAspell/aspell6-en-6.0-0")
                       nil iso-8859-1)))
        `((nil ,@default)
          ("english" ,@default))))
(setq ispell-extra-args '("--sug-mode=ultra"))
(setq ispell-personal-dictionary "~/.aspell.en.pws")
(setq flyspell-issue-message-flag nil)