General-purpose text-checker interface for Emacs text editor