About the Author |
|
xv | |
About the Technical Reviewer |
|
xvii | |
Acknowledgments |
|
xix | |
A Personal Note from Harley Hahn |
|
xxi | |
|
Chapter 1 All About Emacs |
|
|
1 | (12) |
|
Section 1.1 Getting Started Together |
|
|
1 | (2) |
|
Section 1.2 Emacs Is a Text Editor |
|
|
3 | (2) |
|
Section 1.3 Emacs Is a Working Environment |
|
|
5 | (3) |
|
Section: 1.4 Where Did Emacs Come From? |
|
|
8 | (1) |
|
Section 1.5 The Free Software Foundation |
|
|
9 | (1) |
|
Section 1.6 Excerpts From The Gnu Manifesto |
|
|
10 | (3) |
|
Chapter 2 Unix for Emacs Users |
|
|
13 | (44) |
|
Section 2.1 Operating Systems |
|
|
13 | (1) |
|
Section 2.2 Unix and Linux |
|
|
14 | (4) |
|
Section 2.3 Unix Terminals and Userids |
|
|
18 | (3) |
|
Section 2.4 Types of Terminals |
|
|
21 | (2) |
|
Section 2.5 User Interfaces |
|
|
23 | (4) |
|
Section 2.6 Using a Unix Terminal |
|
|
27 | (4) |
|
Section 2.7 The Unix Command Line |
|
|
31 | (1) |
|
Section 2.8 The Shell Prompt |
|
|
32 | (1) |
|
Section 2.9 What Unix Commands Look Like |
|
|
33 | (1) |
|
Section 2.10 Making Corrections as You Type Commands |
|
|
34 | (1) |
|
Section 2.11 Two Important Keys: <Ctrl-C> and <Ctrl-D> |
|
|
35 | (2) |
|
Section 2.12 The History List; Command Line Editing |
|
|
37 | (3) |
|
Section 2.13 The Unix Manual |
|
|
40 | (1) |
|
Section 2.14 Using the less Pager Program |
|
|
41 | (2) |
|
Section 2.15 The Three Types of Unix Files |
|
|
43 | (2) |
|
Section 2.16 The Tree-Structured Filesystem |
|
|
45 | (3) |
|
Section 2.17 The Current Directory and Pathnames |
|
|
48 | (4) |
|
Section 2.18 File and Directory Names |
|
|
52 | (3) |
|
Section 2.19 File and Directory Names: OS X and Windows |
|
|
55 | (2) |
|
Chapter 3 Installing Emacs |
|
|
57 | (14) |
|
Section 3.1 Installing Software: Packages vs. Manual Installation |
|
|
57 | (3) |
|
Section 3.2 Installing Emacs Using a Linux Package Manager |
|
|
60 | (2) |
|
Section 3.3 Installing Emacs Manually With Linux |
|
|
62 | (3) |
|
Section 3.4 Installing Emacs With OS X |
|
|
65 | (3) |
|
Section 3.5 Installing Emacs With Microsoft Windows |
|
|
68 | (3) |
|
Chapter 4 The Emacs Keyboard |
|
|
71 | (8) |
|
Section 4.1 A Strategy for Learning Emacs |
|
|
71 | (1) |
|
|
72 | (1) |
|
Section 4.3 The Meta (Alt) Key |
|
|
72 | (2) |
|
Section 4.4 Special Key Names |
|
|
74 | (1) |
|
Section 4.5 The Meta Key, Bucky Bits, and Much More |
|
|
75 | (3) |
|
Section 4.6 Meta Key Problems When Using a Terminal Window |
|
|
78 | (1) |
|
Chapter 5 Starting and Stopping Emacs |
|
|
79 | (8) |
|
Section 5.1 Starting Emacs |
|
|
79 | (2) |
|
Section 5.2 Starting Emacs in a Terminal Window |
|
|
81 | (1) |
|
Section 5.3 Starting Emacs as a Read-Only Editor |
|
|
82 | (1) |
|
Section 5.4 Recovering Data After a System Failure |
|
|
83 | (1) |
|
Section 5.5 Stopping Emacs |
|
|
84 | (3) |
|
Chapter 6 Commands, Buffers, Windows |
|
|
87 | (18) |
|
Section 6.1 Commands and Key Bindings |
|
|
87 | (2) |
|
|
89 | (2) |
|
|
91 | (3) |
|
Section 6.4 The Mode Line / Read-Only Viewing |
|
|
94 | (2) |
|
Section 6.5 The Echo Area / Typing Emacs Commands |
|
|
96 | (1) |
|
Section 6.6 The Minibuffer |
|
|
97 | (2) |
|
|
99 | (3) |
|
Section 6.8 Disabled Commands |
|
|
102 | (3) |
|
Chapter 7 The Text Editing Work Environment |
|
|
105 | (16) |
|
Section 7.1 How to Practice Using Emacs |
|
|
105 | (2) |
|
Section 7.2 Typing and Correcting |
|
|
107 | (1) |
|
Section 7.3 The repeat and undo Commands; Redo |
|
|
108 | (4) |
|
Section 7.4 The keyboard--quit Command (c--g) |
|
|
112 | (1) |
|
Section 7.5 Emacs for vi Users |
|
|
112 | (1) |
|
Section 7.6 Commands to Control Windows |
|
|
113 | (2) |
|
Section 7.7 Commands to Control Buffers |
|
|
115 | (2) |
|
Section 7.8 Commands for Working With Files |
|
|
117 | (4) |
|
Chapter 8 The Cursor; Line Numbers; Point and Mark; The Region |
|
|
121 | (16) |
|
Section 8.1 The Cursor and the Idea of Point |
|
|
121 | (1) |
|
Section 8.2 Moving the Cursor |
|
|
122 | (1) |
|
Section 8.3 Text Modes; Paragraphs and Sentences |
|
|
123 | (1) |
|
Section 8.4 Repeating a Command: Prefix Arguments |
|
|
124 | (3) |
|
Section: 8.5 Moving Through the Buffer |
|
|
127 | (1) |
|
Section 8.6 Using Line Numbers |
|
|
128 | (1) |
|
Section 8.7 Mark, Point, and the Region |
|
|
129 | (2) |
|
Section 8.8 Using Mark and Point to Define the Region |
|
|
131 | (2) |
|
Section 8.9 Operating on the Region |
|
|
133 | (4) |
|
Chapter 9 Kill and Delete; Move and Copy; Correct Mistakes; Spelling; Fill |
|
|
137 | (18) |
|
Section 9.1 Kill and Delete: Two Ways to Erase Text |
|
|
137 | (1) |
|
Section 9.2 Commands to Delete Text |
|
|
138 | (3) |
|
Section 9.3 Commands to Kill Text |
|
|
141 | (2) |
|
Section 9.4 The Kill Ring and Yanking; Moving and Copying |
|
|
143 | (3) |
|
Section 9.5 Correcting Common Typing Mistakes |
|
|
146 | (3) |
|
Section 9.6 Correcting Spelling Mistakes |
|
|
149 | (2) |
|
Section 9.7 Filling and Formatting Text |
|
|
151 | (4) |
|
|
155 | (18) |
|
Section 10.1 Introducing the Emacs Search Commands |
|
|
155 | (1) |
|
Section 10.2 Incremental Searching |
|
|
156 | (1) |
|
Section 10.3 Keys to Use While Searching |
|
|
157 | (3) |
|
Section 10.4 Upper- and Lowercase Searching |
|
|
160 | (1) |
|
Section 10.5 Non-Incremental Searching |
|
|
161 | (1) |
|
Section 10.6 Word Searching |
|
|
162 | (1) |
|
Section 10.7 Searching for Regular Expressions |
|
|
162 | (2) |
|
Section 10.8 Regular Expressions |
|
|
164 | (2) |
|
Section 10.9 Fixing Emacs Key Conflicts |
|
|
166 | (1) |
|
Section 10.10 Searching and Replacing |
|
|
167 | (3) |
|
Section 10.11 Recursive Editing |
|
|
170 | (3) |
|
Chapter 11 Modes; Customizing Using Your Emacs File |
|
|
173 | (16) |
|
Section 11.1 Introducing Modes |
|
|
173 | (1) |
|
|
174 | (1) |
|
Section 11.3 Lists of Major Modes |
|
|
175 | (3) |
|
|
178 | (2) |
|
Section 11.5 Setting Major and Minor Modes |
|
|
180 | (1) |
|
Section 11.6 Read-Only Mode |
|
|
181 | (1) |
|
Section 11.7 Learning About Modes |
|
|
182 | (3) |
|
Section 11.8 Customizing With the Emacs File; Learning Lisp |
|
|
185 | (2) |
|
Section 11.9 Using Your Emacs File to Set Default Modes |
|
|
187 | (2) |
|
Chapter 12 Shell Commands; Help and Info; Programs and Games |
|
|
189 | (26) |
|
Section 12.1 Entering Shell Commands |
|
|
189 | (2) |
|
Section 12.2 Shell Buffers |
|
|
191 | (1) |
|
Section 12.3 The Help Facility |
|
|
192 | (2) |
|
Section 12.4 The Emacs Tutorial; Info and the Emacs Reference Manuals |
|
|
194 | (3) |
|
Section 12.5 Built-in Programs |
|
|
197 | (1) |
|
Section 12.6 Built-in Tools, Including Dired |
|
|
198 | (5) |
|
Section 12.7 Games and Diversions |
|
|
203 | (9) |
|
Section 12.8 Zippy the Pinhead Talks to the Emacs Psychotherapist |
|
|
212 | (2) |
|
Section 12.9 A Personal Note From Harley Hahn |
|
|
214 | (1) |
|
Appendix A Personal Notes |
|
|
215 | (16) |
|
#1 Teaching Yourself Emacs |
|
|
215 | (1) |
|
#2 Computer With a Keyboard |
|
|
216 | (1) |
|
#3 Usenet, Emacs, and the Growth of the Internet |
|
|
216 | (1) |
|
#4 Free/Open Source Software |
|
|
217 | (1) |
|
|
217 | (2) |
|
#6 Our Tools Shape Our Minds |
|
|
219 | (1) |
|
|
220 | (1) |
|
#8 Early Unix on the West Coast |
|
|
220 | (1) |
|
|
220 | (1) |
|
|
221 | (1) |
|
|
221 | (1) |
|
|
221 | (1) |
|
|
222 | (1) |
|
|
222 | (1) |
|
#15 Why U.C. San Diego in 1976? |
|
|
223 | (1) |
|
#16 80- and 132-character Lines |
|
|
223 | (1) |
|
|
224 | (1) |
|
|
224 | (1) |
|
|
225 | (1) |
|
|
225 | (1) |
|
#21 Aren't All Terminals Virtual? |
|
|
226 | (1) |
|
#22 Ubuntu Terminal Emulators |
|
|
227 | (1) |
|
#23 How to Access the Command Line With Mac OS X and Windows |
|
|
227 | (1) |
|
#24 Freddy and the Men From Mars |
|
|
228 | (1) |
|
#25 Special Files and Proc Files |
|
|
228 | (1) |
|
#26 How Many Files Are on Your Unix System? |
|
|
229 | (1) |
|
#27 Comparing Unix Packages to Commercial Apps |
|
|
230 | (1) |
|
Appendix B Command Summaries |
|
|
231 | (34) |
|
Index of Emacs Key Sequences |
|
|
257 | (4) |
|
Index of Emacs Variables and Functions |
|
|
261 | (2) |
|
Index of Unix Keys, Files and Commands |
|
|
263 | (2) |
General Index |
|
265 | |