Emacs: How to Edit Lisp Code

By Xah Lee. Date: . Last updated: .

This page shows you how to edit lisp code efficiently with plain GNU emacs. Setup all of the following. This system is more efficient than using paredit.el package or its derivatives.

Emacs, Work with Brackets

Select Lisp Expression by Unit

Alt + x mark-sexpCtrl + Alt + Space】 to select a complete parenthesized expression. Your cursor must be on the left bracket.

To select a complete sexp, type Ctrl + Alt + (backward-up-list) then Ctrl + Alt + Space.

Working with Elisp


Lisp Basics

Basics

Lisp Data Structure

Function

Lisp Symbol

Lisp Misc

Working with Elisp