The tinyprocmail.el is part of the TinyTools.
A minor mode for writing procmail recipes. Can Lint i.e. check code in a batch mode or interactively where user can auto-correct recipes.
Picture below: Linting procmail code interactively
Picture below: Lint batch results shown in separate buffer
Put the following in your ~/.emacs InitFile:
(autoload 'tinyprocmail-mode "tinyprocmail" "" t) (autoload 'aput "assoc")
;; Treat ~/.procmailrc and all pm-*.rc files as Procmail files
(aput 'auto-mode-alist
"\\.procmailrc\\|pm-.*\\.rc$"
'turn-on-tinyprocmail-mode)You may want to check out JariAalto's excellent procmail tips page at http://pm-doc.sourceforge.net/