Book description
Yes, it is possible to be all things to all people, if you're talking about the Emacs editor. As a user, you can make any kind of customization you want, from choosing the keystrokes that invoke your favorite commands to creating a whole new work environment that looks like nothing ever developed before. It's all in Emacs Lisp -- and in this short but fast-paced book.GNU Emacs is more than an editor; it's a programming environment, a communications package, and many other things. To provide such a broad range of functions, it offers a full version of the Lisp programming language -- something much more powerful than the little macro languages provided in other editors (including older versions of Emacs). GNU Emacs is a framework in which you can create whole new kinds of editors or just alter aspects of the many functions it already provides.In this book, Bob Glickstein delves deep into the features that permit far-reaching Emacs customizations. He teaches you the Lisp language and discusses Emacs topics (such as syntax tables and macro templates) in easy-to-digest portions. Examples progress in complexity from simple customizations to extensive major modes.You will learn how to write interactive commands, use hooks and advice, perform error recovery, manipulate windows, buffers, and keymaps, exploit and alter Emacs's main loop, and more. Each topic is explored through realistic examples and a series of successive refinements that illustrate not only the Emacs Lisp language, but the development process as well, making learning pleasant and natural.
Table of contents
-
Writing GNU Emacs Extensions
- SPECIAL OFFER: Upgrade this ebook with OâReilly
- A Note Regarding Supplemental Files
- Preface
- 1. Customizing Emacs
- 2. Simple New Commands
- 3. Cooperating Commands
- 4. Searching and Modifying Buffers
- 5. Lisp Files
- 6. Lists
- 7. Minor Mode
- 8. Evaluation and Error Recovery
- 9. A Major Mode
- 10. A Comprehensive Example
- A. Conclusion
- B. Lisp Quick Reference
- C. Debugging and Profiling
- D. Sharing Your Code
- E. Obtaining and Building Emacs
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OâReilly
Product information
- Title: Writing GNU Emacs Extensions
- Author(s):
- Release date: April 1997
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449399733
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Effective C
The world runs on code written in the C programming language, yet most schools begin the …