]> code.delx.au - gnu-emacs/blob - doc/emacs/emacs.texi
(Text Representations): Rewrite to make consistent with Emacs 23
[gnu-emacs] / doc / emacs / emacs.texi
1 \input texinfo
2
3 @setfilename ../../info/emacs
4 @settitle GNU Emacs Manual
5
6 @c The edition number appears in several places in this file
7 @set EDITION Sixteenth
8 @set EMACSVER 23.0.60
9
10 @copying
11 This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
12 updated for Emacs version @value{EMACSVER}.
13
14 Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997,
15 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
16 Free Software Foundation, Inc.
17
18 @quotation
19 Permission is granted to copy, distribute and/or modify this document
20 under the terms of the GNU Free Documentation License, Version 1.2 or
21 any later version published by the Free Software Foundation; with the
22 Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
23 ``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
24 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
25 license is included in the section entitled ``GNU Free Documentation
26 License.''
27
28 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
29 modify this GNU manual. Buying copies from the FSF supports it in
30 developing GNU and promoting software freedom.''
31 @end quotation
32 @end copying
33
34 @dircategory Emacs
35 @direntry
36 * Emacs: (emacs). The extensible self-documenting text editor.
37 @end direntry
38
39 @c in general, keep the following line commented out, unless doing a
40 @c copy of this manual that will be published. The manual should go
41 @c onto the distribution in the full, 8.5 x 11" size.
42 @c set smallbook
43
44 @ifset smallbook
45 @smallbook
46 @end ifset
47
48 @c per rms and peterb, use 10pt fonts for the main text, mostly to
49 @c save on paper cost.
50 @c Do this inside @tex for now, so current makeinfo does not complain.
51 @tex
52 @ifset smallbook
53 @fonttextsize 10
54 @set EMACSVER 22
55 \global\let\urlcolor=\Black % don't print links in grayscale
56 \global\let\linkcolor=\Black
57 @end ifset
58 \global\hbadness=6666 % don't worry about not-too-underfull boxes
59 @end tex
60
61 @defcodeindex op
62 @synindex pg cp
63
64 @iftex
65 @kbdinputstyle code
66
67 @shorttitlepage GNU Emacs Manual
68 @end iftex
69
70 @titlepage
71 @sp 6
72 @center @titlefont{GNU Emacs Manual}
73 @sp 4
74 @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
75 @sp 5
76 @center Richard Stallman
77 @page
78 @vskip 0pt plus 1filll
79 @insertcopying
80
81 @sp 2
82 Published by the Free Software Foundation @*
83 51 Franklin Street, Fifth Floor @*
84 Boston, MA 02110-1301 USA @*
85 ISBN 1-882114-86-8
86
87 @sp 2
88 Cover art by Etienne Suvasa.
89
90 @end titlepage
91
92
93 @summarycontents
94 @contents
95
96
97 @ifnottex
98 @node Top, Distrib, (dir), (dir)
99 @top The Emacs Editor
100
101 Emacs is the extensible, customizable, self-documenting real-time
102 display editor. This Info file describes how to edit with Emacs and
103 some of how to customize it; it corresponds to GNU Emacs version
104 @value{EMACSVER}.
105
106 @ifinfo
107 To learn more about the Info documentation system, type @kbd{h}, and
108 Emacs will take you to a programmed instruction sequence for the Info
109 commands.
110 @end ifinfo
111
112 For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
113 Emacs Lisp Reference Manual}.
114 @end ifnottex
115
116 @ignore
117 These subcategories have been deleted for simplicity
118 and to avoid conflicts.
119 Completion
120 Backup Files
121 Auto-Saving: Protection Against Disasters
122 Tags
123 Text Mode
124 Outline Mode
125 @TeX{} Mode
126 Formatted Text
127 Shell Command History
128
129 The ones for Dired and Rmail have had the items turned into :: items
130 to avoid conflicts.
131 Also Running Shell Commands from Emacs
132 and Sending Mail and Registers and Minibuffer.
133 @end ignore
134
135 @menu
136 * Distrib:: How to get the latest Emacs distribution.
137 * Copying:: The GNU General Public License gives you permission
138 to redistribute GNU Emacs on certain terms;
139 it also explains that there is no warranty.
140 * GNU Free Documentation License:: The license for this documentation.
141 * Intro:: An introduction to Emacs concepts.
142 * Glossary:: Terms used in this manual.
143 * Antinews:: Information about Emacs version 21.
144 * Mac OS:: Using Emacs in the Mac.
145 * Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
146 * Manifesto:: What's GNU? Gnu's Not Unix!
147 * Acknowledgments:: Major contributors to GNU Emacs.
148
149 Indexes (each index contains a large menu)
150 * Key Index:: An item for each standard Emacs key sequence.
151 * Option Index:: An item for every command-line option.
152 * Command Index:: An item for each command name.
153 * Variable Index:: An item for each documented variable.
154 * Concept Index:: An item for each concept.
155
156 Important General Concepts
157 * Screen:: How to interpret what you see on the screen.
158 * User Input:: Kinds of input events (characters, buttons,
159 function keys).
160 * Keys:: Key sequences: what you type to request one
161 editing action.
162 * Commands:: Named functions run by key sequences to do editing.
163 * Entering Emacs:: Starting Emacs from the shell.
164 * Exiting:: Stopping or killing Emacs.
165 * Emacs Invocation:: Hairy startup options.
166
167 Fundamental Editing Commands
168 * Basic:: The most basic editing commands.
169 * Minibuffer:: Entering arguments that are prompted for.
170 * M-x:: Invoking commands by their names.
171 * Help:: Commands for asking Emacs about its commands.
172
173 Important Text-Changing Commands
174 * Mark:: The mark: how to delimit a ``region'' of text.
175 * Killing:: Killing (cutting) text.
176 * Yanking:: Recovering killed text. Moving text. (Pasting.)
177 * Accumulating Text:: Other ways of copying text.
178 * Rectangles:: Operating on the text inside a rectangle on the screen.
179 * Registers:: Saving a text string or a location in the buffer.
180 * Display:: Controlling what text is displayed.
181 * Search:: Finding or replacing occurrences of a string.
182 * Fixit:: Commands especially useful for fixing typos.
183 * Keyboard Macros:: A keyboard macro records a sequence of
184 keystrokes to be replayed with a single command.
185
186 Major Structures of Emacs
187 * Files:: All about handling files.
188 * Buffers:: Multiple buffers; editing several files at once.
189 * Windows:: Viewing two pieces of text at once.
190 * Frames:: Running the same Emacs session in multiple X windows.
191 * International:: Using non-@acronym{ASCII} character sets (the MULE features).
192
193 Advanced Features
194 * Major Modes:: Text mode vs. Lisp mode vs. C mode ...
195 * Indentation:: Editing the white space at the beginnings of lines.
196 * Text:: Commands and modes for editing English.
197 * Programs:: Commands and modes for editing programs.
198 * Building:: Compiling, running and debugging programs.
199 * Maintaining:: Features for maintaining large programs.
200 * Abbrevs:: How to define text abbreviations to reduce
201 the number of characters you must type.
202 @ifnottex
203 * Picture Mode:: Editing pictures made up of characters using
204 the quarter-plane screen model.
205 @end ifnottex
206 * Sending Mail:: Sending mail in Emacs.
207 * Rmail:: Reading mail in Emacs.
208 * Dired:: You can ``edit'' a directory to manage files in it.
209 * Calendar/Diary:: The calendar and diary facilities.
210 * Document View:: Viewing PDF, PS and DVI files.
211 * Gnus:: How to read netnews with Emacs.
212 * Shell:: Executing shell commands from Emacs.
213 * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc.
214 * Printing:: Printing hardcopies of buffers or regions.
215 * Sorting:: Sorting lines, paragraphs or pages within Emacs.
216 * Narrowing:: Restricting display and editing to a portion
217 of the buffer.
218 * Two-Column:: Splitting apart columns to edit them
219 in side-by-side windows.
220 * Editing Binary Files::Using Hexl mode to edit binary files.
221 * Saving Emacs Sessions:: Saving Emacs state from one session to the next.
222 * Recursive Edit:: A command can allow you to do editing
223 "within the command". This is called a
224 "recursive editing level".
225 * Emulation:: Emulating some other editors with Emacs.
226 * Hyperlinking:: Following links in buffers.
227 * Dissociated Press:: Dissociating text for fun.
228 * Amusements:: Various games and hacks.
229 * Customization:: Modifying the behavior of Emacs.
230 * X Resources:: X resources for customizing Emacs.
231
232 Recovery from Problems
233 * Quitting:: Quitting and aborting.
234 * Lossage:: What to do if Emacs is hung or malfunctioning.
235 * Bugs:: How and when to report a bug.
236 * Contributing:: How to contribute improvements to Emacs.
237 * Service:: How to get help for your own Emacs needs.
238
239 @c Do NOT modify the following 3 lines! They must have this form to
240 @c be correctly identified by `texinfo-multiple-files-update'. In
241 @c particular, the detailed menu header line MUST be identical to the
242 @c value of `texinfo-master-menu-header'. See texnfo-upd.el.
243
244 @detailmenu
245 --- The Detailed Node Listing ---
246 ---------------------------------
247
248 Here are some other nodes which are really inferiors of the ones
249 already listed, mentioned here so you can get to them in one step:
250
251 The Organization of the Screen
252
253 * Point:: The place in the text where editing commands operate.
254 * Echo Area:: Short messages appear at the bottom of the screen.
255 * Mode Line:: Interpreting the mode line.
256 * Menu Bar:: How to use the menu bar.
257
258 Basic Editing Commands
259
260 * Inserting Text:: Inserting text by simply typing it.
261 * Moving Point:: How to move the cursor to the place where you want to
262 change something.
263 * Erasing:: Deleting and killing text.
264 * Basic Undo:: Undoing recent changes in the text.
265 * Basic Files:: Visiting, creating, and saving files.
266 * Basic Help:: Asking what a character does.
267 * Blank Lines:: Commands to make or delete blank lines.
268 * Continuation Lines:: Lines too wide for the screen.
269 * Position Info:: What page, line, row, or column is point on?
270 * Arguments:: Numeric arguments for repeating a command.
271 * Repeating:: A short-cut for repeating the previous command.
272
273 The Minibuffer
274
275 * Minibuffer File:: Entering file names with the minibuffer.
276 * Minibuffer Edit:: How to edit in the minibuffer.
277 * Completion:: An abbreviation facility for minibuffer input.
278 * Minibuffer History:: Reusing recent minibuffer arguments.
279 * Repetition:: Re-executing commands that used the minibuffer.
280
281 Completion
282
283 * Example: Completion Example. Examples of using completion.
284 * Commands: Completion Commands. A list of completion commands.
285 * Strict Completion:: Different types of completion.
286 * Options: Completion Options. Options for completion.
287
288 Help
289
290 * Help Summary:: Brief list of all Help commands.
291 * Key Help:: Asking what a key does in Emacs.
292 * Name Help:: Asking about a command, variable or function name.
293 * Apropos:: Asking what pertains to a given topic.
294 * Help Mode:: Special features of Help mode and Help buffers.
295 * Library Keywords:: Finding Lisp libraries by keywords (topics).
296 * Language Help:: Help relating to international language support.
297 * Misc Help:: Other help commands.
298 * Help Files:: Commands to display pre-written help files.
299 * Help Echo:: Help on active text and tooltips (`balloon help')
300
301 The Mark and the Region
302
303 * Setting Mark:: Commands to set the mark.
304 * Marking Objects:: Commands to put region around textual units.
305 * Using Region:: Summary of ways to operate on contents of the region.
306 * Mark Ring:: Previous mark positions saved so you can go back there.
307 * Global Mark Ring:: Previous mark positions in various buffers.
308 * Shift Selection:: Using shifted cursor motion keys.
309 * Persistent Mark:: Keeping the mark active all the time.
310
311 Killing and Moving Text
312
313 * Deletion:: Commands for deleting small amounts of text and
314 blank areas.
315 * Killing by Lines:: How to kill entire lines of text at one time.
316 * Other Kill Commands:: Commands to kill large regions of text and
317 syntactic units such as words and sentences.
318 * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy
319 and paste, with enhanced rectangle support.
320
321 Yanking
322
323 * Kill Ring:: Where killed text is stored. Basic yanking.
324 * Appending Kills:: Several kills in a row all yank together.
325 * Earlier Kills:: Yanking something killed some time ago.
326
327 Registers
328
329 * RegPos:: Saving positions in registers.
330 * RegText:: Saving text in registers.
331 * RegRect:: Saving rectangles in registers.
332 * RegConfig:: Saving window configurations in registers.
333 * RegNumbers:: Numbers in registers.
334 * RegFiles:: File names in registers.
335 * Bookmarks:: Bookmarks are like registers, but persistent.
336
337 Controlling the Display
338
339 * Scrolling:: Moving text up and down in a window.
340 * Auto Scrolling:: Redisplay scrolls text automatically when needed.
341 * Horizontal Scrolling:: Moving text left and right in a window.
342 * Follow Mode:: Follow mode lets two windows scroll as one.
343 * Faces:: How to change the display style using faces.
344 * Standard Faces:: Emacs' predefined faces.
345 * Temporary Face Changes:: Commands to temporarily modify the default text face
346 * Font Lock:: Minor mode for syntactic highlighting using faces.
347 * Highlight Interactively:: Tell Emacs what text to highlight.
348 * Fringes:: Enabling or disabling window fringes.
349 * Displaying Boundaries:: Displaying top and bottom of the buffer.
350 * Useless Whitespace:: Showing possibly-spurious trailing whitespace.
351 * Selective Display:: Hiding lines with lots of indentation.
352 * Optional Mode Line:: Optional mode line display features.
353 * Text Display:: How text characters are normally displayed.
354 * Cursor Display:: Features for displaying the cursor.
355 * Line Truncation:: Truncating lines to fit the screen width instead
356 of continuing them to multiple screen lines.
357 * Visual Line Mode:: Word wrap and screen line-based editing.
358 * Display Custom:: Information on variables for customizing display.
359
360 Searching and Replacement
361
362 * Incremental Search:: Search happens as you type the string.
363 * Nonincremental Search:: Specify entire string and then search.
364 * Word Search:: Search for sequence of words.
365 * Regexp Search:: Search for match for a regexp.
366 * Regexps:: Syntax of regular expressions.
367 * Regexp Backslash:: Regular expression constructs starting with `\'.
368 * Regexp Example:: A complex regular expression explained.
369 * Search Case:: To ignore case while searching, or not.
370 * Replace:: Search, and replace some or all matches.
371 * Other Repeating Search:: Operating on all matches for some regexp.
372
373 Incremental Search
374
375 * Basic Isearch:: Basic incremental search commands.
376 * Repeat Isearch:: Searching for the same string again.
377 * Error in Isearch:: When your string is not found.
378 * Special Isearch:: Special input in incremental search.
379 * Isearch Yank:: Commands that grab text into the search string
380 or else edit the search string.
381 * Isearch Scroll:: Scrolling during an incremental search.
382 * Isearch Minibuffer:: Incremental search of the minibuffer history.
383 * Slow Isearch:: Incremental search features for slow terminals.
384
385 Replacement Commands
386
387 * Unconditional Replace:: Replacing all matches for a string.
388 * Regexp Replace:: Replacing all matches for a regexp.
389 * Replacement and Case:: How replacements preserve case of letters.
390 * Query Replace:: How to use querying.
391
392 Commands for Fixing Typos
393
394 * Undo:: Full details of Emacs undo commands.
395 * Transpose:: Exchanging two characters, words, lines, lists...
396 * Fixing Case:: Correcting case of last word entered.
397 * Spelling:: Apply spelling checker to a word or a whole buffer.
398
399 Keyboard Macros
400
401 * Basic Keyboard Macro:: Defining and running keyboard macros.
402 * Keyboard Macro Ring:: Where previous keyboard macros are saved.
403 * Keyboard Macro Counter:: Inserting incrementing numbers in macros.
404 * Keyboard Macro Query:: Making keyboard macros do different things each time.
405 * Save Keyboard Macro:: Giving keyboard macros names; saving them in files.
406 * Edit Keyboard Macro:: Editing keyboard macros.
407 * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
408 macro.
409
410 File Handling
411
412 * File Names:: How to type and edit file-name arguments.
413 * Visiting:: Visiting a file prepares Emacs to edit the file.
414 * Saving:: Saving makes your changes permanent.
415 * Reverting:: Reverting cancels all the changes not saved.
416 * Autorevert:: Auto Reverting non-file buffers.
417 * Auto Save:: Auto Save periodically protects against loss of data.
418 * File Aliases:: Handling multiple names for one file.
419 * Directories:: Creating, deleting, and listing file directories.
420 * Comparing Files:: Finding where two files differ.
421 * Diff Mode:: Editing diff output.
422 * Misc File Ops:: Other things you can do on files.
423 * Compressed Files:: Accessing compressed files.
424 * File Archives:: Operating on tar, zip, jar etc. archive files.
425 * Remote Files:: Accessing files on other sites.
426 * Quoted File Names:: Quoting special characters in file names.
427 * File Name Cache:: Completion against a list of files you often use.
428 * File Conveniences:: Convenience Features for Finding Files.
429 * Filesets:: Handling sets of files.
430
431 Saving Files
432
433 * Save Commands:: Commands for saving files.
434 * Backup:: How Emacs saves the old version of your file.
435 * Customize Save:: Customizing the saving of files.
436 * Interlocking:: How Emacs protects against simultaneous editing
437 of one file by two users.
438 * File Shadowing:: Copying files to "shadows" automatically.
439 * Time Stamps:: Emacs can update time stamps on saved files.
440
441 Backup Files
442
443 * Names: Backup Names. How backup files are named.
444 * Deletion: Backup Deletion. Emacs deletes excess numbered backups.
445 * Copying: Backup Copying. Backups can be made by copying or renaming.
446
447 Auto-Saving: Protection Against Disasters
448
449 * Files: Auto Save Files. The file where auto-saved changes are
450 actually made until you save the file.
451 * Control: Auto Save Control. Controlling when and how often to auto-save.
452 * Recover:: Recovering text from auto-save files.
453
454 Using Multiple Buffers
455
456 * Select Buffer:: Creating a new buffer or reselecting an old one.
457 * List Buffers:: Getting a list of buffers that exist.
458 * Misc Buffer:: Renaming; changing read-onliness; copying text.
459 * Kill Buffer:: Killing buffers you no longer need.
460 * Several Buffers:: How to go through the list of all buffers
461 and operate variously on several of them.
462 * Indirect Buffers:: An indirect buffer shares the text of another buffer.
463 * Buffer Convenience:: Convenience and customization features for
464 buffer handling.
465
466 Multiple Windows
467
468 * Basic Window:: Introduction to Emacs windows.
469 * Split Window:: New windows are made by splitting existing windows.
470 * Other Window:: Moving to another window or doing something to it.
471 * Pop Up Window:: Finding a file or buffer in another window.
472 * Force Same Window:: Forcing certain buffers to appear in the selected
473 window rather than in another window.
474 * Change Window:: Deleting windows and changing their sizes.
475 * Window Convenience:: Convenience functions for window handling.
476
477 Frames and Graphical Displays
478
479 * Cut and Paste:: Mouse commands for cut and paste.
480 * Mouse References:: Using the mouse to select an item from a list.
481 * Menu Mouse Clicks:: Mouse clicks that bring up menus.
482 * Mode Line Mouse:: Mouse clicks on the mode line.
483 * Creating Frames:: Creating additional Emacs frames with various contents.
484 * Frame Commands:: Iconifying, deleting, and switching frames.
485 * Speedbar:: How to make and use a speedbar frame.
486 * Multiple Displays:: How one Emacs job can talk to several displays.
487 * Special Buffer Frames:: You can make certain buffers have their own frames.
488 * Frame Parameters:: Changing the colors and other modes of frames.
489 * Scroll Bars:: How to enable and disable scroll bars; how to use them.
490 * Wheeled Mice:: Using mouse wheels for scrolling.
491 * Drag and Drop:: Using drag and drop to open files and insert text.
492 * Menu Bars:: Enabling and disabling the menu bar.
493 * Tool Bars:: Enabling and disabling the tool bar.
494 * Dialog Boxes:: Controlling use of dialog boxes.
495 * Tooltips:: Showing "tooltips", AKA "balloon help" for active text.
496 * Mouse Avoidance:: Moving the mouse pointer out of the way.
497 * Non-Window Terminals:: Multiple frames on terminals that show only one.
498 * Text-Only Mouse:: Using the mouse in text-only terminals.
499
500 International Character Set Support
501
502 * International Chars:: Basic concepts of multibyte characters.
503 * Enabling Multibyte:: Controlling whether to use multibyte characters.
504 * Language Environments:: Setting things up for the language you use.
505 * Input Methods:: Entering text characters not on your keyboard.
506 * Select Input Method:: Specifying your choice of input methods.
507 * Multibyte Conversion:: How single-byte characters convert to multibyte.
508 * Coding Systems:: Character set conversion when you read and
509 write files, and so on.
510 * Recognize Coding:: How Emacs figures out which conversion to use.
511 * Specify Coding:: Specifying a file's coding system explicitly.
512 * Output Coding:: Choosing coding systems for output.
513 * Text Coding:: Choosing conversion to use for file text.
514 * Communication Coding:: Coding systems for interprocess communication.
515 * File Name Coding:: Coding systems for file @emph{names}.
516 * Terminal Coding:: Specifying coding systems for converting
517 terminal input and output.
518 * Fontsets:: Fontsets are collections of fonts
519 that cover the whole spectrum of characters.
520 * Defining Fontsets:: Defining a new fontset.
521 * Undisplayable Characters::When characters don't display.
522 * Unibyte Mode:: You can pick one European character set
523 to use without multibyte characters.
524 * Charsets:: How Emacs groups its internal character codes.
525
526 Major Modes
527
528 * Choosing Modes:: How major modes are specified or chosen.
529
530 Indentation
531
532 * Indentation Commands:: Various commands and techniques for indentation.
533 * Tab Stops:: You can set arbitrary "tab stops" and then
534 indent to the next tab stop when you want to.
535 * Just Spaces:: You can request indentation using just spaces.
536
537 Commands for Human Languages
538
539 * Words:: Moving over and killing words.
540 * Sentences:: Moving over and killing sentences.
541 * Paragraphs:: Moving over paragraphs.
542 * Pages:: Moving over pages.
543 * Filling:: Filling or justifying text.
544 * Case:: Changing the case of text.
545 * Text Mode:: The major modes for editing text files.
546 * Outline Mode:: Editing outlines.
547 * TeX Mode:: Editing input to the formatter TeX.
548 * HTML Mode:: Editing HTML, SGML, and XML files.
549 * Nroff Mode:: Editing input to the formatter nroff.
550 * Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
551 * Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
552
553 Filling Text
554
555 * Auto Fill:: Auto Fill mode breaks long lines automatically.
556 * Refill:: Keeping paragraphs filled.
557 * Fill Commands:: Commands to refill paragraphs and center lines.
558 * Fill Prefix:: Filling paragraphs that are indented
559 or in a comment, etc.
560 * Adaptive Fill:: How Emacs can determine the fill prefix automatically.
561 * Longlines:: Editing text with very long lines.
562
563 Outline Mode
564
565 * Format: Outline Format. What the text of an outline looks like.
566 * Motion: Outline Motion. Special commands for moving through
567 outlines.
568 * Visibility: Outline Visibility. Commands to control what is visible.
569 * Views: Outline Views. Outlines and multiple views.
570 * Foldout:: Folding means zooming in on outlines.
571
572 @TeX{} Mode
573
574 * Editing: TeX Editing. Special commands for editing in TeX mode.
575 * LaTeX: LaTeX Editing. Additional commands for LaTeX input files.
576 * Printing: TeX Print. Commands for printing part of a file with TeX.
577 * Misc: TeX Misc. Customization of TeX mode, and related features.
578
579 Editing Formatted Text
580
581 * Requesting Formatted Text:: Entering and exiting Enriched mode.
582 * Hard and Soft Newlines:: There are two different kinds of newlines.
583 * Editing Format Info:: How to edit text properties.
584 * Faces: Format Faces. Bold, italic, underline, etc.
585 * Color: Format Colors. Changing the color of text.
586 * Indent: Format Indentation. Changing the left and right margins.
587 * Justification: Format Justification.
588 Centering, setting text flush with the
589 left or right margin, etc.
590 * Other: Format Properties. The "special" text properties submenu.
591 * Forcing Enriched Mode:: How to force use of Enriched mode.
592
593 Editing Text-based Tables
594
595 * Table Definition:: What is a text based table.
596 * Table Creation:: How to create a table.
597 * Table Recognition:: How to activate and deactivate tables.
598 * Cell Commands:: Cell-oriented commands in a table.
599 * Cell Justification:: Justifying cell contents.
600 * Row Commands:: Manipulating rows of table cell.
601 * Column Commands:: Manipulating columns of table cell.
602 * Fixed Width Mode:: Fixing cell width.
603 * Table Conversion:: Converting between plain text and tables.
604 * Measuring Tables:: Analyzing table dimension.
605 * Table Misc:: Table miscellany.
606
607 Editing Programs
608
609 * Program Modes:: Major modes for editing programs.
610 * Defuns:: Commands to operate on major top-level parts
611 of a program.
612 * Program Indent:: Adjusting indentation to show the nesting.
613 * Parentheses:: Commands that operate on parentheses.
614 * Comments:: Inserting, killing, and aligning comments.
615 * Documentation:: Getting documentation of functions you plan to call.
616 * Hideshow:: Displaying blocks selectively.
617 * Symbol Completion:: Completion on symbol names of your program or language.
618 * Glasses:: Making identifiersLikeThis more readable.
619 * Misc for Programs:: Other Emacs features useful for editing programs.
620 * C Modes:: Special commands of C, C++, Objective-C,
621 Java, and Pike modes.
622 * Asm Mode:: Asm mode and its special features.
623 * Fortran:: Fortran mode and its special features.
624
625 Top-Level Definitions, or Defuns
626
627 * Left Margin Paren:: An open-paren or similar opening delimiter
628 starts a defun if it is at the left margin.
629 * Moving by Defuns:: Commands to move over or mark a major definition.
630 * Imenu:: Making buffer indexes as menus.
631 * Which Function:: Which Function mode shows which function you are in.
632
633 Indentation for Programs
634
635 * Basic Indent:: Indenting a single line.
636 * Multi-line Indent:: Commands to reindent many lines at once.
637 * Lisp Indent:: Specifying how each Lisp function should be indented.
638 * C Indent:: Extra features for indenting C and related modes.
639 * Custom C Indent:: Controlling indentation style for C and related modes.
640
641 Commands for Editing with Parentheses
642
643 * Expressions:: Expressions with balanced parentheses.
644 * Moving by Parens:: Commands for moving up, down and across
645 in the structure of parentheses.
646 * Matching:: Insertion of a close-delimiter flashes matching open.
647
648 Manipulating Comments
649
650 * Comment Commands:: Inserting, killing, and aligning comments.
651 * Multi-Line Comments:: Commands for adding and editing multi-line comments.
652 * Options for Comments::Customizing the comment features.
653
654 Documentation Lookup
655
656 * Info Lookup:: Looking up library functions and commands
657 in Info files.
658 * Man Page:: Looking up man pages of library functions and commands.
659 * Lisp Doc:: Looking up Emacs Lisp functions, etc.
660
661 C and Related Modes
662
663 * Motion in C:: Commands to move by C statements, etc.
664 * Electric C:: Colon and other chars can automatically reindent.
665 * Hungry Delete:: A more powerful DEL command.
666 * Other C Commands:: Filling comments, viewing expansion of macros,
667 and other neat features.
668
669 Compiling and Testing Programs
670
671 * Compilation:: Compiling programs in languages other
672 than Lisp (C, Pascal, etc.).
673 * Compilation Mode:: The mode for visiting compiler errors.
674 * Compilation Shell:: Customizing your shell properly
675 for use in the compilation buffer.
676 * Grep Searching:: Searching with grep.
677 * Flymake:: Finding syntax errors on the fly.
678 * Debuggers:: Running symbolic debuggers for non-Lisp programs.
679 * Executing Lisp:: Various modes for editing Lisp programs,
680 with different facilities for running
681 the Lisp programs.
682 * Lisp Libraries:: Creating Lisp programs to run in Emacs.
683 * Lisp Eval:: Executing a single Lisp expression in Emacs.
684 * Lisp Interaction:: Executing Lisp in an Emacs buffer.
685 * External Lisp:: Communicating through Emacs with a separate Lisp.
686
687 Running Debuggers Under Emacs
688
689 * Starting GUD:: How to start a debugger subprocess.
690 * Debugger Operation:: Connection between the debugger and source buffers.
691 * Commands of GUD:: Key bindings for common commands.
692 * GUD Customization:: Defining your own commands for GUD.
693 * GDB Graphical Interface:: An enhanced mode that uses GDB features to
694 implement a graphical debugging environment through
695 Emacs.
696
697 Maintaining Large Programs
698
699 * Version Control:: Version control systems (RCS, CVS and SCCS).
700 * Change Log:: Maintaining a change history for your program.
701 * Tags:: Go directly to any function in your program in one
702 command. Tags remembers which file it is in.
703 * Emerge:: A convenient way of merging two versions of a program.
704
705 Version Control
706
707 * Introduction to VC:: How version control works in general.
708 * VC Mode Line:: How the mode line shows version control status.
709 * Basic VC Editing:: How to edit a file under version control.
710 * Old Revisions:: Examining and comparing old revisions of files.
711 * Secondary VC Commands:: The commands used a little less frequently.
712 * Branches:: Multiple lines of development.
713 * Remote Repositories:: Efficient access to remote CVS servers.
714 * Revision Tags:: Symbolic names for revisions
715 * Miscellaneous VC:: Various other commands and features of VC.
716 * Customizing VC:: Variables that change VC's behavior.
717
718 Tags Tables
719
720 * Tag Syntax:: Tag syntax for various types of code and text files.
721 * Create Tags Table:: Creating a tags table with @code{etags}.
722 * Etags Regexps:: Create arbitrary tags using regular expressions.
723 * Select Tags Table:: How to visit a tags table.
724 * Find Tag:: Commands to find the definition of a specific tag.
725 * Tags Search:: Using a tags table for searching and replacing.
726 * List Tags:: Listing and finding tags defined in a file.
727
728 Abbrevs
729
730 * Abbrev Concepts:: Fundamentals of defined abbrevs.
731 * Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
732 * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
733 * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
734 * Saving Abbrevs:: Saving the entire list of abbrevs for another session.
735 * Dynamic Abbrevs:: Abbreviations for words already in the buffer.
736 * Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
737
738 @ifnottex
739 Editing Pictures
740
741 * Basic Picture:: Basic concepts and simple commands of Picture Mode.
742 * Insert in Picture:: Controlling direction of cursor motion
743 after "self-inserting" characters.
744 * Tabs in Picture:: Various features for tab stops and indentation.
745 * Rectangles in Picture:: Clearing and superimposing rectangles.
746 @end ifnottex
747
748 Sending Mail
749
750 * Mail Format:: Format of the mail being composed.
751 * Mail Headers:: Details of permitted mail header fields.
752 * Mail Aliases:: Abbreviating and grouping mail addresses.
753 * Mail Mode:: Special commands for editing mail being composed.
754 * Mail Amusements:: Distract the NSA's attention; add a fortune to a msg.
755 * Mail Methods:: Using alternative mail-composition methods.
756
757 Reading Mail with Rmail
758
759 * Rmail Basics:: Basic concepts of Rmail, and simple use.
760 * Rmail Scrolling:: Scrolling through a message.
761 * Rmail Motion:: Moving to another message.
762 * Rmail Deletion:: Deleting and expunging messages.
763 * Rmail Inbox:: How mail gets into the Rmail file.
764 * Rmail Files:: Using multiple Rmail files.
765 * Rmail Output:: Copying message out to files.
766 * Rmail Labels:: Classifying messages by labeling them.
767 * Rmail Attributes:: Certain standard labels, called attributes.
768 * Rmail Reply:: Sending replies to messages you are viewing.
769 * Rmail Summary:: Summaries show brief info on many messages.
770 * Rmail Sorting:: Sorting messages in Rmail.
771 * Rmail Display:: How Rmail displays a message; customization.
772 * Rmail Coding:: How Rmail handles decoding character sets.
773 * Rmail Editing:: Editing message text and headers in Rmail.
774 * Rmail Digest:: Extracting the messages from a digest message.
775 * Out of Rmail:: Converting an Rmail file to mailbox format.
776 * Rmail Rot13:: Reading messages encoded in the rot13 code.
777 * Movemail:: More details of fetching new mail.
778 * Remote Mailboxes:: Retrieving Mail from Remote Mailboxes.
779 * Other Mailbox Formats:: Retrieving Mail from Local Mailboxes in
780 Various Formats
781
782 Dired, the Directory Editor
783
784 * Dired Enter:: How to invoke Dired.
785 * Dired Navigation:: How to move in the Dired buffer.
786 * Dired Deletion:: Deleting files with Dired.
787 * Flagging Many Files:: Flagging files based on their names.
788 * Dired Visiting:: Other file operations through Dired.
789 * Marks vs Flags:: Flagging for deletion vs marking.
790 * Operating on Files:: How to copy, rename, print, compress, etc.
791 either one file or several files.
792 * Shell Commands in Dired:: Running a shell command on the marked files.
793 * Transforming File Names:: Using patterns to rename multiple files.
794 * Comparison in Dired:: Running `diff' by way of Dired.
795 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
796 * Subdir Switches:: Subdirectory switches in Dired.
797 * Subdirectory Motion:: Moving across subdirectories, and up and down.
798 * Hiding Subdirectories:: Making subdirectories visible or invisible.
799 * Dired Updating:: Discarding lines for files of no interest.
800 * Dired and Find:: Using `find' to choose the files for Dired.
801 * Wdired:: Operating on files by editing the Dired buffer.
802 * Image-Dired:: Viewing image thumbnails in Dired
803 * Misc Dired Features:: Various other features.
804
805 The Calendar and the Diary
806
807 * Calendar Motion:: Moving through the calendar; selecting a date.
808 * Scroll Calendar:: Bringing earlier or later months onto the screen.
809 * Counting Days:: How many days are there between two dates?
810 * General Calendar:: Exiting or recomputing the calendar.
811 * Writing Calendar Files:: Writing calendars to files of various formats.
812 * Holidays:: Displaying dates of holidays.
813 * Sunrise/Sunset:: Displaying local times of sunrise and sunset.
814 * Lunar Phases:: Displaying phases of the moon.
815 * Other Calendars:: Converting dates to other calendar systems.
816 * Diary:: Displaying events from your diary.
817 * Appointments:: Reminders when it's time to do something.
818 * Importing Diary:: Converting diary events to/from other formats.
819 * Daylight Saving:: How to specify when daylight saving time is active.
820 * Time Intervals:: Keeping track of time intervals.
821 * Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
822
823 Movement in the Calendar
824
825 * Calendar Unit Motion:: Moving by days, weeks, months, and years.
826 * Move to Beginning or End:: Moving to start/end of weeks, months, and years.
827 * Specified Dates:: Moving to the current date or another
828 specific date.
829
830 Conversion To and From Other Calendars
831
832 * Calendar Systems:: The calendars Emacs understands
833 (aside from Gregorian).
834 * To Other Calendar:: Converting the selected date to various calendars.
835 * From Other Calendar:: Moving to a date specified in another calendar.
836 * Mayan Calendar:: Moving to a date specified in a Mayan calendar.
837
838 The Diary
839
840 * Displaying the Diary:: Viewing diary entries and associated calendar dates.
841 * Format of Diary File:: Entering events in your diary.
842 * Date Formats:: Various ways you can specify dates.
843 * Adding to Diary:: Commands to create diary entries.
844 * Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc.
845
846 Gnus
847
848 * Buffers of Gnus:: The group, summary, and article buffers.
849 * Gnus Startup:: What you should know about starting Gnus.
850 * Summary of Gnus:: A short description of the basic Gnus commands.
851
852 Running Shell Commands from Emacs
853
854 * Single Shell:: How to run one shell command and return.
855 * Interactive Shell:: Permanent shell taking input via Emacs.
856 * Shell Mode:: Special Emacs commands used with permanent shell.
857 * Shell Prompts:: Two ways to recognize shell prompts.
858 * Shell History:: Repeating previous commands in a shell buffer.
859 * Directory Tracking:: Keeping track when the subshell changes directory.
860 * Shell Options:: Options for customizing Shell mode.
861 * Terminal emulator:: An Emacs window as a terminal emulator.
862 * Term Mode:: Special Emacs commands used in Term mode.
863 * Paging in Term:: Paging in the terminal emulator.
864 * Remote Host:: Connecting to another computer.
865 * Serial Terminal:: Connecting to a serial port.
866
867 Using Emacs as a Server
868
869 * Invoking emacsclient:: Connecting to the Emacs server.
870 * emacsclient Options:: Emacs client startup options.
871
872 Printing Hard Copies
873
874 * PostScript:: Printing buffers or regions as PostScript.
875 * PostScript Variables:: Customizing the PostScript printing commands.
876 * Printing Package:: An optional advanced printing interface.
877
878 Hyperlinking and Navigation Features
879
880 * Browse-URL:: Following URLs.
881 * Goto-address:: Activating URLs.
882 * FFAP:: Finding files etc. at point.
883
884 Customization
885
886 * Minor Modes:: Each minor mode is one feature you can turn on
887 independently of any others.
888 * Easy Customization:: Convenient way to browse and change user options.
889 * Variables:: Many Emacs commands examine Emacs variables
890 to decide what to do; by setting variables,
891 you can control their functioning.
892 * Key Bindings:: The keymaps say what command each key runs.
893 By changing them, you can "redefine keys".
894 * Syntax:: The syntax table controls how words and
895 expressions are parsed.
896 * Init File:: How to write common customizations in the
897 @file{.emacs} file.
898
899 Variables
900
901 * Examining:: Examining or setting one variable's value.
902 * Hooks:: Hook variables let you specify programs for parts
903 of Emacs to run on particular occasions.
904 * Locals:: Per-buffer values of variables.
905 * File Variables:: How files can specify variable values.
906
907 Customizing Key Bindings
908
909 * Keymaps:: Generalities. The global keymap.
910 * Prefix Keymaps:: Keymaps for prefix keys.
911 * Local Keymaps:: Major and minor modes have their own keymaps.
912 * Minibuffer Maps:: The minibuffer uses its own local keymaps.
913 * Rebinding:: How to redefine one key's meaning conveniently.
914 * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}.
915 * Modifier Keys:: Using modifier keys in key bindings.
916 * Function Keys:: Rebinding terminal function keys.
917 * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on.
918 * Mouse Buttons:: Rebinding mouse buttons in Emacs.
919 * Disabling:: Disabling a command means confirmation is required
920 before it can be executed. This is done to protect
921 beginners from surprises.
922
923 The Init File, @file{~/.emacs}
924
925 * Init Syntax:: Syntax of constants in Emacs Lisp.
926 * Init Examples:: How to do some things with an init file.
927 * Terminal Init:: Each terminal type can have an init file.
928 * Find Init:: How Emacs finds the init file.
929 * Init Non-ASCII:: Using non-@acronym{ASCII} characters in an init file.
930
931 Dealing with Emacs Trouble
932
933 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
934 * Stuck Recursive:: `[...]' in mode line around the parentheses.
935 * Screen Garbled:: Garbage on the screen.
936 * Text Garbled:: Garbage in the text.
937 * Memory Full:: How to cope when you run out of memory.
938 * After a Crash:: Recovering editing in an Emacs session that crashed.
939 * Emergency Escape:: Emergency escape---
940 What to do if Emacs stops responding.
941 * Total Frustration:: When you are at your wits' end.
942
943 Reporting Bugs
944
945 * Bug Criteria:: Have you really found a bug?
946 * Understanding Bug Reporting:: How to report a bug effectively.
947 * Checklist:: Steps to follow for a good bug report.
948 * Sending Patches:: How to send a patch for GNU Emacs.
949
950 Command Line Arguments for Emacs Invocation
951
952 * Action Arguments:: Arguments to visit files, load libraries,
953 and call functions.
954 * Initial Options:: Arguments that take effect while starting Emacs.
955 * Command Example:: Examples of using command line arguments.
956 * Resume Arguments:: Specifying arguments when you resume a running Emacs.
957 * Environment:: Environment variables that Emacs uses.
958 * Display X:: Changing the default display and using remote login.
959 * Font X:: Choosing a font for text, under X.
960 * Colors:: Choosing display colors.
961 * Window Size X:: Start-up window size, under X.
962 * Borders X:: Internal and external borders, under X.
963 * Title X:: Specifying the initial frame's title.
964 * Icons X:: Choosing what sort of icon to use, under X.
965 * Misc X:: Other display options.
966
967 Environment Variables
968
969 * General Variables:: Environment variables that all versions of Emacs use.
970 * Misc Variables:: Certain system specific variables.
971 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
972
973 X Options and Resources
974
975 * Resources:: Using X resources with Emacs (in general).
976 * Table of Resources:: Table of specific X resources that affect Emacs.
977 * Face Resources:: X resources for customizing faces.
978 * Lucid Resources:: X resources for Lucid menus.
979 * LessTif Resources:: X resources for LessTif and Motif menus.
980 * GTK resources:: Resources for GTK widgets.
981
982 Emacs and Mac OS
983
984 * Mac Input:: Keyboard and mouse input on Mac.
985 * Mac International:: International character sets on Mac.
986 * Mac Environment Variables:: Setting environment variables for Emacs.
987 * Mac Directories:: Volumes and directories on Mac.
988 * Mac Font Specs:: Specifying fonts on Mac.
989 * Mac Functions:: Mac-specific Lisp functions.
990
991 Emacs and Microsoft Windows/MS-DOS
992
993 * Text and Binary:: Text files use CRLF to terminate lines.
994 * Windows Files:: File-name conventions on Windows.
995 * ls in Lisp:: Emulation of @code{ls} for Dired.
996 * Windows HOME:: Where Emacs looks for your @file{.emacs}.
997 * Windows Keyboard:: Windows-specific keyboard features.
998 * Windows Mouse:: Windows-specific mouse features.
999 * Windows Processes:: Running subprocesses on Windows.
1000 * Windows Printing:: How to specify the printer on MS-Windows.
1001 * Windows Misc:: Miscellaneous Windows features.
1002 * MS-DOS:: Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}).
1003 @end detailmenu
1004 @end menu
1005
1006 @iftex
1007 @unnumbered Preface
1008
1009 This manual documents the use and simple customization of the Emacs
1010 editor. Simple Emacs customizations do not require you to be a
1011 programmer, but if you are not interested in customizing, you can
1012 ignore the customization hints.
1013
1014 This is primarily a reference manual, but can also be used as a
1015 primer. If you are new to Emacs, we recommend you start with
1016 the on-line, learn-by-doing tutorial, before reading the manual. To
1017 run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
1018 describes commands, tells you when to try them, and explains the
1019 results.
1020
1021 On first reading, just skim chapters 1 and 2, which describe the
1022 notational conventions of the manual and the general appearance of the
1023 Emacs display screen. Note which questions are answered in these
1024 chapters, so you can refer back later. After reading chapter 4, you
1025 should practice the commands shown there. The next few chapters
1026 describe fundamental techniques and concepts that are used constantly.
1027 You need to understand them thoroughly, so experiment with them
1028 until you are fluent.
1029
1030 Chapters 14 through 19 describe intermediate-level features that are
1031 useful for many kinds of editing. Chapter 20 and following chapters
1032 describe optional but useful features; read those chapters when you
1033 need them.
1034
1035 Read the Trouble chapter if Emacs does not seem to be working
1036 properly. It explains how to cope with several common problems
1037 (@pxref{Lossage}), as well as when and how to report Emacs bugs
1038 (@pxref{Bugs}).
1039
1040 To find the documentation of a particular command, look in the index.
1041 Keys (character commands) and command names have separate indexes.
1042 There is also a glossary, with a cross reference for each term.
1043
1044 This manual is available as a printed book and also as an Info file.
1045 The Info file is for on-line perusal with the Info program, which is
1046 the principal means of accessing on-line documentation in the GNU
1047 system. Both the Emacs Info file and an Info reader are included with
1048 GNU Emacs. The Info file and the printed book contain substantially
1049 the same text and are generated from the same source files, which are
1050 also distributed with GNU Emacs.
1051
1052 GNU Emacs is a member of the Emacs editor family. There are many
1053 Emacs editors, all sharing common principles of organization. For
1054 information on the underlying philosophy of Emacs and the lessons
1055 learned from its development, see @cite{Emacs, the Extensible,
1056 Customizable Self-Documenting Display Editor}, available from
1057 @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1058
1059 This edition of the manual is intended for use with GNU Emacs
1060 installed on GNU and Unix systems. GNU Emacs can also be used on
1061 MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems.
1062 Those systems use different file name syntax; in addition
1063 MS-DOS does not support all GNU Emacs features. @xref{Microsoft
1064 Windows}, for information about using Emacs on Windows.
1065 @xref{Mac OS}, for information about using Emacs on Macintosh.
1066 @end iftex
1067
1068 @node Distrib, Intro, Top, Top
1069 @unnumbered Distribution
1070
1071 GNU Emacs is @dfn{free software}; this means that everyone is free to
1072 use it and free to redistribute it on certain conditions. GNU Emacs
1073 is not in the public domain; it is copyrighted and there are
1074 restrictions on its distribution, but these restrictions are designed
1075 to permit everything that a good cooperating citizen would want to do.
1076 What is not allowed is to try to prevent others from further sharing
1077 any version of GNU Emacs that they might get from you. The precise
1078 conditions are found in the GNU General Public License that comes with
1079 Emacs and also appears in this manual@footnote{This manual is itself
1080 covered by the GNU Free Documentation License. This license is
1081 similar in spirit to the General Public License, but is more suitable
1082 for documentation. @xref{GNU Free Documentation License}.}.
1083 @xref{Copying}.
1084
1085 One way to get a copy of GNU Emacs is from someone else who has it.
1086 You need not ask for our permission to do so, or tell any one else;
1087 just copy it. If you have access to the Internet, you can get the
1088 latest distribution version of GNU Emacs by anonymous FTP; see
1089 @url{http://www.gnu.org/software/emacs} on our website for more
1090 information.
1091
1092 You may also receive GNU Emacs when you buy a computer. Computer
1093 manufacturers are free to distribute copies on the same terms that apply to
1094 everyone else. These terms require them to give you the full sources,
1095 including whatever changes they may have made, and to permit you to
1096 redistribute the GNU Emacs received from them under the usual terms of the
1097 General Public License. In other words, the program must be free for you
1098 when you get it, not just free for the manufacturer.
1099
1100 You can also order copies of GNU Emacs from the Free Software
1101 Foundation. This is a convenient and reliable way to get a copy; it is
1102 also a good way to help fund our work. We also sell hardcopy versions
1103 of this manual and @cite{An Introduction to Programming in Emacs Lisp},
1104 by Robert J. Chassell. You can find an order form on our web site at
1105 @url{http://www.gnu.org/order/order.html}. For further information,
1106 write to
1107
1108 @display
1109 Free Software Foundation
1110 51 Franklin Street, Fifth Floor
1111 Boston, MA 02110-1301
1112 USA
1113 @end display
1114
1115 The income from distribution fees goes to support the foundation's
1116 purpose: the development of new free software, and improvements to our
1117 existing programs including GNU Emacs.
1118
1119 If you find GNU Emacs useful, please @strong{send a donation} to the
1120 Free Software Foundation to support our work. Donations to the Free
1121 Software Foundation are tax deductible in the US. If you use GNU Emacs
1122 at your workplace, please suggest that the company make a donation. If
1123 company policy is unsympathetic to the idea of donating to charity, you
1124 might instead suggest ordering a CD-ROM from the Foundation
1125 occasionally, or subscribing to periodic updates.
1126
1127 @iftex
1128 @node Acknowledgments, Intro, Distrib, Top
1129 @unnumberedsec Acknowledgments
1130
1131 Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1132 Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf Angeli,
1133 Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli
1134 Barzilay, Steven L.@: Baur, Jay Belanger, Alexander L.@: Belikoff, Boaz
1135 Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim Blandy, Johan
1136 Bockg@aa{}rd, Per Bothner, Terrence Brannon, Frank Bresz, Peter Breton,
1137 Emmanuel Briot, Kevin Broadey, Vincent Broman, David M.@: Brown, Georges
1138 Brun-Cottan, Joe Buehler, W@l{}odek Bzyl, Bill Carpenter, Per
1139 Cederqvist, Hans Chalupsky, Chong Yidong, Chris Chase, Bob Chassell,
1140 Andrew Choi, Sacha Chua, James Clark, Mike Clarkson, Glynn Clements,
1141 Andrew Csillag, Doug Cutting, Mathias Dahl, Satyaki Das, Michael
1142 DeCorte, Gary Delp, Matthieu Devin, Eri Ding, Jan Dj@"{a}rv, Carsten
1143 Dominik, Scott Draves, Benjamin Drieu, Viktor Dukhovni, John Eaton, Rolf
1144 Ebert, Paul Eggert, Stephen Eglen, Torbj@"orn Einarsson, Tsugutomo
1145 Enami, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick
1146 Farnbach, Oscar Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Romain
1147 Francoise, Noah Friedman, Andreas Fuchs, Hallvard Furuseth, Keith
1148 Gabryelski, Peter S.@: Galbraith, Kevin Gallagher, Kevin Gallo, Juan
1149 Le@'{o}n Lahoz Garc@'{@dotless{i}}a, Howard Gayle, Stephen Gildea,
1150 Julien Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris
1151 Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann,
1152 Michael Gschwind, Henry Guillaume, Doug Gwyn, Ken'ichi Handa, Lars
1153 Hansen, Chris Hanson, K. Shane Hartman, John Heidemann, Jon K.@: Hellan,
1154 Jesper Harder, Markus Heritsch, Karl Heuer, Manabu Higashida, Anders
1155 Holst, Jeffrey C.@: Honig, Tassilo Horn, Kurt Hornik, Tom Houlder,
1156 Joakim Hove, Denis Howe, Lars Ingebrigtsen, Andrew Innes, Seiichiro
1157 Inoue, Pavel Janik, Paul Jarc, Ulf Jasper, Michael K. Johnson, Kyle
1158 Jones, Terry Jones, Simon Josefsson, Arne J@o{}rgensen, Tomoji Kagatani,
1159 Brewster Kahle, Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz,
1160 Taichi Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter
1161 Kleiweg, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: Kolodney, David
1162 M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian Kremer,
1163 Ryszard Kubiak, Geoff Kuenning, David K@aa{}gedal, Daniel LaLiberte,
1164 Mario Lang, Aaron Larson, James R.@: Larus, Vinicius Jose Latorre,
1165 Werner Lemberg, Frederic Lepied, Peter Liljenberg, Lars Lindberg, Chris
1166 Lindblad, Anders Lindgren, Thomas Link, Juri Linkov, Francis Litterio,
1167 Emilio C. Lopes, Dave Love, Sascha L@"{u}decke, Eric Ludlam,Alan
1168 Mackenzie, Christopher J.@: Madsen, Neil M.@: Mager, Ken Manheimer, Bill
1169 Mann, Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin,
1170 Thomas May, Roland McGrath, Will Mengarini, David Megginson, Ben
1171 A. Mesander, Wayne Mesard, Brad Miller, Lawrence Mitchell, Richard
1172 Mlynarik, Gerd Moellmann, Stefan Monnier, Morioka Tomohiko, Keith Moore,
1173 Glenn Morris, Diane Murray, Sen Nagata, Erik Naggum, Thomas Neumann,
1174 Thien-Thi Nguyen, Mike Newton, Jurgen Nickelsen, Dan Nicolaescu, Hrvoje
1175 Niksic, Jeff Norden, Andrew Norman, Alexandre Oliva, Bob Olson, Michael
1176 Olson, Takaaki Ota, Pieter E.@: J.@: Pareit, David Pearson, Jeff Peck,
1177 Damon Anton Permezel, Tom Perrine, William M.@: Perry, Per Persson, Jens
1178 Petersen, Daniel Pfeiffer, Richard L.@: Pieri, Fred Pierresteguy,
1179 Christian Plaunt, David Ponce, Francesco A.@: Potorti, Michael
1180 D. Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin Ram, Eric
1181 S. Raymond, Paul Reilly, Edward M. Reingold, Alex Rezinsky, Rob Riepel,
1182 David Reitter, Nick Roberts, Roland B.@: Roberts, John Robinson, Danny
1183 Roozendaal, William Rosenblatt, Guillermo J.@: Rozas, Martin Rudalics,
1184 Ivar Rummelhoff, Jason Rumney, Wolfgang Rupprecht, Kevin Ryde, James
1185 B. Salem, Masahiko Sato, Jorgen Schaefer, Holger Schauer, William
1186 Schelter, Ralph Schleicher, Gregor Schmid, Michael Schmidt, Ronald
1187 S. Schnell, Philippe Schnoebelen, Jan Schormann, Alex Schroeder, Stephen
1188 Schoef, Raymond Scholz, Randal Schwartz, Oliver Seidel, Manuel Serrano,
1189 Hovav Shacham, Stanislav Shalunov, Marc Shapiro, Richard Sharman, Olin
1190 Shivers, Espen Skoglund, Rick Sladkey, Lynn Slater, Chris Smith, David
1191 Smith, Paul D.@: Smith, Andre Spiegel, Michael Staats, William
1192 Sommerfeld, Michael Staats, Reiner Steib, Sam Steingold, Ake Stenhoff,
1193 Peter Stephenson, Ken Stevens, Jonathan Stigelman, Martin Stjernholm,
1194 Kim F.@: Storm, Steve Strassman, Olaf Sylvester, Naoto Takahashi, Steven
1195 Tamm, Jean-Philippe Theberge, Jens T.@: Berger Thielemann, Spencer
1196 Thomas, Jim Thompson, Luc Teirlinck, Tom Tromey, Enami Tsugutomo, Eli
1197 Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil W.@:
1198 Van Dyke, Didier Verna, Ulrik Vieth, Geoffrey Voelker, Johan Vromans,
1199 Inge Wallin, John Paul Wallington, Colin Walters, Barry Warsaw, Morten
1200 Welinder, Joseph Brian Wells, Rodney Whitby, John Wiegley, Ed Wilkinson,
1201 Mike Williams, Bill Wohler, Steven A. Wood, Dale R.@: Worley, Francis
1202 J.@: Wright, Felix S. T. Wu, Tom Wurgler, Katsumi Yamaoka, Masatake
1203 Yamato, Jonathan Yavner, Ryan Yeske, Ilya Zakharevich, Milan Zamazal,
1204 Victor Zandy, Eli Zaretskii, Jamie Zawinski, Shenghuo Zhu, Ian T.@:
1205 Zimmermann, Reto Zimmermann, Neal Ziring, Teodor Zlatanov, and Detlev
1206 Zundel.
1207 @end iftex
1208
1209 @node Intro, Glossary, Distrib, Top
1210 @unnumbered Introduction
1211
1212 You are reading about GNU Emacs, the GNU incarnation of the
1213 advanced, self-documenting, customizable, extensible editor Emacs.
1214 (The `G' in `GNU' is not silent.)
1215
1216 We call Emacs @dfn{advanced} because it can do much more than simple
1217 insertion and deletion of text. It can control subprocesses, indent
1218 programs automatically, show two or more files at once, and more.
1219 Emacs editing commands operate in terms of characters, words, lines,
1220 sentences, paragraphs, and pages, as well as expressions and comments
1221 in various programming languages.
1222
1223 @dfn{Self-documenting} means that at any time you can use special
1224 commands, known as @dfn{help commands}, to find out what your options
1225 are, or to find out what what any command does, or to find all the
1226 commands that pertain to a given topic. @xref{Help}.
1227
1228 @dfn{Customizable} means that you can easily alter the behavior of
1229 Emacs commands in simple ways. For instance, if you use a programming
1230 language in which comments start with @samp{<**} and end with
1231 @samp{**>}, you can tell the Emacs comment manipulation commands to
1232 use those strings (@pxref{Comments}). To take another example, you
1233 can rebind the basic cursor motion commands (up, down, left and right)
1234 to any keys on the keyboard that you find comfortable.
1235 @xref{Customization}.
1236
1237 @dfn{Extensible} means that you can go beyond simple customization
1238 and create entirely new commands. New commands are simply programs
1239 written in the Lisp language, which are run by Emacs's own Lisp
1240 interpreter. Existing commands can even be redefined in the middle of
1241 an editing session, without having to restart Emacs. Most of the
1242 editing commands in Emacs are written in Lisp; the few exceptions
1243 could have been written in Lisp but use C instead for efficiency.
1244 Writing an extension is programming, but non-programmers can use it
1245 afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1246 Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1247 Lisp programming.
1248
1249 @include screen.texi
1250 @include commands.texi
1251 @include entering.texi
1252 @include basic.texi
1253 @include mini.texi
1254 @include m-x.texi
1255 @include help.texi
1256 @include mark.texi
1257 @include killing.texi
1258 @include regs.texi
1259 @include display.texi
1260 @include search.texi
1261 @include fixit.texi
1262 @include kmacro.texi
1263 @include files.texi
1264 @include buffers.texi
1265 @include windows.texi
1266 @include frames.texi
1267 @include mule.texi
1268 @include major.texi
1269 @include indent.texi
1270 @include text.texi
1271 @include programs.texi
1272 @include building.texi
1273 @include maintaining.texi
1274 @include abbrevs.texi
1275 @ifnottex
1276 @include picture-xtra.texi
1277 @end ifnottex
1278 @include sending.texi
1279 @include rmail.texi
1280 @include dired.texi
1281 @include calendar.texi
1282 @include misc.texi
1283 @include custom.texi
1284 @include trouble.texi
1285
1286 @node Copying, GNU Free Documentation License, Service, Top
1287 @appendix GNU GENERAL PUBLIC LICENSE
1288 @include gpl.texi
1289
1290 @node GNU Free Documentation License, Emacs Invocation, Copying, Top
1291 @appendix GNU Free Documentation License
1292 @include doclicense.texi
1293
1294 @include cmdargs.texi
1295 @include xresources.texi
1296
1297 @include anti.texi
1298 @include macos.texi
1299 @include msdog.texi
1300 @include gnu.texi
1301 @include glossary.texi
1302 @ifnottex
1303 @include ack.texi
1304 @end ifnottex
1305
1306 @c The Option Index is produced only in the on-line version,
1307 @c because the index entries related to command-line options
1308 @c tend to point to the same pages and all begin with a dash.
1309 @c This, and the need to keep the node links consistent, are
1310 @c the reasons for the funky @iftex/@ifnottex dance below.
1311 @c The Option Index is _not_ before Key Index, because that
1312 @c would require changes in the glossary.texi's @node line.
1313 @c It is not after Concept Index for similar reasons.
1314
1315 @iftex
1316 @node Key Index, Command Index, Glossary, Top
1317 @unnumbered Key (Character) Index
1318 @printindex ky
1319 @end iftex
1320
1321 @ifnottex
1322 @node Key Index, Option Index, Glossary, Top
1323 @unnumbered Key (Character) Index
1324 @printindex ky
1325
1326 @node Option Index, Command Index, Key Index, Top
1327 @unnumbered Command-Line Options Index
1328 @printindex op
1329
1330 @node Command Index, Variable Index, Option Index, Top
1331 @unnumbered Command and Function Index
1332 @printindex fn
1333 @end ifnottex
1334
1335 @iftex
1336 @node Command Index, Variable Index, Key Index, Top
1337 @unnumbered Command and Function Index
1338 @printindex fn
1339 @end iftex
1340
1341 @node Variable Index, Concept Index, Command Index, Top
1342 @unnumbered Variable Index
1343 @printindex vr
1344
1345 @node Concept Index, Acknowledgments, Variable Index, Top
1346 @unnumbered Concept Index
1347 @printindex cp
1348
1349 @bye
1350
1351 @ignore
1352 arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392
1353 @end ignore