MapaDelSitio CambiosRecientes Noticias ÁreaElisp WikiCómo

ProcmailMode

The tinyprocmail.el is part of the TinyTools.

Description

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

TinyProcmailImageLintBufferInteractive

Picture below: Lint batch results shown in separate buffer

TinyProcmailImageLintBufferBatch

Install

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)

Procmail Documentation

You may want to check out JariAalto's excellent procmail tips page at http://pm-doc.sourceforge.net/


CategoryMailAddons | CategoryModes | TinyTools