Practical Emacs Lisp

Buy Xah Emacs Tutorial. Master emacs benefits for life.
LISP logo
, , …,

This is a example based tutorial, with focus on practical needs. I assume you already know a scripting language (such as Python, JavaScript).

Each page is self-contained. But you should read all numbered items in the Elisp Basics section. Use the search box at top to find things. For daily tips, subscribe Xah Emacs Blog.

Emacs Lisp Basics

(read everything here)

  1. Elisp Basics
  2. Elisp Text Processing Overview
  3. Simple Elisp Examples!
  4. How to Evaluate Elisp Code
  5. Find Functions, Doc Lookup
  6. How to Edit Lisp Code with Emacs

Elisp Language Detail

Interactive Commands

Batch Text Processing

Writing a Major Mode

Interactive Command Examples

following are practical examples.

First, see: Emacs Lisp: Write Emacs Commands Using {Perl, Python, Ruby, …}.

Transform Text Under Cursor


thing-at-point, do stuff

Batch Text Processing Examples

Batch Text Processing

Batch Transform HTML

Function as Replacement String

Multi-Pair Find/Replace

Insert Things


blog comments powered by Disqus