Here are my notes on setting up Aspell for OSX and Windows - instructions for setting up a user's personal dictionary are outlined in the stream of this link:
fooobar.com/questions/1485212 / ...
A personal word list in Aspell is a flat text file that contains content that looks like this, and you can insert any word manually - including, but not limited to, copying the contents of your list from your own OSX ~/Library/Spelling/LocalDictionary instance ~/Library/Spelling/LocalDictionary :
personal_ws-1.1 en 79 lawlist realleges parte
And, in my .emacs , I use (adjust your own path accordingly):
(require 'ispell) (require 'flyspell) (setq-default ispell-program-name "/Users/HOME/.0.data/.0.emacs/elpa/bin/aspell") (setq flyspell-default-dictionary "english") (setq ispell-dictionary "english")
This is the function that I use to switch between Spanish and English:
(defun spell (choice) "Switch between language dictionaries." (interactive "cChoose: (1) English | (2) EspaΓ±ol") (cond ((eq choice ?1) (setq flyspell-default-dictionary "english") (setq ispell-dictionary "english") (setq ispell-personal-dictionary "/Users/HOME/.0.data/.0.emacs/.aspell.en.pws") (ispell-kill-ispell)) ((eq choice ?2) (setq flyspell-default-dictionary "spanish") (setq ispell-dictionary "spanish") (setq ispell-personal-dictionary "/Users/HOME/.0.data/.0.emacs/.aspell.es.pws") (ispell-kill-ispell)) (t (message "No changes have been made."))) )
On Windows, I use:
(setq-default ispell-program-name "c:/Program Files/Aspell/bin/aspell.exe")
source share