An Introduction to Programming in Emacs Lisp

Programming in Emacs Lisp (Second Edition)

An Introduction to Programming in Emacs Lisp (Third Edition) is available in several formats. All through this document, you will see little sample programs you can run inside of Emacs. If you read this document in Info inside of GNU Emacs, you can run the programs as they appear. (This is easy to do and is explained when the examples are presented.) Alternatively, you can read this introduction as a printed book while sitting beside a computer running Emacs. (This is what I like to do; I like printed books.)


If you don’t have a running Emacs beside you, you can still read this book, but in this case, it is best to treat it as a novel or as a travel guide to a country not yet visited: interesting, but not the same as being there. In addition to learning about Emacs as an editor and Emacs Lisp as a programming language, the examples and guided tours will give you an opportunity to get acquainted with Emacs as a Lisp programming environment. GNU Emacs supports programming and provides tools that you will want to become comfortable using, such as M-. (the key which invokes the find-tag command). You will also learn about buffers and other objects that are part of the environment. Learning about these features of Emacs is like learning new routes around your home town.

Table of Contents

  • List Processing
  • Practicing Evaluation
  • Writing Defuns
  • Buffer Walk Through
  • More Complex
  • Narrowing & Widening
  • car cdr & cons
  • Cutting & Storing Text
  • List Implementation
  • Yanking
  • Loops & Recursion
  • Regexp Search
  • Counting Words
  • Words in a defun
  • Readying a Graph
  • Emacs Initialization
  • Debugging

Book Details

Author(s): Robert J. Chassell
Publisher: Free Software Foundation
Format(s): PDF, HTML, Text, PostScript
File size: 1.44 MB
Number of pages: 270
Link: Download or read online.

Leave a Reply