Merge from emacs--rel--22
[emacs.git] / doc / emacs / emacs.texi
blob28b72eb5c136bba4aaed44b317f01f752999770b
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.60
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
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.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.''
28 (a) The FSF's Back-Cover Text is: ``You are free to copy and modify
29 this GNU Manual. Buying copies from GNU Press supports the FSF 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 Snapshots
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 @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.
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.
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 * Text Characters::     Character set for text (the contents of buffers
164                           and strings).
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 * Gnus::                How to read netnews with Emacs.
213 * Shell::               Executing shell commands from Emacs.
214 * Emacs Server::        Using Emacs as an editing server for @code{mail}, etc.
215 * Printing::            Printing hardcopies of buffers or regions.
216 * Sorting::             Sorting lines, paragraphs or pages within Emacs.
217 * Narrowing::           Restricting display and editing to a portion
218                           of the buffer.
219 * Two-Column::          Splitting apart columns to edit them
220                           in side-by-side windows.
221 * Editing Binary Files::Using Hexl mode to edit binary files.
222 * Saving Emacs Sessions:: Saving Emacs state from one session to the next.
223 * Recursive Edit::      A command can allow you to do editing
224                           "within the command".  This is called a
225                           "recursive editing level".
226 * Emulation::           Emulating some other editors with Emacs.
227 * Hyperlinking::        Following links in buffers.
228 * Dissociated Press::   Dissociating text for fun.
229 * Amusements::          Various games and hacks.
230 * Customization::       Modifying the behavior of Emacs.
231 * X Resources::         X resources for customizing Emacs.
233 Recovery from Problems
234 * Quitting::            Quitting and aborting.
235 * Lossage::             What to do if Emacs is hung or malfunctioning.
236 * Bugs::                How and when to report a bug.
237 * Contributing::        How to contribute improvements to Emacs.
238 * Service::             How to get help for your own Emacs needs.
240 @c Do NOT modify the following 3 lines!  They must have this form to
241 @c be correctly identified by `texinfo-multiple-files-update'.  In
242 @c particular, the detailed menu header line MUST be identical to the
243 @c value of `texinfo-master-menu-header'.  See texnfo-upd.el.
245 @detailmenu
246  --- The Detailed Node Listing ---
247  ---------------------------------
249 Here are some other nodes which are really inferiors of the ones
250 already listed, mentioned here so you can get to them in one step:
252 The Organization of the Screen
254 * Point::               The place in the text where editing commands operate.
255 * Echo Area::           Short messages appear at the bottom of the screen.
256 * Mode Line::           Interpreting the mode line.
257 * Menu Bar::            How to use the menu bar.
259 Basic Editing Commands
261 * Inserting Text::      Inserting text by simply typing it.
262 * Moving Point::        How to move the cursor to the place where you want to
263                           change something.
264 * Erasing::             Deleting and killing text.
265 * Basic Undo::          Undoing recent changes in the text.
266 * Basic Files::         Visiting, creating, and saving files.
267 * Basic Help::          Asking what a character does.
268 * Blank Lines::         Commands to make or delete blank lines.
269 * Continuation Lines::  Lines too wide for the screen.
270 * Position Info::       What page, line, row, or column is point on?
271 * Arguments::           Numeric arguments for repeating a command.
272 * Repeating::           A short-cut for repeating the previous command.
274 The Minibuffer
276 * Minibuffer File::     Entering file names with the minibuffer.
277 * Minibuffer Edit::     How to edit in the minibuffer.
278 * Completion::          An abbreviation facility for minibuffer input.
279 * Minibuffer History::  Reusing recent minibuffer arguments.
280 * Repetition::          Re-executing commands that used the minibuffer.
282 Completion
284 * Example: Completion Example.    Examples of using completion.
285 * Commands: Completion Commands.  A list of completion commands.
286 * Strict Completion::             Different types of completion.
287 * Options: Completion Options.    Options for completion.
289 Help
291 * Help Summary::        Brief list of all Help commands.
292 * Key Help::            Asking what a key does in Emacs.
293 * Name Help::           Asking about a command, variable or function name.
294 * Apropos::             Asking what pertains to a given topic.
295 * Help Mode::           Special features of Help mode and Help buffers.
296 * Library Keywords::    Finding Lisp libraries by keywords (topics).
297 * Language Help::       Help relating to international language support.
298 * Misc Help::           Other help commands.
299 * Help Files::          Commands to display pre-written help files.
300 * Help Echo::           Help on active text and tooltips (`balloon help')
302 The Mark and the Region
304 * Setting Mark::        Commands to set the mark.
305 * Marking Objects::     Commands to put region around textual units.
306 * Using Region::        Summary of ways to operate on contents of the region.
307 * Persistent Mark::     Keeping the mark active all the time.
308 * Mark Ring::           Previous mark positions saved so you can go back there.
309 * Global Mark Ring::    Previous mark positions in various buffers.
311 Killing and Moving Text
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.
321 Yanking
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.
327 Registers
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.
337 Controlling the Display
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 * Font Lock::              Minor mode for syntactic highlighting using faces.
346 * Highlight Interactively:: Tell Emacs what text to highlight.
347 * Fringes::                Enabling or disabling window fringes.
348 * Displaying Boundaries::  Displaying top and bottom of the buffer.
349 * Useless Whitespace::     Showing possibly-spurious trailing whitespace.
350 * Selective Display::      Hiding lines with lots of indentation.
351 * Optional Mode Line::     Optional mode line display features.
352 * Text Display::           How text characters are normally displayed.
353 * Cursor Display::         Features for displaying the cursor.
354 * Line Truncation::        Truncating lines to fit the screen width instead
355                              of continuing them to multiple screen lines.
356 * Display Custom::         Information on variables for customizing display.
358 Searching and Replacement
360 * Incremental Search::     Search happens as you type the string.
361 * Nonincremental Search::  Specify entire string and then search.
362 * Word Search::            Search for sequence of words.
363 * Regexp Search::          Search for match for a regexp.
364 * Regexps::                Syntax of regular expressions.
365 * Regexp Backslash::       Regular expression constructs starting with `\'.
366 * Regexp Example::         A complex regular expression explained.
367 * Search Case::            To ignore case while searching, or not.
368 * Replace::                Search, and replace some or all matches.
369 * Other Repeating Search:: Operating on all matches for some regexp.
371 Incremental Search
373 * Basic Isearch::       Basic incremental search commands.
374 * Repeat Isearch::      Searching for the same string again.
375 * Error in Isearch::    When your string is not found.
376 * Special Isearch::     Special input in incremental search.
377 * Non-ASCII Isearch::   How to search for non-ASCII characters.
378 * Isearch Yank::        Commands that grab text into the search string
379                           or else edit the search string.
380 * Highlight Isearch::   Isearch highlights the other possible matches.
381 * Isearch Scroll::      Scrolling during an incremental search.
382 * Slow Isearch::        Incremental search features for slow terminals.
384 Replacement Commands
386 * Unconditional Replace::  Replacing all matches for a string.
387 * Regexp Replace::         Replacing all matches for a regexp.
388 * Replacement and Case::   How replacements preserve case of letters.
389 * Query Replace::          How to use querying.
391 Commands for Fixing Typos
393 * Undo::                Full details of Emacs undo commands.
394 * Kill Errors::         Commands to kill a batch of recently entered text.
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.
399 Keyboard Macros
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.
410 File Handling
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 * Version Control::     Version control systems (RCS, CVS and SCCS).
420 * Directories::         Creating, deleting, and listing file directories.
421 * Comparing Files::     Finding where two files differ.
422 * Diff Mode::           Editing diff output.
423 * Misc File Ops::       Other things you can do on files.
424 * Compressed Files::    Accessing compressed files.
425 * File Archives::       Operating on tar, zip, jar etc. archive files.
426 * Remote Files::        Accessing files on other sites.
427 * Quoted File Names::   Quoting special characters in file names.
428 * File Name Cache::     Completion against a list of files you often use.
429 * File Conveniences::   Convenience Features for Finding Files.
430 * Filesets::            Handling sets of files.
432 Saving Files
434 * Save Commands::       Commands for saving files.
435 * Backup::              How Emacs saves the old version of your file.
436 * Customize Save::      Customizing the saving of files.
437 * Interlocking::        How Emacs protects against simultaneous editing
438                           of one file by two users.
439 * File Shadowing::      Copying files to "shadows" automatically.
440 * Time Stamps::         Emacs can update time stamps on saved files.
442 Backup Files
444 * One or Many: Numbered Backups. Whether to make one backup file or many.
445 * Names: Backup Names.          How backup files are named.
446 * Deletion: Backup Deletion.    Emacs deletes excess numbered backups.
447 * Copying: Backup Copying.      Backups can be made by copying or renaming.
449 Auto-Saving: Protection Against Disasters
451 * Files: Auto Save Files.       The file where auto-saved changes are
452                                   actually made until you save the file.
453 * Control: Auto Save Control.   Controlling when and how often to auto-save.
454 * Recover::                     Recovering text from auto-save files.
456 Version Control
458 * Introduction to VC::  How version control works in general.
459 * VC Mode Line::        How the mode line shows version control status.
460 * Basic VC Editing::    How to edit a file under version control.
461 * Old Revisions::       Examining and comparing old revisions of files.
462 * Secondary VC Commands:: The commands used a little less frequently.
463 * Branches::            Multiple lines of development.
464 * Remote Repositories:: Efficient access to remote CVS servers.
465 * Snapshots::           Sets of file versions treated as a unit.
466 * Miscellaneous VC::    Various other commands and features of VC.
467 * Customizing VC::      Variables that change VC's behavior.
469 Using Multiple Buffers
471 * Select Buffer::       Creating a new buffer or reselecting an old one.
472 * List Buffers::        Getting a list of buffers that exist.
473 * Misc Buffer::         Renaming; changing read-onliness; copying text.
474 * Kill Buffer::         Killing buffers you no longer need.
475 * Several Buffers::     How to go through the list of all buffers
476                           and operate variously on several of them.
477 * Indirect Buffers::    An indirect buffer shares the text of another buffer.
478 * Buffer Convenience::  Convenience and customization features for
479                           buffer handling.
481 Multiple Windows
483 * Basic Window::        Introduction to Emacs windows.
484 * Split Window::        New windows are made by splitting existing windows.
485 * Other Window::        Moving to another window or doing something to it.
486 * Pop Up Window::       Finding a file or buffer in another window.
487 * Force Same Window::   Forcing certain buffers to appear in the selected
488                           window rather than in another window.
489 * Change Window::       Deleting windows and changing their sizes.
490 * Window Convenience::  Convenience functions for window handling.
492 Frames and Graphical Displays
494 * Cut and Paste::       Mouse commands for cut and paste.
495 * Mouse References::    Using the mouse to select an item from a list.
496 * Menu Mouse Clicks::   Mouse clicks that bring up menus.
497 * Mode Line Mouse::     Mouse clicks on the mode line.
498 * Creating Frames::     Creating additional Emacs frames with various contents.
499 * Frame Commands::      Iconifying, deleting, and switching frames.
500 * Speedbar::            How to make and use a speedbar frame.
501 * Multiple Displays::   How one Emacs job can talk to several displays.
502 * Special Buffer Frames::  You can make certain buffers have their own frames.
503 * Frame Parameters::    Changing the colors and other modes of frames.
504 * Scroll Bars::         How to enable and disable scroll bars; how to use them.
505 * Wheeled Mice::        Using mouse wheels for scrolling.
506 * Drag and Drop::       Using drag and drop to open files and insert text.
507 * Menu Bars::           Enabling and disabling the menu bar.
508 * Tool Bars::           Enabling and disabling the tool bar.
509 * Dialog Boxes::        Controlling use of dialog boxes.
510 * Tooltips::            Showing "tooltips", AKA "balloon help" for active text.
511 * Mouse Avoidance::     Moving the mouse pointer out of the way.
512 * Non-Window Terminals::  Multiple frames on terminals that show only one.
513 * Text-Only Mouse::     Using the mouse in text-only terminals.
515 International Character Set Support
517 * International Chars::     Basic concepts of multibyte characters.
518 * Enabling Multibyte::      Controlling whether to use multibyte characters.
519 * Language Environments::   Setting things up for the language you use.
520 * Input Methods::           Entering text characters not on your keyboard.
521 * Select Input Method::     Specifying your choice of input methods.
522 * Multibyte Conversion::    How single-byte characters convert to multibyte.
523 * Coding Systems::          Character set conversion when you read and
524                               write files, and so on.
525 * Recognize Coding::        How Emacs figures out which conversion to use.
526 * Specify Coding::          Specifying a file's coding system explicitly.
527 * Output Coding::           Choosing coding systems for output.
528 * Text Coding::             Choosing conversion to use for file text.
529 * Communication Coding::    Coding systems for interprocess communication.
530 * File Name Coding::        Coding systems for file @emph{names}.
531 * Terminal Coding::         Specifying coding systems for converting
532                               terminal input and output.
533 * Fontsets::                Fontsets are collections of fonts
534                               that cover the whole spectrum of characters.
535 * Defining Fontsets::       Defining a new fontset.
536 * Undisplayable Characters::When characters don't display.
537 * Unibyte Mode::            You can pick one European character set
538                               to use without multibyte characters.
539 * Charsets::                How Emacs groups its internal character codes.
541 Major Modes
543 * Choosing Modes::      How major modes are specified or chosen.
545 Indentation
547 * Indentation Commands::  Various commands and techniques for indentation.
548 * Tab Stops::             You can set arbitrary "tab stops" and then
549                             indent to the next tab stop when you want to.
550 * Just Spaces::           You can request indentation using just spaces.
552 Commands for Human Languages
554 * Words::               Moving over and killing words.
555 * Sentences::           Moving over and killing sentences.
556 * Paragraphs::          Moving over paragraphs.
557 * Pages::               Moving over pages.
558 * Filling::             Filling or justifying text.
559 * Case::                Changing the case of text.
560 * Text Mode::           The major modes for editing text files.
561 * Outline Mode::        Editing outlines.
562 * TeX Mode::            Editing input to the formatter TeX.
563 * HTML Mode::           Editing HTML, SGML, and XML files.
564 * Nroff Mode::          Editing input to the formatter nroff.
565 * Formatted Text::      Editing formatted text directly in WYSIWYG fashion.
566 * Text Based Tables::   Editing text-based tables in WYSIWYG fashion.
568 Filling Text
570 * Auto Fill::           Auto Fill mode breaks long lines automatically.
571 * Refill::              Keeping paragraphs filled.
572 * Fill Commands::       Commands to refill paragraphs and center lines.
573 * Fill Prefix::         Filling paragraphs that are indented
574                           or in a comment, etc.
575 * Adaptive Fill::       How Emacs can determine the fill prefix automatically.
576 * Longlines::           Editing text with very long lines.
578 Outline Mode
580 * Format: Outline Format.          What the text of an outline looks like.
581 * Motion: Outline Motion.          Special commands for moving through
582                                      outlines.
583 * Visibility: Outline Visibility.  Commands to control what is visible.
584 * Views: Outline Views.            Outlines and multiple views.
585 * Foldout::                        Folding means zooming in on outlines.
587 @TeX{} Mode
589 * Editing: TeX Editing.   Special commands for editing in TeX mode.
590 * LaTeX: LaTeX Editing.   Additional commands for LaTeX input files.
591 * Printing: TeX Print.    Commands for printing part of a file with TeX.
592 * Misc: TeX Misc.         Customization of TeX mode, and related features.
594 Editing Formatted Text
596 * Requesting Formatted Text::   Entering and exiting Enriched mode.
597 * Hard and Soft Newlines::      There are two different kinds of newlines.
598 * Editing Format Info::         How to edit text properties.
599 * Faces: Format Faces.          Bold, italic, underline, etc.
600 * Color: Format Colors.         Changing the color of text.
601 * Indent: Format Indentation.   Changing the left and right margins.
602 * Justification: Format Justification.
603                                 Centering, setting text flush with the
604                                   left or right margin, etc.
605 * Other: Format Properties.     The "special" text properties submenu.
606 * Forcing Enriched Mode::       How to force use of Enriched mode.
608 Editing Text-based Tables
610 * Table Definition::    What is a text based table.
611 * Table Creation::      How to create a table.
612 * Table Recognition::   How to activate and deactivate tables.
613 * Cell Commands::       Cell-oriented commands in a table.
614 * Cell Justification::  Justifying cell contents.
615 * Row Commands::        Manipulating rows of table cell.
616 * Column Commands::     Manipulating columns of table cell.
617 * Fixed Width Mode::    Fixing cell width.
618 * Table Conversion::    Converting between plain text and tables.
619 * Measuring Tables::    Analyzing table dimension.
620 * Table Misc::          Table miscellany.
622 Editing Programs
624 * Program Modes::       Major modes for editing programs.
625 * Defuns::              Commands to operate on major top-level parts
626                           of a program.
627 * Program Indent::      Adjusting indentation to show the nesting.
628 * Parentheses::         Commands that operate on parentheses.
629 * Comments::            Inserting, killing, and aligning comments.
630 * Documentation::       Getting documentation of functions you plan to call.
631 * Hideshow::            Displaying blocks selectively.
632 * Symbol Completion::   Completion on symbol names of your program or language.
633 * Glasses::             Making identifiersLikeThis more readable.
634 * Misc for Programs::   Other Emacs features useful for editing programs.
635 * C Modes::             Special commands of C, C++, Objective-C,
636                           Java, and Pike modes.
637 * Asm Mode::            Asm mode and its special features.
638 * Fortran::             Fortran mode and its special features.
640 Top-Level Definitions, or Defuns
642 * Left Margin Paren::   An open-paren or similar opening delimiter
643                           starts a defun if it is at the left margin.
644 * Moving by Defuns::    Commands to move over or mark a major definition.
645 * Imenu::               Making buffer indexes as menus.
646 * Which Function::      Which Function mode shows which function you are in.
648 Indentation for Programs
650 * Basic Indent::        Indenting a single line.
651 * Multi-line Indent::   Commands to reindent many lines at once.
652 * Lisp Indent::         Specifying how each Lisp function should be indented.
653 * C Indent::            Extra features for indenting C and related modes.
654 * Custom C Indent::     Controlling indentation style for C and related modes.
656 Commands for Editing with Parentheses
658 * Expressions::         Expressions with balanced parentheses.
659 * Moving by Parens::    Commands for moving up, down and across
660                           in the structure of parentheses.
661 * Matching::            Insertion of a close-delimiter flashes matching open.
663 Manipulating Comments
665 * Comment Commands::    Inserting, killing, and aligning comments.
666 * Multi-Line Comments:: Commands for adding and editing multi-line comments.
667 * Options for Comments::Customizing the comment features.
669 Documentation Lookup
671 * Info Lookup::         Looking up library functions and commands
672                           in Info files.
673 * Man Page::            Looking up man pages of library functions and commands.
674 * Lisp Doc::            Looking up Emacs Lisp functions, etc.
676 C and Related Modes
678 * Motion in C::         Commands to move by C statements, etc.
679 * Electric C::          Colon and other chars can automatically reindent.
680 * Hungry Delete::       A more powerful DEL command.
681 * Other C Commands::    Filling comments, viewing expansion of macros,
682                           and other neat features.
684 Compiling and Testing Programs
686 * Compilation::         Compiling programs in languages other
687                           than Lisp (C, Pascal, etc.).
688 * Compilation Mode::    The mode for visiting compiler errors.
689 * Compilation Shell::   Customizing your shell properly
690                           for use in the compilation buffer.
691 * Grep Searching::      Searching with grep.
692 * Flymake::             Finding syntax errors on the fly.
693 * Debuggers::           Running symbolic debuggers for non-Lisp programs.
694 * Executing Lisp::      Various modes for editing Lisp programs,
695                           with different facilities for running
696                           the Lisp programs.
697 * Lisp Libraries::      Creating Lisp programs to run in Emacs.
698 * Lisp Eval::           Executing a single Lisp expression in Emacs.
699 * Lisp Interaction::    Executing Lisp in an Emacs buffer.
700 * External Lisp::       Communicating through Emacs with a separate Lisp.
702 Running Debuggers Under Emacs
704 * Starting GUD::        How to start a debugger subprocess.
705 * Debugger Operation::  Connection between the debugger and source buffers.
706 * Commands of GUD::     Key bindings for common commands.
707 * GUD Customization::   Defining your own commands for GUD.
708 * GDB Graphical Interface::  An enhanced mode that uses GDB features to
709                           implement a graphical debugging environment through
710                           Emacs.
712 Maintaining Large Programs
714 * Change Log::          Maintaining a change history for your program.
715 * Format of ChangeLog:: What the change log file looks like.
716 * Tags::                Go directly to any function in your program in one
717                           command.  Tags remembers which file it is in.
718 * Emerge::              A convenient way of merging two versions of a program.
720 Tags Tables
722 * Tag Syntax::          Tag syntax for various types of code and text files.
723 * Create Tags Table::   Creating a tags table with @code{etags}.
724 * Etags Regexps::       Create arbitrary tags using regular expressions.
725 * Select Tags Table::   How to visit a tags table.
726 * Find Tag::            Commands to find the definition of a specific tag.
727 * Tags Search::         Using a tags table for searching and replacing.
728 * List Tags::           Listing and finding tags defined in a file.
730 Abbrevs
732 * Abbrev Concepts::     Fundamentals of defined abbrevs.
733 * Defining Abbrevs::    Defining an abbrev, so it will expand when typed.
734 * Expanding Abbrevs::   Controlling expansion: prefixes, canceling expansion.
735 * Editing Abbrevs::     Viewing or editing the entire list of defined abbrevs.
736 * Saving Abbrevs::      Saving the entire list of abbrevs for another session.
737 * Dynamic Abbrevs::     Abbreviations for words already in the buffer.
738 * Dabbrev Customization:: What is a word, for dynamic abbrevs.  Case handling.
740 @ifnottex
741 Editing Pictures
743 * Basic Picture::         Basic concepts and simple commands of Picture Mode.
744 * Insert in Picture::     Controlling direction of cursor motion
745                             after "self-inserting" characters.
746 * Tabs in Picture::       Various features for tab stops and indentation.
747 * Rectangles in Picture:: Clearing and superimposing rectangles.
748 @end ifnottex
750 Sending Mail
752 * Mail Format::         Format of the mail being composed.
753 * Mail Headers::        Details of permitted mail header fields.
754 * Mail Aliases::        Abbreviating and grouping mail addresses.
755 * Mail Mode::           Special commands for editing mail being composed.
756 * Mail Amusements::     Distract the NSA's attention; add a fortune to a msg.
757 * Mail Methods::        Using alternative mail-composition methods.
759 Reading Mail with Rmail
761 * Rmail Basics::        Basic concepts of Rmail, and simple use.
762 * Rmail Scrolling::     Scrolling through a message.
763 * Rmail Motion::        Moving to another message.
764 * Rmail Deletion::      Deleting and expunging messages.
765 * Rmail Inbox::         How mail gets into the Rmail file.
766 * Rmail Files::         Using multiple Rmail files.
767 * Rmail Output::        Copying message out to files.
768 * Rmail Labels::        Classifying messages by labeling them.
769 * Rmail Attributes::    Certain standard labels, called attributes.
770 * Rmail Reply::         Sending replies to messages you are viewing.
771 * Rmail Summary::       Summaries show brief info on many messages.
772 * Rmail Sorting::       Sorting messages in Rmail.
773 * Rmail Display::       How Rmail displays a message; customization.
774 * Rmail Coding::        How Rmail handles decoding character sets.
775 * Rmail Editing::       Editing message text and headers in Rmail.
776 * Rmail Digest::        Extracting the messages from a digest message.
777 * Out of Rmail::        Converting an Rmail file to mailbox format.
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 Gnus
850 * Buffers of Gnus::     The group, summary, and article buffers.
851 * Gnus Startup::        What you should know about starting Gnus.
852 * Summary of Gnus::     A short description of the basic Gnus commands.
854 Running Shell Commands from Emacs
856 * Single Shell::        How to run one shell command and return.
857 * Interactive Shell::   Permanent shell taking input via Emacs.
858 * Shell Mode::          Special Emacs commands used with permanent shell.
859 * Shell Prompts::       Two ways to recognize shell prompts.
860 * Shell History::       Repeating previous commands in a shell buffer.
861 * Directory Tracking::  Keeping track when the subshell changes directory.
862 * Shell Options::       Options for customizing Shell mode.
863 * Terminal emulator::   An Emacs window as a terminal emulator.
864 * Term Mode::           Special Emacs commands used in Term mode.
865 * Paging in Term::      Paging in the terminal emulator.
866 * Remote Host::         Connecting to another computer.
868 Using Emacs as a Server
870 * Invoking emacsclient:: Emacs client startup options.
872 Printing Hard Copies
874 * PostScript::           Printing buffers or regions as PostScript.
875 * PostScript Variables:: Customizing the PostScript printing commands.
876 * Printing Package::     An optional advanced printing interface.
878 Hyperlinking and Navigation Features
880 * Browse-URL::          Following URLs.
881 * Goto-address::        Activating URLs.
882 * FFAP::                Finding files etc. at point.
884 Customization
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.
899 Variables
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.
907 Customizing Key Bindings
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 * Function Keys::       Rebinding terminal function keys.
916 * Named ASCII Chars::   Distinguishing @key{TAB} from @kbd{C-i}, and so on.
917 * Mouse Buttons::       Rebinding mouse buttons in Emacs.
918 * Disabling::           Disabling a command means confirmation is required
919                           before it can be executed.  This is done to protect
920                           beginners from surprises.
922 The Init File, @file{~/.emacs}
924 * Init Syntax::         Syntax of constants in Emacs Lisp.
925 * Init Examples::       How to do some things with an init file.
926 * Terminal Init::       Each terminal type can have an init file.
927 * Find Init::           How Emacs finds the init file.
928 * Init Non-ASCII::      Using non-@acronym{ASCII} characters in an init file.
930 Dealing with Emacs Trouble
932 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
933 * Stuck Recursive::     `[...]' in mode line around the parentheses.
934 * Screen Garbled::      Garbage on the screen.
935 * Text Garbled::        Garbage in the text.
936 * Memory Full::         How to cope when you run out of memory.
937 * After a Crash::       Recovering editing in an Emacs session that crashed.
938 * Emergency Escape::    Emergency escape---
939                           What to do if Emacs stops responding.
940 * Total Frustration::   When you are at your wits' end.
942 Reporting Bugs
944 * Bug Criteria::        Have you really found a bug?
945 * Understanding Bug Reporting:: How to report a bug effectively.
946 * Checklist::           Steps to follow for a good bug report.
947 * Sending Patches::     How to send a patch for GNU Emacs.
949 Command Line Arguments for Emacs Invocation
951 * Action Arguments::    Arguments to visit files, load libraries,
952                           and call functions.
953 * Initial Options::     Arguments that take effect while starting Emacs.
954 * Command Example::     Examples of using command line arguments.
955 * Resume Arguments::    Specifying arguments when you resume a running Emacs.
956 * Environment::         Environment variables that Emacs uses.
957 * Display X::           Changing the default display and using remote login.
958 * Font X::              Choosing a font for text, under X.
959 * Colors::              Choosing display colors.
960 * Window Size X::       Start-up window size, under X.
961 * Borders X::           Internal and external borders, under X.
962 * Title X::             Specifying the initial frame's title.
963 * Icons X::             Choosing what sort of icon to use, under X.
964 * Misc X::              Other display options.
966 Environment Variables
968 * General Variables::   Environment variables that all versions of Emacs use.
969 * Misc Variables::      Certain system specific variables.
970 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
972 X Options and Resources
974 * Resources::           Using X resources with Emacs (in general).
975 * Table of Resources::  Table of specific X resources that affect Emacs.
976 * Face Resources::      X resources for customizing faces.
977 * Lucid Resources::     X resources for Lucid menus.
978 * LessTif Resources::   X resources for LessTif and Motif menus.
979 * GTK resources::       Resources for GTK widgets.
981 Emacs and Mac OS
983 * Mac Input::           Keyboard and mouse input on Mac.
984 * Mac International::   International character sets on Mac.
985 * Mac Environment Variables::  Setting environment variables for Emacs.
986 * Mac Directories::     Volumes and directories on Mac.
987 * Mac Font Specs::      Specifying fonts on Mac.
988 * Mac Functions::       Mac-specific Lisp functions.
990 Emacs and Microsoft Windows/MS-DOS
992 * Text and Binary::     Text files use CRLF to terminate lines.
993 * Windows Files::       File-name conventions on Windows.
994 * ls in Lisp::          Emulation of @code{ls} for Dired.
995 * Windows HOME::        Where Emacs looks for your @file{.emacs}.
996 * Windows Keyboard::    Windows-specific keyboard features.
997 * Windows Mouse::       Windows-specific mouse features.
998 * Windows Processes::   Running subprocesses on Windows.
999 * Windows Printing::    How to specify the printer on MS-Windows.
1000 * Windows Misc::        Miscellaneous Windows features.
1001 * MS-DOS::              Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}).
1002 @end detailmenu
1003 @end menu
1005 @iftex
1006 @unnumbered Preface
1008   This manual documents the use and simple customization of the Emacs
1009 editor.  Simple Emacs customizations do not require you to be a
1010 programmer, but if you are not interested in customizing, you can
1011 ignore the customization hints.
1013   This is primarily a reference manual, but can also be used as a
1014 primer.  If you are new to Emacs, we recommend you start with
1015 the on-line, learn-by-doing tutorial, before reading the manual.  To
1016 run the tutorial, start Emacs and type @kbd{C-h t}.  The tutorial
1017 describes commands, tells you when to try them, and explains the
1018 results.
1020   On first reading, just skim chapters 1 and 2, which describe the
1021 notational conventions of the manual and the general appearance of the
1022 Emacs display screen.  Note which questions are answered in these
1023 chapters, so you can refer back later.  After reading chapter 4, you
1024 should practice the commands shown there.  The next few chapters
1025 describe fundamental techniques and concepts that are used constantly.
1026 You need to understand them thoroughly, so experiment with them
1027 until you are fluent.
1029   Chapters 14 through 19 describe intermediate-level features that are
1030 useful for many kinds of editing.  Chapter 20 and following chapters
1031 describe optional but useful features; read those chapters when you
1032 need them.
1034   Read the Trouble chapter if Emacs does not seem to be working
1035 properly.  It explains how to cope with several common problems
1036 (@pxref{Lossage}), as well as when and how to report Emacs bugs
1037 (@pxref{Bugs}).
1039   To find the documentation of a particular command, look in the index.
1040 Keys (character commands) and command names have separate indexes.
1041 There is also a glossary, with a cross reference for each term.
1043   This manual is available as a printed book and also as an Info file.
1044 The Info file is for on-line perusal with the Info program, which is
1045 the principal means of accessing on-line documentation in the GNU
1046 system.  Both the Emacs Info file and an Info reader are included with
1047 GNU Emacs.  The Info file and the printed book contain substantially
1048 the same text and are generated from the same source files, which are
1049 also distributed with GNU Emacs.
1051   GNU Emacs is a member of the Emacs editor family.  There are many
1052 Emacs editors, all sharing common principles of organization.  For
1053 information on the underlying philosophy of Emacs and the lessons
1054 learned from its development, see @cite{Emacs, the Extensible,
1055 Customizable Self-Documenting Display Editor}, available from
1056 @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1058 This edition of the manual is intended for use with GNU Emacs
1059 installed on GNU and Unix systems.  GNU Emacs can also be used on VMS,
1060 MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems.
1061 Those systems use different file name syntax; in addition, VMS and
1062 MS-DOS do not support all GNU Emacs features.  @xref{Microsoft
1063 Windows}, for information about using Emacs on Windows.
1064 @xref{Mac OS}, for information about using Emacs on Macintosh.  We
1065 don't try to describe VMS usage in this manual.
1066 @end iftex
1068 @node Distrib, Intro, Top, Top
1069 @unnumbered Distribution
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}.
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.
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.
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
1108 @display
1109 Free Software Foundation
1110 51 Franklin Street, Fifth Floor
1111 Boston, MA 02110-1301
1113 @end display
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.
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.
1127 @iftex
1128 @node Acknowledgments, Intro, Distrib, Top
1129 @unnumberedsec Acknowledgments
1131 Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1132 Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf
1133 Angeli, Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero,
1134 Eli Barzilay, Steven L.@: Baur, Jay Belanger, Alexander L.@: Belikoff,
1135 Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim Blandy, Johan Bockg@aa{}rd,
1136 Per Bothner, Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel
1137 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, Chris Chase, Bob Chassell, Andrew Choi,
1140 Sacha Chua, James Clark, Mike Clarkson, Glynn Clements, Andrew
1141 Csillag, Doug Cutting, Mathias Dahl, Satyaki Das, Michael DeCorte,
1142 Gary Delp, Matthieu Devin, Eri Ding, Jan Dj@"{a}rv, Carsten Dominik,
1143 Scott Draves, Benjamin Drieu, Viktor Dukhovni, John Eaton, Rolf Ebert,
1144 Paul Eggert, Stephen Eglen, Torbj@"orn Einarsson, Tsugutomo Enami,
1145 Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach,
1146 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, Julien
1150 Gilles, David Gillespie, Bob Glickstein, Deepak Goel, Boris Goldowsky,
1151 Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann, Michael
1152 Gschwind, Henry Guillaume, Doug Gwyn, Ken'ichi Handa, Lars Hansen,
1153 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, Kurt Hornik, Tom Houlder, Joakim Hove,
1156 Denis Howe, Lars Ingebrigtsen, Andrew Innes, Seiichiro Inoue, Pavel
1157 Janik, Paul Jarc, Ulf Jasper, Michael K. Johnson, Kyle Jones, Terry
1158 Jones, Simon Josefsson, Arne J@o{}rgensen, Tomoji Kagatani, Brewster
1159 Kahle, Lute Kamstra, David Kastrup, David Kaufman, Henry Kautz, Taichi
1160 Kawabata, Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg,
1161 Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: Kolodney, David M.@:
1162 Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian Kremer, Ryszard
1163 Kubiak, Geoff Kuenning, David K@aa{}gedal, Daniel LaLiberte, Mario
1164 Lang, Aaron Larson, James R.@: Larus, Vinicius Jose Latorre, Werner
1165 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,
1169 Bill Mann, Brian Marick, Simon Marshall, Bengt Martensson, Charlie
1170 Martin, Thomas May, Roland McGrath, Will Mengarini, David Megginson,
1171 Ben A. Mesander, Wayne Mesard, Brad Miller, Lawrence Mitchell, Richard
1172 Mlynarik, Gerd Moellmann, Stefan Monnier, Morioka Tomohiko, Keith
1173 Moore, Glenn Morris, Diane Murray, Sen Nagata, Erik Naggum, Thomas
1174 Neumann, Thien-Thi Nguyen, Mike Newton, Jurgen Nickelsen, Dan
1175 Nicolaescu, Hrvoje Niksic, Jeff Norden, Andrew Norman, Alexandre
1176 Oliva, Bob Olson, Michael Olson, Takaaki Ota, Pieter E.@: J.@: Pareit,
1177 David Pearson, Jeff Peck, Damon Anton Permezel, Tom Perrine, William
1178 M.@: Perry, Per Persson, Jens Petersen, Daniel Pfeiffer, Richard L.@:
1179 Pieri, Fred Pierresteguy, Christian Plaunt, David Ponce, Francesco
1180 A.@: Potorti, Michael D. Prange, Mukesh Prasad, Ken Raeburn, Marko
1181 Rahamaa, Ashwin Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold,
1182 Alex Rezinsky, Rob Riepel, David Reitter, Nick Roberts, Roland B.@:
1183 Roberts, John Robinson, Danny Roozendaal, William Rosenblatt,
1184 Guillermo J.@: Rozas, Martin Rudalics, Ivar Rummelhoff, Jason Rumney,
1185 Wolfgang Rupprecht, Kevin Ryde, James B. Salem, Masahiko Sato, Jorgen
1186 Schaefer, Holger Schauer, William Schelter, Ralph Schleicher, Gregor
1187 Schmid, Michael Schmidt, Ronald S. Schnell, Philippe Schnoebelen, Jan
1188 Schormann, Alex Schroeder, Stephen Schoef, Raymond Scholz, Randal
1189 Schwartz, Oliver Seidel, Manuel Serrano, Hovav Shacham, Stanislav
1190 Shalunov, Marc Shapiro, Richard Sharman, Olin Shivers, Espen Skoglund,
1191 Rick Sladkey, Lynn Slater, Chris Smith, David Smith, Paul D.@: Smith,
1192 Andre Spiegel, Michael Staats, William Sommerfeld, Michael Staats,
1193 Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson, Ken
1194 Stevens, Jonathan Stigelman, Martin Stjernholm, Kim F.@: Storm, Steve
1195 Strassman, Olaf Sylvester, Naoto Takahashi, Steven Tamm, Jean-Philippe
1196 Theberge, Jens T.@: Berger Thielemann, Spencer Thomas, Jim Thompson,
1197 Luc Teirlinck, Tom Tromey, Enami Tsugutomo, Eli Tziperman, Daiki Ueno,
1198 Masanobu Umeda, Rajesh Vaidheeswarran, Neil W.@: Van Dyke, Didier
1199 Verna, Ulrik Vieth, Geoffrey Voelker, Johan Vromans, Inge Wallin, John
1200 Paul Wallington, Colin Walters, Barry Warsaw, Morten Welinder, Joseph
1201 Brian Wells, Rodney Whitby, John Wiegley, Ed Wilkinson, Mike Williams,
1202 Bill Wohler, Steven A. Wood, Dale R.@: Worley, Francis J.@: Wright,
1203 Felix S. T. Wu, Tom Wurgler, Katsumi Yamaoka, Masatake Yamato,
1204 Jonathan Yavner, Ryan Yeske, Chong Yidong, Ilya Zakharevich, Milan
1205 Zamazal, Victor Zandy, Eli Zaretskii, Jamie Zawinski, Shenghuo Zhu,
1206 Ian T.@: Zimmermann, Reto Zimmermann, Neal Ziring, Teodor Zlatanov,
1207 and Detlev Zundel.
1208 @end iftex
1210 @node Intro, Glossary, Distrib, Top
1211 @unnumbered Introduction
1213   You are reading about GNU Emacs, the GNU incarnation of the
1214 advanced, self-documenting, customizable, extensible editor Emacs.
1215 (The `G' in `GNU' is not silent.)
1217   We call Emacs advanced because it provides much more than simple
1218 insertion and deletion.  It can control subprocesses, indent programs
1219 automatically, show two or more files at once, and edit formatted
1220 text.  Emacs editing commands operate in terms of characters, words,
1221 lines, sentences, paragraphs, and pages, as well as expressions and
1222 comments in various programming languages.
1224   @dfn{Self-documenting} means that at any time you can type a special
1225 character, @kbd{Control-h}, to find out what your options are.  You can
1226 also use it to find out what any command does, or to find all the commands
1227 that pertain to a topic.  @xref{Help}.
1229   @dfn{Customizable} means that you can alter Emacs commands' behavior
1230 in simple ways.  For example, if you use a programming language in
1231 which comments start with @samp{<**} and end with @samp{**>}, you can
1232 tell the Emacs comment manipulation commands to use those strings
1233 (@pxref{Comments}).  Another sort of customization is rearrangement of
1234 the command set.  For example, you can rebind the basic cursor motion
1235 commands (up, down, left and right) to any keys on the keyboard that
1236 you find comfortable.  @xref{Customization}.
1238   @dfn{Extensible} means that you can go beyond simple customization
1239 and write entirely new commands---programs in the Lisp language to be
1240 run by Emacs's own Lisp interpreter.  Emacs is an ``on-line
1241 extensible'' system, which means that it is divided into many
1242 functions that call each other, any of which can be redefined in the
1243 middle of an editing session.  Almost any part of Emacs can be
1244 replaced without making a separate copy of all of Emacs.  Most of the
1245 editing commands of Emacs are written in Lisp; the few exceptions
1246 could have been written in Lisp but use C instead for efficiency.
1247 Writing an extension is programming, but non-programmers can use it
1248 afterwards.  @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1249 Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1250 Lisp programming.
1252    When running on a graphical display, Emacs provides its own menus
1253 and convenient handling of mouse buttons.  In addition, Emacs provides
1254 many of the benefits of a graphical display even on a text-only
1255 terminal.  For instance, it can highlight parts of a file, display and
1256 edit several files at once, move text between files, and edit files
1257 while running shell commands.
1259 @include screen.texi
1260 @include commands.texi
1261 @include entering.texi
1262 @include basic.texi
1263 @include mini.texi
1264 @include m-x.texi
1265 @include help.texi
1266 @include mark.texi
1267 @include killing.texi
1268 @include regs.texi
1269 @include display.texi
1270 @include search.texi
1271 @include fixit.texi
1272 @include kmacro.texi
1273 @include files.texi
1274 @include buffers.texi
1275 @include windows.texi
1276 @include frames.texi
1277 @include mule.texi
1278 @include major.texi
1279 @include indent.texi
1280 @include text.texi
1281 @include programs.texi
1282 @include building.texi
1283 @include maintaining.texi
1284 @include abbrevs.texi
1285 @ifnottex
1286 @include picture-xtra.texi
1287 @end ifnottex
1288 @include sending.texi
1289 @include rmail.texi
1290 @include dired.texi
1291 @include calendar.texi
1292 @include misc.texi
1293 @include custom.texi
1294 @include trouble.texi
1296 @node Copying, GNU Free Documentation License, Service, Top
1297 @appendix GNU GENERAL PUBLIC LICENSE
1298 @include gpl.texi
1300 @node GNU Free Documentation License, Emacs Invocation, Copying, Top
1301 @appendix GNU Free Documentation License
1302 @include doclicense.texi
1304 @include cmdargs.texi
1305 @include xresources.texi
1307 @include anti.texi
1308 @include macos.texi
1309 @include msdog.texi
1310 @include gnu.texi
1311 @include glossary.texi
1312 @ifnottex
1313 @include ack.texi
1314 @end ifnottex
1316 @c The Option Index is produced only in the on-line version,
1317 @c because the index entries related to command-line options
1318 @c tend to point to the same pages and all begin with a dash.
1319 @c This, and the need to keep the node links consistent, are
1320 @c the reasons for the funky @iftex/@ifnottex dance below.
1321 @c The Option Index is _not_ before Key Index, because that
1322 @c would require changes in the glossary.texi's @node line.
1323 @c It is not after Concept Index for similar reasons.
1325 @iftex
1326 @node Key Index, Command Index, Glossary, Top
1327 @unnumbered Key (Character) Index
1328 @printindex ky
1329 @end iftex
1331 @ifnottex
1332 @node Key Index, Option Index, Glossary, Top
1333 @unnumbered Key (Character) Index
1334 @printindex ky
1336 @node Option Index, Command Index, Key Index, Top
1337 @unnumbered Command-Line Options Index
1338 @printindex op
1340 @node Command Index, Variable Index, Option Index, Top
1341 @unnumbered Command and Function Index
1342 @printindex fn
1343 @end ifnottex
1345 @iftex
1346 @node Command Index, Variable Index, Key Index, Top
1347 @unnumbered Command and Function Index
1348 @printindex fn
1349 @end iftex
1351 @node Variable Index, Concept Index, Command Index, Top
1352 @unnumbered Variable Index
1353 @printindex vr
1355 @node Concept Index, Acknowledgments, Variable Index, Top
1356 @unnumbered Concept Index
1357 @printindex cp
1359 @bye
1361 @ignore
1362    arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392
1363 @end ignore