Skip to content

RenWenshan/emacs-lisp-intro-solutions

Repository files navigation

An Introduction to Programming in Emacs Lisp – Solutions

`An Introduction to Programming in Emacs Lisp’ (elisp intro) is a manual that comes with Emacs for programming beginners. This is my review of Elisp Intro: http://wenshanren.org/?p=217

In Emacs, press M-x info, then search for “Emacs Lisp Intro”, now you should be able to read it by simply clicking the result that is found by Emacs. The benefits of reading this manual in Emacs are:

  • Operations such navigation, searching, adding bookmarks and so on are very convenient.
  • You can run the examples in the book when you read it, which is super handy.

This repository is a collection of my solutions to the exercises in the `elisp intro’, including:

ChapterChapter TitleCorresponding File
1List Processingch01.el
2Practicing Evaluationch02.el
3How To Write Function Definitionsch03.el
4A Few Buffer-Related Functionsch04.el
5A Few More Complex Functionsch05.el
6Narrowing and Wideningch06.el
7`car’, `cdr’, `cons’: Fundamental Functionsch07.el
8Cutting and Storing Textch08.el
9How List are Implementedch09.el
10Yanking Text Backch10.el
11Loopingch11.el
12Regular Expression Searchesch12.el
13Counting: Repetition and Regexpsch13.el
15Readying a Graphch15.el

Note:

  • Chapter 14 and chapter 16 do not have exercises.
  • The exercises in chapter 17 are not programming tasks, you can finish them by following the questions.

I am just a beginner of elisp, and my poor English skills might caused some misunderstanding of the exercises. Please feel free to point out any mistakes you might find.

Happy Hacking!

Contributors

About

Solutions to the exercises in the `An Introduction to Programming in Emacs Lisp'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published