Xah Lee, 2005, …, 2011
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, 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.
Examples of using regex with custom elisp function for the replacement string on the current buffer or multiple files.
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 text under cursor and do several things, such as updating files, lookup web, etc.
. Current word ⇒ creates links and fileIn the following examples, typically a function is applied to thousands of files, either to generate a report or modify each file.