aspell: Using Aspell with other Applications

1 
1 3.3 Using Aspell with other Applications
1 ========================================
1 
1 3.3.1 With Emacs and XEmacs
1 ---------------------------
1 
1 The easiest way to use Aspell with Emacs or XEmacs is to add this line:
1 
1 
1 (setq-default ispell-program-name "aspell")
1 
1    to the end of your `.emacs' file.
1 
1    For some reason version 3.0 of ispell.el (the lisp program that
1 (x)emacs uses) wants to reverse the suggestion list.  To fix this add
1 this line:
1 
1 
1 (setq-default ispell-extra-args '("--reverse"))
1 
1    after the previous line in your .emacs file and it should solve the
1 problem.
1 
1    Ispell.el, version 3.1 (December 1, 1998) and better, has the list
1 reversing problem fixed.  You can find it at
1 `http://www.kdstevens.com/~stevens/ispell-page.html'.
1 
1 3.3.2 With LyX
1 --------------
1 
1 Version 1.0 of LyX provides support for Aspell's learning from user's
1 mistakes feature.
1 
1    To use Aspell with LyX 1.0 either change the `spell_command' option
1 in the `.lyxrc' file or use the `run-with-aspell' utility.
1 
1 3.3.3 With VIM
1 --------------
1 
1 To use Aspell in VIM you simply need to add the following line to your
1 `.vimrc' file:
1 
1 
1 map ^T :w!<CR>:!aspell check %<CR>:e! %<CR>
1 
1    I use `Ctrl-T' since that's the way you spell check in `pico'.  In
1 order to add a control character to your `.vimrc' you must type
1 `Ctrl-v' first.  In this case `Ctrl-v Ctrl-t'.
1 
1    A more useful way to use Aspell, IMHO, is in combination with
1 Newsbody (`http://www.image.dk/~byrial/newsbody/') which is how I use it
1 since VIM is my editor for my mailer and my news reader.
1 
1 map ^T\\1\\2<CR>:e! %<CR>
1 map \\1 :w!<CR>
1 map \\2 :!newsbody -qs -n % -p aspell check \\%f<CR>
1 
1 3.3.4 With Pine
1 ---------------
1 
1 To use Aspell in Pine simply change the option `speller' to
1 
1      aspell --mode=email check
1 
1    To change the `speller' option go to the main menu.  Type `S' for
1 _setup_, `C' for _config_, then `W' for _where is_.  Type in `speller'
1 as the word to find.  The speller option should be highlighted now.
1 Hit enter, type in the above line, and hit enter again.  Then type `E'
1 for _exit setup_ and `Y' to save the change.
1 
1    If you have a strong desire to check other people's comments change
1 `speller' to
1 
1      aspell check
1 
1 instead which will avoid switching Aspell into email mode.
1