paredit-el | Emacs minor mode for structurally editing Lisp code | Mehr ...
Paredit mode instruments several common keybindings to automatically balance all parentheses and respect the structure of S-expressions; it also provides numerous high-level operations to change the structure of lists.