I already make extensive use of flyspell-mode to keep my errant spelling in check. However I'm currently trying to break the bad habit of using "it's" for possessive statements. I've had a brief look around and haven't found any grammar checkers but really all I need is to visually hi-light common errors in any buffer which can accept textual prose. Any suggestions of the easiest way to achieve this?
My very low rent solution for this particular problem was to use hi-lock mode:
(defun my-hightlight-non-possessive-its () "Turn on hi-lock mode for any (potentially incorrect) usage of it's" (interactive) (hi-lock-face-phrase-buffer "it's")) ;; Hooks for non-possessive its (add-hook 'text-mode-hook 'my-hightlight-non-possessive-its) (add-hook 'prog-mode-hook 'my-hightlight-non-possessive-its))