Checkdoc |
Emacs Lisp Source Style Checker |
Checkdoc is a utility useful for checking the style of your Emacs Lisp
files. The styles examined were gleaned from the Emacs Lisp manual
and logical extensions.
Currently doc strings are the most extensivly checked for style,
including:
- First line a complete sentence
- Proper user of keyboard nmumonics
- Proper whitespace and formatting
- Proper use of symbol `quoting'
- Proper variable names
- Proper function argument reference.
- Verb tense (for a select group of words)
- Spelling
Checkdoc has extended tests for rogue whitespace (at the end of
lines), error text style, and comment styles. (Comment style hooks
into lisp-mnt.el:lm-verify.)
Checkdoc's style checking engines are all accessible through
`checkdoc-minor-mode' which provides keybindings to remind you of your
stylistic errors as you write your code, and preventing long annoying
sessions of checking all your documentation.
Checkdoc is now a part of both Emacs and XEmacs. The versions of
checkdoc within GNU Emacs are more recent than those provided here.
You can download the last release I provided:
checkdoc.el-0.6.1b.gz
|