Please consider the latest edition.
This comprehensive guide to the GNU Emacs editor, one of the most widely used and powerful editors available under UNIX, covers basic editing, several important "editing modes" (special Emacs features for editing specific types of documents, including email, Usenet News, and the Web), and customization and Emacs LISP programming. It is aimed at new Emacs users, whether or not they are programmers, and includes a quick-reference card. Covers Version 19.30.
-
Chapter 1 Preface
-
Why Read This Book?
-
Which Emacs Is Which?
-
GNU Emacs and the Free Software Foundation
-
An Approach to Learning Emacs
-
What We Haven’t Included
-
Conventions Used in This Book
-
How to Contact Us
-
Acknowledgments
-
-
Chapter 2 Emacs Basics
-
Introducing Emacs!
-
Understanding Files and Buffers
-
A Word About Modes
-
Starting Emacs
-
About the Emacs Screen
-
Emacs Commands
-
Opening a File
-
Saving Files
-
Leaving Emacs
-
Getting Help
-
Summary
-
-
Chapter 3 Editing Files
-
Moving the Cursor
-
Deleting Text
-
Marking Text to Delete, Move, or Copy
-
Reformatting Paragraphs
-
Editing Tricks and Shortcuts
-
Stopping Commands and Undoing Changes
-
Making Emacs Work the Way You Want
-
-
Chapter 4 Search and Replace Operations
-
Different Kinds of Searches
-
Search and Replace
-
Checking Spelling
-
Word Abbreviation Mode
-
-
Chapter 5 Using Buffers and Windows
-
Files, Buffers, and Windows
-
Working with Multiple Buffers
-
Working with Windows
-
Holding Your Place with Bookmarks
-
Temporarily Suspending Emacs
-
Using Multiple X Windows
-
-
Chapter 6 Emacs as a Work Environment
-
Executing UNIX Commands in Shell Buffers
-
Working with Files and Directories
-
Printing from Emacs
-
Reading Manpages in Emacs
-
Using Time Management Tools
-
Using Your Emacs Work Environment
-
-
Chapter 7 Email and Usenet News
-
Working with Mail
-
Sending Mail from Within Emacs
-
Reading Mail from Within Emacs
-
Reading Usenet News with Gnus
-
-
Chapter 8 Emacs as an Internet Toolkit
-
Using Telnet Mode
-
Using Ange-ftp Mode
-
Browsing the Web with W3
-
-
Chapter 9 Simple Text Formatting and Specialized Editing
-
Indenting Text
-
Centering Text
-
Inserting Page Breaks
-
Rectangle Editing
-
Making Simple Drawings
-
Using Outline Mode
-
-
Chapter 10 Marking up Text with Emacs
-
Introduction
-
Marking up Text for troff and nroff
-
Marking up Text for TEX and LATEX
-
Writing HTML
-
Using Html-helper Mode
-
-
Chapter 11 Writing Macros
-
What Is a Macro?
-
Defining a Macro
-
Tips for Creating Good Macros
-
Adding to an Existing Macro
-
Naming and Saving Your Macros
-
Executing a Named Macro
-
Building More Complicated Macros
-
Beyond Macros
-
-
Chapter 12 Customizing Emacs
-
Keyboard Customization
-
Terminal Support
-
Emacs Variables
-
Emacs LISP Packages
-
Auto-Mode Customization
-
-
Chapter 13 Emacs for Programmers
-
Language Modes
-
C and C++ Modes
-
The LISP Modes
-
FORTRAN Mode
-
Compiling Programs
-
-
Chapter 14 Emacs LISP Programming
-
Introduction to LISP
-
LISP Primitive Functions
-
Useful Built-In Emacs Functions
-
Programming a Major Mode
-
Customizing Existing Modes
-
Building Your Own LISP Library
-
-
Chapter 15 Emacs and X
-
User-Interface Features
-
Using Emacs with X Fonts and Colors
-
X Display Customizations
-
Customizing via Your .Xdefaults File
-
Properties, Frames, Menus, and Mouse Events
-
Communicating with the X Server
-
A Note on Good X Programming Style
-
-
Chapter 16 Version Control Under Emacs
-
The Uses of Version Control
-
Version Control Concepts
-
How VC Helps with Basic Operations
-
Editing Comment Buffers
-
VC Command Summary
-
VC Mode Indicators
-
Which Version Control System?
-
Individual VC Commands
-
Customizing VC
-
Extending VC
-
What VC Is Not
-
Using VC Effectively
-
-
Chapter 17 Online Help
-
Completion
-
Help Commands
-
Help in Complex Emacs Commands
-
-
Appendix How to Get Emacs
-
FTP on the Internet
-
Free Software Foundation
-
Other CD-ROM Sources
-
Building Emacs
-
-
Appendix Making Emacs Work the Way You Think It Should
-
Appendix Emacs Variables
-
Appendix Emacs LISP Packages
-
Appendix Bugs and Bug Fixes
-
Appendix Public Statements
-
The GNU General Public License
-
GNU Manifesto
-
The League for Programming Freedom
-
-
Appendix Give and It Shall Be Given
-
Appendix Quick Reference
-
Appendix Glossary
-
Colophon
- Title:
- Learning GNU Emacs, Second Edition
- By:
- Debra Cameron, Bill Rosenblatt, Eric S. Raymond
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- September 1996
- Pages:
- 568
- Print ISBN:
- 978-1-56592-152-8
- | ISBN 10:
- 1-56592-152-6
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal featured on the cover of Learning GNU Emacs is a gnu or wildebeest. Gnus are African antelopes which inhabit the Serengeti Plains. Male gnus are no more than 52 inches in height and 500 pounds in weight, but have the most lethal horns of any of the antelopes. Bulls are very territorial and tend to remain alone. The females and young generally live in small herds. However, they may congregate in the tens of thousands during migration. Gnus are the favorite prey of lions. UNIX and its attendant programs can be unruly beasts. Nutshell Handbooks® help you tame them.
...
Edie Freedman designed this cover and the entire UNIX bestiary that appears on other Nutshell Handbooks. The beasts themselves are adapted from 19th-century engravings from the Dover Pictorial Archive.
The text of this book is set in Times Roman; headings are Helvetica; examples are Courier. Text was prepared using SortQuad's sqtroff text formatter. Figures are produced with a Macintosh. Printing is done on a Tegra Varityper 5000.
