This tutorial focus on practical needs with examples. It assumes you already know a scripting language (⁖ Perl, Python, JavaScript, PHP).
Each page 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 current buffer or multiple files.
Commands that act on the current {word, line, region} and transform them in some way. First, check out Emacs Lisp Wrapper for Perl/Python/Ruby Scripts.
The following takes the text under cursor or current file, and do several things. ⁖ updating files, lookup web, ….
In the following examples, typically a function is applied to thousands of files, either to generate a report or modify each file.