HomeMathComputingArtsWordsLiteratureMusictwitter facebook webfeed

Xah Emacs Lisp Tutorial

What Are People Saying?

Xah Lee, 2005, …, 2011-05

This is a emacs lisp tutorial. The tutorial is focused on practical needs, and gives many examples. This tutorial is concise and concrete. It assumes you already know a scripting language, such as perl, python, visual basic, JavaScript, PHP.

This tutorial is designed so that each lesson is self-contained. However, it is recommened you read all numbered items in the Elisp Basics section.

For new articles and updates, subscribe: Xah Emacs Blog.

LISP logo

Elisp Basics

  1. Emacs Lisp Basics
  2. Overview to Text-Edit Programing In Emacs
  3. Simple Elisp Examples!
  4. Eval Emacs Lisp Code, Search Functions, and Doc Lookup
  5. How to Edit Lisp Code with Emacs

Real-World Examples

GNU Emacs Lisp Reference Manual

String Replacement On Files

Examples of using regex with custom elisp function for the replacement string on the current buffer or multiple files.

Using a Elisp Function for Dynamic Replacement String

Multi-Pair String Replacement

Ask Your Question Here

Transform Text Under Cursor

Writing commands that act on the current word, line, or region, and transform them in some way. The list is ordered roughly from simple to more difficult.

The following changes the text under cursor into another form.

The following takes the current word, paragraph, region, or buffer, as input and do several things, such as updating files, lookup web, etc.

Misc:

Batch Text Processing

Xah Emacs Modes; Your Support Appreciated

In the following examples, typically a function is applied to hundreds or thousands of text files, either to generate a report or modify each file.

Emacs Lisp Language Detail

Writing a Major Mode

Banner

Misc

Buy Xah Emacs & Emacs Lisp Tutorial

Loading
blog comments powered by Disqus