Cover image for Sams teach yourself Emacs in 24 hours
Title:
Sams teach yourself Emacs in 24 hours
Author:
Pedersen, Jesper.
Publication Information:
Indianapolis, IN : Sam Pub., [1999]

©1999
Physical Description:
xvi, 445 pages : illustrations ; 24 cm + 1 computer laser optical disc (4 3/4 in.)
General Note:
On cover: Starter kit.
Language:
English
Title Subject:
Added Author:
ISBN:
9780672315947
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.76.T49 S34 1999 Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

This guide aims to simplify Emacs by organizing the program by function and platform. It not only teaches GNU Emacs but also the basics of other forms, such as XEmacs. The CD-ROM features extra tools including a FAQ section, source/binaries for Emacs, and quick reference cards.


Author Notes

Jesper Pedersen has written about Emacs in Linux Gazette and contributed to Que's Using UNIX, Second Edition. A public speaker on UNIX, Jesper created The Dotfile Generator, a configuration tool for several UNIX applications, including Emacs. He recently completed his master's thesis in computer science at Odense University in Denmark, where he maintained the Emacs system and developed utilities to ease the use of Emacs.


Table of Contents

Introductionp. 1
Part 1 Getting Startedp. 5
Hour 1 Introduction to Emacsp. 7
Overview of Emacs Featuresp. 8
The Keyboard Quick Reference Cardp. 17
A Note on Configuring Emacsp. 18
Using Different Emacsp. 20
Summaryp. 22
Hour 2 Using Emacs in Microsoft Windowsp. 23
What Is NT Emacs?p. 23
Needed Directoriesp. 25
Setting Up for Printingp. 31
Things NT Emacs Does Not Do Wellp. 34
How to Tell Which Computer You Are Onp. 35
Summaryp. 37
QandAp. 37
Exercisesp. 37
Hour 3 Getting Started with Emacsp. 39
Layout of the Screenp. 40
Menusp. 42
The Minibufferp. 44
Buffers, Windows, and Framesp. 47
Point, Mark, and Regionp. 48
Modesp. 50
Layout of the Keyboardp. 53
Summaryp. 53
QandAp. 54
Exercisesp. 54
Hour 4 Basic Editingp. 57
Inserting and Deleting Textp. 57
Moving Around in the Bufferp. 59
Cut, Copy, and Pastep. 63
Editing a Filep. 66
Miscellaneous File Commandsp. 68
Document Templatesp. 71
Summaryp. 76
QandAp. 76
Exercisesp. 77
Hour 5 Recovering from Errorsp. 79
Undo and Redop. 79
Automatic Backupp. 83
Recovering from a Crashp. 86
Summaryp. 90
QandAp. 90
Exercisesp. 91
Hour 6 Editing Several Files at Oncep. 93
Working with Multiple Buffersp. 94
Working with Windows and Framesp. 102
Summaryp. 108
QandAp. 108
Exercisesp. 109
Part II Searchingp. 111
Hour 7 Searching for Text in a Bufferp. 113
Incremental Searchp. 114
Searching for Wordsp. 120
Search and Replacep. 120
Listing Lines that Match a Patternp. 125
Summaryp. 127
QandAp. 128
Exercisesp. 128
Hour 8 Searching for Text in Multiple Filesp. 129
Searching for a Definition in a Set of Filesp. 130
Using grep from Within Emacsp. 136
Keeping Points in Buffers for Several Sessions (Bookmarks)p. 140
Keeping Points in Buffers for the Current Sessionp. 142
Summaryp. 143
QandAp. 143
Exercisesp. 144
Hour 9 Regular Expressionsp. 145
Regular Expression Crash Coursep. 146
Regular Expressions--Basicsp. 148
Regular Expression Searchesp. 154
Regular Expression Search-and-Replacep. 156
Summaryp. 157
QandAp. 157
Exercisesp. 158
Part III Emacs Toolsp. 159
Hour 10 The Emacs Help System and Configuration Systemp. 161
General Help Facilities in Emacsp. 162
Getting Extra Help Using the Info Systemp. 167
Customizing Emacs's Featuresp. 169
Summaryp. 176
QandAp. 176
Exercisesp. 177
Hour 11 Editing Utilitiesp. 179
Using a Spelling Checkerp. 179
Automatically Replacing One String with Anotherp. 186
Completing Text from Another Part of the Bufferp. 188
Transporting and Changing Casep. 191
Summaryp. 192
QandAp. 192
Exercisesp. 193
Hour 12 Visible Editing Utilitiesp. 195
Changing the Font in Emacsp. 195
Changing the Foreground and Background Color in UNIXp. 200
Parentheses Matchingp. 201
Using a Visible Bellp. 204
Highlighting Syntax Using Fonts and Colorsp. 204
Fillingp. 206
Getting Double Height Windowsp. 208
Rectangular Commandsp. 209
Summaryp. 210
QandAp. 211
Exercisesp. 212
Hour 13 Macrosp. 213
Writing a Simple Macrop. 215
Repeating Macrosp. 216
Saving a Macro for Later Sessionsp. 218
Making Macros that Ask for Permission to Continuep. 219
Further Interaction with the Macrop. 221
Editing a Macrop. 223
Summaryp. 225
QandAp. 226
Exercisesp. 226
Hour 14 Finding Differences Between Filesp. 229
Diffing Two Files with Ediffp. 230
Diffing Two Files with a Common Ancestorp. 234
Ediff Sessionp. 235
Merging Filesp. 236
Using Ediff with Directories of Filesp. 237
Ediff and Version Control Systemsp. 239
Summaryp. 239
QandAp. 240
Exercisesp. 240
Hour 15 Getting an Overview of a Filep. 241
Focusing on Only Part of a Bufferp. 241
Getting an Outline of Your Documentp. 243
Using Outline or Narrowing in Two Different Views of the Same Filep. 251
Folding Text: A Sort of Categorized Outlinep. 252
Summaryp. 254
QandAp. 255
Exercisesp. 255
Hour 16 Interfacing with the Systemp. 257
Invocationsp. 258
Running Programsp. 259
Writing Your Own Commands to Execute Programsp. 262
Editing Directoriesp. 264
Printingp. 266
Summaryp. 268
QandAp. 269
Exercisesp. 269
Part IV Specialized Editingp. 271
Hour 17 Editing LaTeX/HTML Filesp. 273
HTML and Emacsp. 274
The GNU Emacs HTML Modep. 274
Writing HTML with XEmacsp. 281
Using Emacs in Conjunction with HTML Editorsp. 282
Writing and Processing LaTeXp. 283
Summaryp. 289
QandAp. 289
Exercisesp. 290
Hour 18 Editing C, C++, and Java Filesp. 291
Advanced C-Based Language Editingp. 292
Automatic Indentationp. 294
Navigating C Preprocessor Directivesp. 301
Viewing Code with Expanded Macrosp. 302
File and Tag Browsingp. 304
Summaryp. 306
QandAp. 307
Exercisesp. 307
Hour 19 Programming Utilitiesp. 309
Version Control Systemsp. 309
Compiling Programsp. 313
Debugging Programsp. 317
Summaryp. 321
QandAp. 321
Exercisesp. 322
Part V Mail and Newsp. 323
Hour 20 Gnus Basicsp. 325
Introducing Gnusp. 326
Getting Up Gnusp. 329
Reading Mail and Newsp. 333
Sending Mail and Newsp. 340
Summaryp. 343
QandAp. 343
Exercisesp. 344
Hour 21 Advanced Gnusp. 345
Customizing the Group Bufferp. 346
Using a Database with Gnusp. 351
Additional Summary Commandsp. 354
Scoringp. 357
Summaryp. 361
QandAp. 361
Exercisesp. 362
Part VI Advanced Emacsp. 363
Hour 22 Learning Lisp Basicsp. 365
The Purpose of Lispp. 366
Values in Lispp. 367
Assigning Variablesp. 371
Function Definitionsp. 374
Organization of Your Configurationsp. 376
Summaryp. 377
QandAp. 378
Exercisesp. 378
Hour 23 Binding Keys and Creating Menusp. 381
Keyboard Modifiersp. 382
Keyboard and Eventsp. 383
Mouse and Eventsp. 383
Key Sequences and Keymapsp. 383
Making Personal Keybindingsp. 393
Summaryp. 394
QandAp. 395
Exercisesp. 395
Hour 24 Installing Emacs Add-Onsp. 397
Simple and Complex Add-Onsp. 397
Installing an Add-Onp. 398
Loading Techniquesp. 400
Filenames and Interpretersp. 400
Controlling Optionsp. 401
Hooksp. 401
Adapting Functionsp. 403
A Sampling of Emacs Packagesp. 405
Summaryp. 408
QandAp. 408
Exercisesp. 409
Appendixesp. 411
Appendix A Installing Functions and Packages from the CDp. 411
sams-lib.elp. 411
igrep.elp. 412
cust-stub.elp. 412
folding.elp. 413
pager.elp. 413
template.elp. 414
flyspell.elp. 414
bbdb.elp. 415
Indexp. 417

Google Preview