My Emacs Contributions

If you don't know it already, then I can inform you that I'm a huge fan of the most powerful editor in the known universe, namely Emacs.

This page is dedicated to hail Emacs, and to promote the material I've made for Emacs. I've contributed to the Emacs community with three things at the moment:

Power Macros

Keyboard Macros are a very powerful tool, if you know how to use them the right way! It is however a bit difficult in Emacs to define and maintain several macros at a time. This problem is solved with this package.

When you have loaded this packages, simply press "C-c n" to assign the latest defined keyboard macro to a key (The key prefix can of course be changed). Emacs will then ask you which key you want to assign this macro to, and afterwards it will ask you for a description of the macro. If something is already bound to this key, Emacs will ask you whether you want to override this binding. The description for all the defined macros may be obtained by pressing "C-c m".

Read more about power-macros in my article in Linux Gazette / Linux Journal

Narrow Stack

Narrowing, as implemented in Emacs has one limitation, which I find very annoying, namely that it is not possible to narrow in and out at several levels. This problem is fixed with this package.

Download This package

Sams Teach Yourself Emacs in 24 Hours

This book is aimed at the newcomer to Emacs, with the focus on usability rather than on telling the user the whole truth. This means that the pages of the book is used to tell the reader about how to get the best out of emacs, instead of telling the user about details which are very seldom used.

The book has 24 chapters, which each should be possible to read within an hour. This does not mean that it takes no more than 24 hours to work your way through the book, but instead that it is possible after an hour of reading to take a break, and try out the stuff you have just read!

The book contains the following chapters:

  1. Introducing Emacs
  2. Using Emacs in Microsoft Windows
  3. Getting Started with Emacs
  4. Basic Editing
  5. Recovering From Errors
  6. Editing Several Files at Once
  7. Searching for Text in a Buffer
  8. Searching for Text in Multiple Files
  9. Regular Expressions
  10. The Emacs Help System and Configuration System
  11. Editing Utilities
  12. Visual Editing Utilities
  13. Macros
  14. Finding Differences Between Files
  15. Getting an Overview of a File
  16. Interfacing with the System
  17. Editing LaTeX and HTML Files
  18. Editing C, C++, and Java Files
  19. Programming Utilities
  20. Gnus Basic
  21. Advanced Gnus
  22. Learning Lisp Basics
  23. Binding Keys
  24. Installing Emacs Add-Ons

Additional Information:

Jesper Kjær Pedersen <>
Last modified: Wed Dec 13 10:44:35 2006