An Introduction to Programming in Emacs Lisp

by Robert J. Chassell

Table of Contents
for An Introduction to Programming in Emacs Lisp
(contains the complete manual).

My book is an elementary introduction for people who are not programmers, and who are not necessarily interested programming, but who do want to customize or extend their computing environment.

This introduction tells you how to set variables and write function definitions, how to use if, how to write while loops, how to use let, save-excursion, and save-restriction, how to find and switch to different files within a program, how to carry out regular expression searches, how to debug programs, and more.

The text contains an increasingly complex series of worked out example programs as well as numerous exercises. In addition, I walk through the source code to various Emacs commands that you use every day, such as kill-region and forward-paragraph.

If you read the text in GNU Emacs under Info mode, you can run the sample programs directly. Info mode is the GNU hypertext documentation format.

Incidentally, this same text comes as a printed book, as Info, and as HTML: the manuscript is written in Texinfo, which is a documentation system that uses a single source file to produce both on-line information and printed output.

Instead of writing different documents, one for the Web site, on-line help or other on-line information and another for a typeset manual or other printed work, you need write only once. When you revise your work, you need revise only one document.

You can copy all the necessary programs and documentation for Texinfo from ftp://ftp.gnu.org/gnu/texinfo/ or more than twenty other sites. The file is 1.2 megabytes.

I used makeinfo --html --verbose emacs-lisp-intro.texi to convert the Texinfo source to the HTML that you can read with your browser.

The source distribution for An Introduction to Programming in Emacs Lisp contains the Texinfo source file as well as pre-made Info files. It is located in emacs-lisp-intro-2.14.tar.gz
and is one-half megabyte. (See the 1.3 kilobyte README file first.)

Table of Contents
(contains the complete manual)


Return to: Rattlesnake Home Page

webmaster@rattlesnake.com