So, I just got around to enabling flyspell mode in my xemacs
initialization, using:
(global-flyspell-mode t)
The problem is that for some modes (like say emacs-lisp-mode - or any
other programming language mode) flyspell is being way too aggressive.
For example, it isn't terribly useful that flyspell tells me that
'defvar' is misspelled. ('defvar' is misspelled, but it isn't
useful).
So anyway, I was thinking that it would be more useful if flyspell
only checked comments in programming modes.
Seems like it could be done with flyspell-mode-predicate
(put 'emacs-lisp-mode 'flyspell-mode-predicate '....)
like maybe flyspell could only look at words that are in the
font-lock-comment-face.
Has somebody else done this already? This issue seems vaguely
familiar.
-jeff