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