* doc/emacs/abbrevs.texi (Abbrev Concepts): Copyedits.
[emacs.git] / doc / emacs / emacs.texi
blob9042f84e3b6007aae4f385733626adb70c509abe
1 \input texinfo  @c -*- coding: iso-latin-1 -*-
3 @setfilename ../../info/emacs
4 @settitle GNU Emacs Manual
6 @c The edition number appears in more than one place in this file
7 @c I don't really know what it means...
8 @c For example, it has said "Sixteenth" since sometime in the Emacs 22
9 @c series, all through 23, and into 24.  So it is not very useful IMO,
10 @c and offers nothing that EMACSVER does not.  I guess it relates
11 @c mainly to the published book sold by the FSF.  Hence no longer
12 @c bother including it except iftex.  Really, I think it should not be
13 @c here at all (since anyone can make a pdf version), but should just
14 @c be something added by the FSF during the publishing process.
15 @c Also, the lispref uses a float (3.0), whereas this uses an ordinal,
16 @c so the format is not even consistent.
17 @set EDITION   Sixteenth
18 @include emacsver.texi
20 @copying
21 @iftex
22 This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
23 @end iftex
24 @ifnottex
25 This is the @cite{GNU Emacs Manual},
26 @end ifnottex
27 updated for Emacs version @value{EMACSVER}.
29 Copyright @copyright{} 1985-1987, 1993-2012 Free Software Foundation, Inc.
31 @quotation
32 Permission is granted to copy, distribute and/or modify this document
33 under the terms of the GNU Free Documentation License, Version 1.3 or
34 any later version published by the Free Software Foundation; with the
35 Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
36 ``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
37 Manual,'' and with the Back-Cover Texts as in (a) below.  A copy of the
38 license is included in the section entitled ``GNU Free Documentation
39 License.''
41 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
42 modify this GNU manual.  Buying copies from the FSF supports it in
43 developing GNU and promoting software freedom.''
44 @end quotation
45 @end copying
47 @documentencoding ISO-8859-1
49 @dircategory Emacs
50 @direntry
51 * Emacs: (emacs).       The extensible self-documenting text editor.
52 @end direntry
54 @c in general, keep the following line commented out, unless doing a
55 @c copy of this manual that will be published.  The manual should go
56 @c onto the distribution in the full, 8.5 x 11" size.
57 @c @smallbook
59 @ifset smallbook
60 @smallbook
61 @end ifset
63 @c per rms and peterb, use 10pt fonts for the main text, mostly to
64 @c save on paper cost.
65 @c Do this inside @tex for now, so current makeinfo does not complain.
66 @tex
67 @ifset smallbook
68 @fonttextsize 10
69 \global\let\urlcolor=\Black % don't print links in grayscale
70 \global\let\linkcolor=\Black
71 @end ifset
72 \global\hbadness=6666 % don't worry about not-too-underfull boxes
73 @end tex
75 @defcodeindex op
76 @synindex pg cp
78 @iftex
79 @kbdinputstyle code
81 @shorttitlepage GNU Emacs Manual
82 @end iftex
84 @titlepage
85 @sp 6
86 @center @titlefont{GNU Emacs Manual}
87 @sp 4
88 @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
89 @sp 5
90 @center Richard Stallman et al.
91 @page
92 @vskip 0pt plus 1filll
93 @insertcopying
95 @sp 2
96 Published by the Free Software Foundation @*
97 51 Franklin Street, Fifth Floor @*
98 Boston, MA 02110-1301 USA @*
99 ISBN 1-882114-86-8
101 @sp 2
102 Cover art by Etienne Suvasa.
104 @end titlepage
107 @summarycontents
108 @contents
111 @ifnottex
112 @node Top, Distrib, (dir), (dir)
113 @top The Emacs Editor
115 Emacs is the extensible, customizable, self-documenting real-time
116 display editor.  This Info file describes how to edit with Emacs and
117 some of the ways to customize it; it corresponds to GNU Emacs version
118 @value{EMACSVER}.
120 @ifinfo
121 If you are reading this in Emacs, type @kbd{h} to read a basic
122 introduction to the Info documentation system.
123 @end ifinfo
125 For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
126 Emacs Lisp Reference Manual}.
128 @insertcopying
129 @end ifnottex
131 @c Note that the TeX version generates its own TOC, so the ifnottex's
132 @c here are not really necessary.
133 @menu
134 * Distrib::             How to get the latest Emacs distribution.
135 * Intro::               An introduction to Emacs concepts.
136 @c Note that in the printed manual, the glossary and indices come last.
137 * Glossary::            Terms used in this manual.
139 Indexes (each index contains a large menu)
140 * Key Index::           An item for each standard Emacs key sequence.
141 * Option Index::        An item for every command-line option.
142 * Command Index::       An item for each command name.
143 * Variable Index::      An item for each documented variable.
144 * Concept Index::       An item for each concept.
146 * Acknowledgments::     Major contributors to GNU Emacs.
148 Important General Concepts
149 * Screen::              How to interpret what you see on the screen.
150 * User Input::          Kinds of input events (characters, buttons,
151                           function keys).
152 * Keys::                Key sequences: what you type to request one
153                           editing action.
154 * Commands::            Named functions run by key sequences to do editing.
155 * Entering Emacs::      Starting Emacs from the shell.
156 * Exiting::             Stopping or killing Emacs.
158 Fundamental Editing Commands
159 * Basic::               The most basic editing commands.
160 * Minibuffer::          Entering arguments that are prompted for.
161 * M-x::                 Invoking commands by their names.
162 * Help::                Commands for asking Emacs about its commands.
164 Important Text-Changing Commands
165 * Mark::                The mark: how to delimit a "region" of text.
166 * Killing::             Killing (cutting) and yanking (copying) text.
167 * Registers::           Saving a text string or a location in the buffer.
168 * Display::             Controlling what text is displayed.
169 * Search::              Finding or replacing occurrences of a string.
170 * Fixit::               Commands especially useful for fixing typos.
171 * Keyboard Macros::     Recording a sequence of keystrokes to be replayed.
173 Major Structures of Emacs
174 * Files::               All about handling files.
175 * Buffers::             Multiple buffers; editing several files at once.
176 * Windows::             Viewing multiple pieces of text in one frame.
177 * Frames::              Using multiple "windows" on your display.
178 * International::       Using non-@acronym{ASCII} character sets.
180 Advanced Features
181 * Modes::               Major and minor modes alter Emacs's basic behavior.
182 * Indentation::         Editing the white space at the beginnings of lines.
183 * Text::                Commands and modes for editing human languages.
184 * Programs::            Commands and modes for editing programs.
185 * Building::            Compiling, running and debugging programs.
186 * Maintaining::         Features for maintaining large programs.
187 * Abbrevs::             Defining text abbreviations to reduce typing.
188 * Dired::               Directory and file manager.
189 * Calendar/Diary::      Calendar and diary facilities.
190 * Sending Mail::        Sending mail in Emacs.
191 * Rmail::               Reading mail in Emacs.
192 * Gnus::                A flexible mail and news reader.
193 * Document View::       Viewing PDF, PS and DVI files.
194 * Shell::               Executing shell commands from Emacs.
195 * Emacs Server::        Using Emacs as an editing server.
196 * Printing::            Printing hardcopies of buffers or regions.
197 * Sorting::             Sorting lines, paragraphs or pages within Emacs.
198 @ifnottex
199 * Picture Mode::        Editing pictures made up of text characters.
200 @end ifnottex
201 * Editing Binary Files::  Editing binary files with Hexl mode.
202 * Saving Emacs Sessions:: Saving Emacs state from one session to the next.
203 * Recursive Edit::      Performing edits while "within another command".
204 * Emulation::           Emulating some other editors with Emacs.
205 * Hyperlinking::        Following links in buffers.
206 * Amusements::          Various games and hacks.
207 * Packages::            Installing additional features.
208 * Customization::       Modifying the behavior of Emacs.
210 Recovery from Problems
211 * Quitting::            Quitting and aborting.
212 * Lossage::             What to do if Emacs is hung or malfunctioning.
213 * Bugs::                How and when to report a bug.
214 * Contributing::        How to contribute improvements to Emacs.
215 * Service::             How to get help for your own Emacs needs.
217 Appendices
218 * Copying::             The GNU General Public License gives you permission
219                           to redistribute GNU Emacs on certain terms;
220                           it also explains that there is no warranty.
221 * GNU Free Documentation License:: The license for this documentation.
222 * Emacs Invocation::    Hairy startup options.
223 * X Resources::         X resources for customizing Emacs.
224 * Antinews::            Information about Emacs version 23.
225 * Mac OS / GNUstep::    Using Emacs under Mac OS and GNUstep.
226 * Microsoft Windows::   Using Emacs on Microsoft Windows and MS-DOS.
227 * Manifesto::           What's GNU?  Gnu's Not Unix!
229 @c Do NOT modify the following 3 lines!  They must have this form to
230 @c be correctly identified by `texinfo-multiple-files-update'.  In
231 @c particular, the detailed menu header line MUST be identical to the
232 @c value of `texinfo-master-menu-header'.  See texnfo-upd.el.
234 @detailmenu
235  --- The Detailed Node Listing ---
236  ---------------------------------
238 Here are some other nodes which are really subnodes of the ones
239 already listed, mentioned here so you can get to them in one step:
241 The Organization of the Screen
243 * Point::               The place in the text where editing commands operate.
244 * Echo Area::           Short messages appear at the bottom of the screen.
245 * Mode Line::           Interpreting the mode line.
246 * Menu Bar::            How to use the menu bar.
248 Basic Editing Commands
250 * Inserting Text::      Inserting text by simply typing it.
251 * Moving Point::        Moving the cursor to the place where you want to
252                         change something.
253 * Erasing::             Deleting and killing text.
254 * Basic Undo::          Undoing recent changes in the text.
255 * Basic Files::         Visiting, creating, and saving files.
256 * Basic Help::          Asking what a character does.
257 * Blank Lines::         Making and deleting blank lines.
258 * Continuation Lines::  How Emacs displays lines too wide for the screen.
259 * Position Info::       What line, row, or column is point on?
260 * Arguments::           Numeric arguments for repeating a command N times.
261 * Repeating::           Repeating the previous command quickly.
263 The Minibuffer
265 * Minibuffer File::     Entering file names with the minibuffer.
266 * Minibuffer Edit::     How to edit in the minibuffer.
267 * Completion::          An abbreviation facility for minibuffer input.
268 * Minibuffer History::  Reusing recent minibuffer arguments.
269 * Repetition::          Re-executing commands that used the minibuffer.
270 * Passwords::           Entering passwords in the echo area.
272 Completion
274 * Completion Example::  Examples of using completion.
275 * Completion Commands:: A list of completion commands.
276 * Completion Exit::     Completion and minibuffer text submission.
277 * Completion Styles::   How completion matches are chosen.
278 * Completion Options::  Options for completion.
280 Help
282 * Help Summary::        Brief list of all Help commands.
283 * Key Help::            Asking what a key does in Emacs.
284 * Name Help::           Asking about a command, variable or function name.
285 * Apropos::             Asking what pertains to a given topic.
286 * Help Mode::           Special features of Help mode and Help buffers.
287 * Package Keywords::    Finding Lisp libraries by keywords (topics).
288 * Language Help::       Help relating to international language support.
289 * Misc Help::           Other help commands.
290 * Help Files::          Commands to display auxiliary help files.
291 * Help Echo::           Help on active text and tooltips ("balloon help").
293 The Mark and the Region
295 * Setting Mark::        Commands to set the mark.
296 * Marking Objects::     Commands to put region around textual units.
297 * Using Region::        Summary of ways to operate on contents of the region.
298 * Mark Ring::           Previous mark positions saved so you can go back there.
299 * Global Mark Ring::    Previous mark positions in various buffers.
300 * Shift Selection::     Using shifted cursor motion keys.
301 * Disabled Transient Mark:: Leaving regions unhighlighted by default.
303 Killing and Moving Text
305 * Deletion and Killing:: Commands that remove text.
306 * Yanking::             Commands that insert text.
307 * Cut and Paste::       Clipboard and selections on graphical displays.
308 * Accumulating Text::   Other methods to add text to the buffer.
309 * Rectangles::          Operating on text in rectangular areas.
310 * CUA Bindings::        Using @kbd{C-x}/@kbd{C-c}/@kbd{C-v} to kill and yank.
312 Deletion and Killing
314 * Deletion::            Commands for deleting small amounts of text and
315                           blank areas.
316 * Killing by Lines::    How to kill entire lines of text at one time.
317 * Other Kill Commands:: Commands to kill large regions of text and
318                           syntactic units such as words and sentences.
319 * Kill Options::        Options that affect killing.
321 Yanking
323 * Kill Ring::           Where killed text is stored.
324 * Earlier Kills::       Yanking something killed some time ago.
325 * Appending Kills::     Several kills in a row all yank together.
327 "Cut and Paste" Operations on Graphical Displays
329 * Clipboard::           How Emacs uses the system clipboard.
330 * Primary Selection::   The temporarily selected text selection.
331 * Secondary Selection:: Cutting without altering point and mark.
333 Registers
335 * Position Registers::      Saving positions in registers.
336 * Text Registers::          Saving text in registers.
337 * Rectangle Registers::     Saving rectangles in registers.
338 * Configuration Registers:: Saving window configurations in registers.
339 * Number Registers::        Numbers in registers.
340 * File Registers::          File names in registers.
341 * Bookmarks::               Bookmarks are like registers, but persistent.
343 Controlling the Display
345 * Scrolling::              Commands to move text up and down in a window.
346 * Recentering::            A scroll command that centers the current line.
347 * Auto Scrolling::         Redisplay scrolls text automatically when needed.
348 * Horizontal Scrolling::   Moving text left and right in a window.
349 * Narrowing::              Restricting display and editing to a portion
350                              of the buffer.
351 * View Mode::              Viewing read-only buffers.
352 * Follow Mode::            Follow mode lets two windows scroll as one.
353 * Faces::                  How to change the display style using faces.
354 * Colors::                 Specifying colors for faces.
355 * Standard Faces::         The main predefined faces.
356 * Text Scale::             Increasing or decreasing text size in a buffer.
357 * Font Lock::              Minor mode for syntactic highlighting using faces.
358 * Highlight Interactively:: Tell Emacs what text to highlight.
359 * Fringes::                Enabling or disabling window fringes.
360 * Displaying Boundaries::  Displaying top and bottom of the buffer.
361 * Useless Whitespace::     Showing possibly spurious trailing whitespace.
362 * Selective Display::      Hiding lines with lots of indentation.
363 * Optional Mode Line::     Optional mode line display features.
364 * Text Display::           How text characters are normally displayed.
365 * Cursor Display::         Features for displaying the cursor.
366 * Line Truncation::        Truncating lines to fit the screen width instead
367                              of continuing them to multiple screen lines.
368 * Visual Line Mode::       Word wrap and screen line-based editing.
369 * Display Custom::         Information on variables for customizing display.
371 Searching and Replacement
373 * Incremental Search::     Search happens as you type the string.
374 * Nonincremental Search::  Specify entire string and then search.
375 * Word Search::            Search for sequence of words.
376 * Regexp Search::          Search for match for a regexp.
377 * Regexps::                Syntax of regular expressions.
378 * Regexp Backslash::       Regular expression constructs starting with `\'.
379 * Regexp Example::         A complex regular expression explained.
380 * Search Case::            To ignore case while searching, or not.
381 * Replace::                Search, and replace some or all matches.
382 * Other Repeating Search:: Operating on all matches for some regexp.
384 Incremental Search
386 * Basic Isearch::       Basic incremental search commands.
387 * Repeat Isearch::      Searching for the same string again.
388 * Error in Isearch::    When your string is not found.
389 * Special Isearch::     Special input in incremental search.
390 * Isearch Yank::        Commands that grab text into the search string
391                           or else edit the search string.
392 * Isearch Scroll::      Scrolling during an incremental search.
393 * Isearch Minibuffer::  Incremental search of the minibuffer history.
395 Replacement Commands
397 * Unconditional Replace::  Replacing all matches for a string.
398 * Regexp Replace::         Replacing all matches for a regexp.
399 * Replacement and Case::   How replacements preserve case of letters.
400 * Query Replace::          How to use querying.
402 Commands for Fixing Typos
404 * Undo::                The Undo commands.
405 * Transpose::           Exchanging two characters, words, lines, lists...
406 * Fixing Case::         Correcting case of last word entered.
407 * Spelling::            Apply spelling checker to a word, or a whole file.
409 Keyboard Macros
411 * Basic Keyboard Macro::     Defining and running keyboard macros.
412 * Keyboard Macro Ring::      Where previous keyboard macros are saved.
413 * Keyboard Macro Counter::   Inserting incrementing numbers in macros.
414 * Keyboard Macro Query::     Making keyboard macros do different things each
415                                 time.
416 * Save Keyboard Macro::      Giving keyboard macros names; saving them in
417                                 files.
418 * Edit Keyboard Macro::      Editing keyboard macros.
419 * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
420                                 macro.
422 File Handling
424 * File Names::          How to type and edit file-name arguments.
425 * Visiting::            Visiting a file prepares Emacs to edit the file.
426 * Saving::              Saving makes your changes permanent.
427 * Reverting::           Reverting cancels all the changes not saved.
428 @ifnottex
429 * Autorevert::          Auto Reverting non-file buffers.
430 @end ifnottex
431 * Auto Save::           Auto Save periodically protects against loss of data.
432 * File Aliases::        Handling multiple names for one file.
433 * Directories::         Creating, deleting, and listing file directories.
434 * Comparing Files::     Finding where two files differ.
435 * Diff Mode::           Mode for editing file differences.
436 * Misc File Ops::       Other things you can do on files.
437 * Compressed Files::    Accessing compressed files.
438 * File Archives::       Operating on tar, zip, jar etc. archive files.
439 * Remote Files::        Accessing files on other machines.
440 * Quoted File Names::   Quoting special characters in file names.
441 * File Name Cache::     Completion against a list of files you often use.
442 * File Conveniences::   Convenience Features for Finding Files.
443 * Filesets::            Handling sets of files.
445 Saving Files
447 * Save Commands::       Commands for saving files.
448 * Backup::              How Emacs saves the old version of your file.
449 * Customize Save::      Customizing the saving of files.
450 * Interlocking::        How Emacs protects against simultaneous editing
451                           of one file by two users.
452 * File Shadowing::      Copying files to "shadows" automatically.
453 * Time Stamps::         Emacs can update time stamps on saved files.
455 Backup Files
457 * Backup Names::        How backup files are named.
458 * Backup Deletion::     Emacs deletes excess numbered backups.
459 * Backup Copying::      Backups can be made by copying or renaming.
461 @ifnottex
462 Auto Reverting Non-File Buffers
464 * Auto Reverting the Buffer Menu:: Auto Revert of the Buffer Menu.
465 * Auto Reverting Dired::           Auto Revert of Dired buffers.
466 * Supporting additional buffers::  How to add more Auto Revert support.
467 @end ifnottex
469 Auto-Saving: Protection Against Disasters
471 * Auto Save Files::     The file where auto-saved changes are
472                           actually made until you save the file.
473 * Auto Save Control::   Controlling when and how often to auto-save.
474 * Recover::             Recovering text from auto-save files.
476 Using Multiple Buffers
478 * Select Buffer::       Creating a new buffer or reselecting an old one.
479 * List Buffers::        Getting a list of buffers that exist.
480 * Misc Buffer::         Renaming; changing read-onlyness; copying text.
481 * Kill Buffer::         Killing buffers you no longer need.
482 * Several Buffers::     How to go through the list of all buffers
483                           and operate variously on several of them.
484 * Indirect Buffers::    An indirect buffer shares the text of another buffer.
485 * Buffer Convenience::  Convenience and customization features for
486                           buffer handling.
488 Convenience Features and Customization of Buffer Handling
490 * Uniquify::            Making buffer names unique with directory parts.
491 * Iswitchb::            Switching between buffers with substrings.
492 * Buffer Menus::        Configurable buffer menu.
494 Multiple Windows
496 * Basic Window::        Introduction to Emacs windows.
497 * Split Window::        New windows are made by splitting existing windows.
498 * Other Window::        Moving to another window or doing something to it.
499 * Pop Up Window::       Finding a file or buffer in another window.
500 * Change Window::       Deleting windows and changing their sizes.
501 * Displaying Buffers::  How Emacs picks a window for displaying a buffer.
502 * Window Convenience::  Convenience functions for window handling.
504 Displaying a Buffer in a Window
506 * Window Choice::       How @code{display-buffer} works.
508 Frames and Graphical Displays
510 * Mouse Commands::      Moving, cutting, and pasting, with the mouse.
511 * Word and Line Mouse:: Mouse commands for selecting whole words or lines.
512 * Mouse References::    Using the mouse to select an item from a list.
513 * Menu Mouse Clicks::   Mouse clicks that bring up menus.
514 * Mode Line Mouse::     Mouse clicks on the mode line.
515 * Creating Frames::     Creating additional Emacs frames with various contents.
516 * Frame Commands::      Iconifying, deleting, and switching frames.
517 * Fonts::               Changing the frame font.
518 * Speedbar::            How to make and use a speedbar frame.
519 * Multiple Displays::   How one Emacs instance can talk to several displays.
520 * Frame Parameters::    Changing the colors and other modes of frames.
521 * Scroll Bars::         How to enable and disable scroll bars; how to use them.
522 * Drag and Drop::       Using drag and drop to open files and insert text.
523 * Menu Bars::           Enabling and disabling the menu bar.
524 * Tool Bars::           Enabling and disabling the tool bar.
525 * Dialog Boxes::        Controlling use of dialog boxes.
526 * Tooltips::            Displaying information at the current mouse position.
527 * Mouse Avoidance::     Preventing the mouse pointer from obscuring text.
528 * Non-Window Terminals::  Multiple frames on terminals that show only one.
529 * Text-Only Mouse::     Using the mouse in text terminals.
531 International Character Set Support
533 * International Chars::     Basic concepts of multibyte characters.
534 * Disabling Multibyte::     Controlling whether to use multibyte characters.
535 * Language Environments::   Setting things up for the language you use.
536 * Input Methods::           Entering text characters not on your keyboard.
537 * Select Input Method::     Specifying your choice of input methods.
538 * Coding Systems::          Character set conversion when you read and
539                               write files, and so on.
540 * Recognize Coding::        How Emacs figures out which conversion to use.
541 * Specify Coding::          Specifying a file's coding system explicitly.
542 * Output Coding::           Choosing coding systems for output.
543 * Text Coding::             Choosing conversion to use for file text.
544 * Communication Coding::    Coding systems for interprocess communication.
545 * File Name Coding::        Coding systems for file @emph{names}.
546 * Terminal Coding::         Specifying coding systems for converting
547                               terminal input and output.
548 * Fontsets::                Fontsets are collections of fonts
549                               that cover the whole spectrum of characters.
550 * Defining Fontsets::       Defining a new fontset.
551 * Modifying Fontsets::      Modifying an existing fontset.
552 * Undisplayable Characters::When characters don't display.
553 * Unibyte Mode::            You can pick one European character set
554                               to use without multibyte characters.
555 * Charsets::                How Emacs groups its internal character codes.
556 * Bidirectional Editing::   Support for right-to-left scripts.
558 Major and Minor Modes
560 * Major Modes::         Text mode vs. Lisp mode vs. C mode...
561 * Minor Modes::         Each minor mode is a feature you can turn on
562                           independently of any others.
563 * Choosing Modes::      How modes are chosen when visiting files.
565 Indentation
567 * Indentation Commands::  More commands for performing indentation.
568 * Tab Stops::             Stop points for indentation in Text modes.
569 * Just Spaces::           Using only space characters for indentation.
570 * Indent Convenience::    Optional indentation features.
572 Commands for Human Languages
574 * Words::               Moving over and killing words.
575 * Sentences::           Moving over and killing sentences.
576 * Paragraphs::          Moving over paragraphs.
577 * Pages::               Moving over pages.
578 * Filling::             Filling or justifying text.
579 * Case::                Changing the case of text.
580 * Text Mode::           The major modes for editing text files.
581 * Outline Mode::        Editing outlines.
582 * Org Mode::            The Emacs organizer.
583 * TeX Mode::            Editing TeX and LaTeX files.
584 * HTML Mode::           Editing HTML and SGML files.
585 * Nroff Mode::          Editing input to the nroff formatter.
586 * Enriched Text::       Editing text "enriched" with fonts, colors, etc.
587 * Text Based Tables::   Commands for editing text-based tables.
588 * Two-Column::          Splitting text columns into separate windows.
590 Filling Text
592 * Auto Fill::           Auto Fill mode breaks long lines automatically.
593 * Fill Commands::       Commands to refill paragraphs and center lines.
594 * Fill Prefix::         Filling paragraphs that are indented
595                           or in a comment, etc.
596 * Adaptive Fill::       How Emacs can determine the fill prefix automatically.
598 Outline Mode
600 * Outline Format::      What the text of an outline looks like.
601 * Outline Motion::      Special commands for moving through outlines.
602 * Outline Visibility::  Commands to control what is visible.
603 * Outline Views::       Outlines and multiple views.
604 * Foldout::             Folding means zooming in on outlines.
606 Org Mode
608 * Org Organizer::       Managing TODO lists and agendas.
609 * Org Authoring::       Exporting Org buffers to various formats.
611 @TeX{} Mode
613 * TeX Editing::         Special commands for editing in TeX mode.
614 * LaTeX Editing::       Additional commands for LaTeX input files.
615 * TeX Print::           Commands for printing part of a file with TeX.
616 * TeX Misc::            Customization of TeX mode, and related features.
618 Enriched Text
620 * Enriched Mode::           Entering and exiting Enriched mode.
621 * Hard and Soft Newlines::  There are two different kinds of newlines.
622 * Editing Format Info::     How to edit text properties.
623 * Enriched Faces::          Bold, italic, underline, etc.
624 * Enriched Indentation::    Changing the left and right margins.
625 * Enriched Justification::  Centering, setting text flush with the
626                               left or right margin, etc.
627 * Enriched Properties::     The "special" text properties submenu.
629 @c The automatic texinfo menu update inserts some duplicate items here
630 @c (faces, colors, indentation, justification, properties), because
631 @c they are listed in two menus.  But we already have them above, no
632 @c need to list them twice.
634 Editing Text-based Tables
636 * Table Definition::    What is a text based table.
637 * Table Creation::      How to create a table.
638 * Table Recognition::   How to activate and deactivate tables.
639 * Cell Commands::       Cell-oriented commands in a table.
640 * Cell Justification::  Justifying cell contents.
641 * Table Rows and Columns:: Inserting and deleting rows and columns.
642 * Table Conversion::    Converting between plain text and tables.
643 * Table Misc::          Table miscellany.
645 Editing Programs
647 * Program Modes::       Major modes for editing programs.
648 * Defuns::              Commands to operate on major top-level parts
649                           of a program.
650 * Program Indent::      Adjusting indentation to show the nesting.
651 * Parentheses::         Commands that operate on parentheses.
652 * Comments::            Inserting, killing, and aligning comments.
653 * Documentation::       Getting documentation of functions you plan to call.
654 * Hideshow::            Displaying blocks selectively.
655 * Symbol Completion::   Completion on symbol names of your program or language.
656 * Glasses::             Making identifiersLikeThis more readable.
657 * Semantic::            Suite of editing tools based on source code parsing.
658 * Misc for Programs::   Other Emacs features useful for editing programs.
659 * C Modes::             Special commands of C, C++, Objective-C,
660                           Java, IDL, Pike and AWK modes.
661 * Asm Mode::            Asm mode and its special features.
662 @ifnottex
663 * Fortran::             Fortran mode and its special features.
664 @end ifnottex
666 Top-Level Definitions, or Defuns
668 * Left Margin Paren::   An open-paren or similar opening delimiter
669                           starts a defun if it is at the left margin.
670 * Moving by Defuns::    Commands to move over or mark a major definition.
671 * Imenu::               Making buffer indexes as menus.
672 * Which Function::      Which Function mode shows which function you are in.
674 Indentation for Programs
676 * Basic Indent::        Indenting a single line.
677 * Multi-line Indent::   Commands to reindent many lines at once.
678 * Lisp Indent::         Specifying how each Lisp function should be indented.
679 * C Indent::            Extra features for indenting C and related modes.
680 * Custom C Indent::     Controlling indentation style for C and related modes.
682 Commands for Editing with Parentheses
684 * Expressions::         Expressions with balanced parentheses.
685 * Moving by Parens::    Commands for moving up, down and across
686                           in the structure of parentheses.
687 * Matching::            Insertion of a close-delimiter flashes matching open.
689 Manipulating Comments
691 * Comment Commands::    Inserting, killing, and aligning comments.
692 * Multi-Line Comments:: Commands for adding and editing multi-line comments.
693 * Options for Comments::Customizing the comment features.
695 Documentation Lookup
697 * Info Lookup::        Looking up library functions and commands in Info files.
698 * Man Page::           Looking up man pages of library functions and commands.
699 * Lisp Doc::           Looking up Emacs Lisp functions, etc.
701 C and Related Modes
703 * Motion in C::         Commands to move by C statements, etc.
704 * Electric C::          Colon and other chars can automatically reindent.
705 * Hungry Delete::       A more powerful DEL command.
706 * Other C Commands::    Filling comments, viewing expansion of macros,
707                           and other neat features.
709 @ifnottex
710 Fortran Mode
712 * Fortran Motion::      Moving point by statements or subprograms.
713 * Fortran Indent::      Indentation commands for Fortran.
714 * Fortran Comments::    Inserting and aligning comments.
715 * Fortran Autofill::    Auto fill support for Fortran.
716 * Fortran Columns::     Measuring columns for valid Fortran.
717 * Fortran Abbrev::      Built-in abbrevs for Fortran keywords.
719 Fortran Indentation
721 * ForIndent Commands::  Commands for indenting and filling Fortran.
722 * ForIndent Cont::      How continuation lines indent.
723 * ForIndent Num::       How line numbers auto-indent.
724 * ForIndent Conv::      Conventions you must obey to avoid trouble.
725 * ForIndent Vars::      Variables controlling Fortran indent style.
726 @end ifnottex
728 Compiling and Testing Programs
730 * Compilation::         Compiling programs in languages other
731                           than Lisp (C, Pascal, etc.).
732 * Compilation Mode::    The mode for visiting compiler errors.
733 * Compilation Shell::   Customizing your shell properly
734                           for use in the compilation buffer.
735 * Grep Searching::      Searching with grep.
736 * Flymake::             Finding syntax errors on the fly.
737 * Debuggers::           Running symbolic debuggers for non-Lisp programs.
738 * Executing Lisp::      Various modes for editing Lisp programs,
739                           with different facilities for running
740                           the Lisp programs.
741 * Lisp Libraries::      How Lisp programs are loaded into Emacs.
742 * Lisp Eval::           Executing a single Lisp expression in Emacs.
743 * Lisp Interaction::    Executing Lisp in an Emacs buffer.
744 * External Lisp::       Communicating through Emacs with a separate Lisp.
746 Running Debuggers Under Emacs
748 * Starting GUD::        How to start a debugger subprocess.
749 * Debugger Operation::  Connection between the debugger and source buffers.
750 * Commands of GUD::     Key bindings for common commands.
751 * GUD Customization::   Defining your own commands for GUD.
752 * GDB Graphical Interface::  An enhanced mode that uses GDB features to
753                           implement a graphical debugging environment.
755 GDB Graphical Interface
757 * GDB User Interface Layout::   Control the number of displayed buffers.
758 * Source Buffers::              Use the mouse in the fringe/margin to
759                                 control your program.
760 * Breakpoints Buffer::          A breakpoint control panel.
761 * Threads Buffer::              Displays your threads.
762 * Stack Buffer::                Select a frame from the call stack.
763 * Other GDB Buffers::           Other buffers for controlling the GDB state.
764 * Watch Expressions::           Monitor variable values in the speedbar.
765 * Multithreaded Debugging::     Debugging programs with several threads.
767 Maintaining Large Programs
769 * Version Control::     Using version control systems.
770 * Change Log::          Maintaining a change history for your program.
771 * Tags::                Go directly to any function in your program in one
772                           command.  Tags remembers which file it is in.
773 * EDE::                 An integrated development environment for Emacs.
774 @ifnottex
775 * Emerge::              A convenient way of merging two versions of a program.
776 @end ifnottex
778 Version Control
780 * Introduction to VC::  How version control works in general.
781 * VC Mode Line::        How the mode line shows version control status.
782 * Basic VC Editing::    How to edit a file under version control.
783 * Log Buffer::          Features available in log entry buffers.
784 * Registering::         Putting a file under version control.
785 * Old Revisions::       Examining and comparing old versions.
786 * VC Change Log::       Viewing the VC Change Log.
787 * VC Undo::             Canceling changes before or after committing.
788 * VC Directory Mode::   Listing files managed by version control.
789 * Branches::            Multiple lines of development.
790 @ifnottex
791 * Miscellaneous VC::    Various other commands and features of VC.
792 * Customizing VC::      Variables that change VC's behavior.
793 @end ifnottex
795 Introduction to Version Control
797 * Why Version Control?::    Understanding the problems it addresses.
798 * Version Control Systems:: Supported version control back-end systems.
799 * VCS Concepts::            Words and concepts related to version control.
800 * VCS Merging::             How file conflicts are handled.
801 * VCS Changesets::          How changes are grouped.
802 * VCS Repositories::        Where version control repositories are stored.
803 * Types of Log File::       The VCS log in contrast to the ChangeLog.
805 Basic Editing under Version Control
807 * VC With A Merging VCS::  Without locking: default mode for CVS.
808 * VC With A Locking VCS::  RCS in its default mode, SCCS, and optionally CVS.
809 * Advanced C-x v v::       Advanced features available with a prefix argument.
811 VC Directory Mode
813 * VC Directory Buffer::   What the buffer looks like and means.
814 * VC Directory Commands:: Commands to use in a VC directory buffer.
816 Version Control Branches
818 * Switching Branches::    How to get to another existing branch.
819 * VC Pull::               Updating the contents of a branch.
820 * Merging::               Transferring changes between branches.
821 * Creating Branches::     How to start a new branch.
823 @ifnottex
824 Miscellaneous Commands and Features of VC
826 * Change Logs and VC::    Generating a change log file from log entries.
827 * VC Delete/Rename::      Deleting and renaming version-controlled files.
828 * Revision Tags::         Symbolic names for revisions.
829 * Version Headers::       Inserting version control headers into working files.
831 Customizing VC
833 * General VC Options::    Options that apply to multiple back ends.
834 * RCS and SCCS::          Options for RCS and SCCS.
835 * CVS Options::           Options for CVS.
836 @end ifnottex
838 Change Logs
840 * Change Log Commands:: Commands for editing change log files.
841 * Format of ChangeLog:: What the change log file looks like.
843 Tags Tables
845 * Tag Syntax::          Tag syntax for various types of code and text files.
846 * Create Tags Table::   Creating a tags table with @command{etags}.
847 * Etags Regexps::       Create arbitrary tags using regular expressions.
848 * Select Tags Table::   How to visit a tags table.
849 * Find Tag::            Commands to find the definition of a specific tag.
850 * Tags Search::         Using a tags table for searching and replacing.
851 * List Tags::           Using tags for completion, and listing them.
853 @ifnottex
854 Merging Files with Emerge
856 * Overview of Emerge::  How to start Emerge.  Basic concepts.
857 * Submodes of Emerge::  Fast mode vs. Edit mode.
858                           Skip Prefers mode and Auto Advance mode.
859 * State of Difference:: You do the merge by specifying state A or B
860                           for each difference.
861 * Merge Commands::      Commands for selecting a difference,
862                           changing states of differences, etc.
863 * Exiting Emerge::      What to do when you've finished the merge.
864 * Combining in Emerge::     How to keep both alternatives for a difference.
865 * Fine Points of Emerge::   Miscellaneous issues.
866 @end ifnottex
868 Abbrevs
870 * Abbrev Concepts::     Fundamentals of defined abbrevs.
871 * Defining Abbrevs::    Defining an abbrev, so it will expand when typed.
872 * Expanding Abbrevs::   Controlling expansion: prefixes, canceling expansion.
873 * Editing Abbrevs::     Viewing or editing the entire list of defined abbrevs.
874 * Saving Abbrevs::      Saving the entire list of abbrevs for another session.
875 * Dynamic Abbrevs::     Abbreviations for words already in the buffer.
876 * Dabbrev Customization:: What is a word, for dynamic abbrevs.  Case handling.
878 @ifnottex
879 Editing Pictures
881 * Basic Picture::         Basic concepts and simple commands of Picture Mode.
882 * Insert in Picture::     Controlling direction of cursor motion
883                             after "self-inserting" characters.
884 * Tabs in Picture::       Various features for tab stops and indentation.
885 * Rectangles in Picture:: Clearing and superimposing rectangles.
886 @end ifnottex
888 Dired, the Directory Editor
890 * Dired Enter::              How to invoke Dired.
891 * Dired Navigation::         Special motion commands in the Dired buffer.
892 * Dired Deletion::           Deleting files with Dired.
893 * Flagging Many Files::      Flagging files based on their names.
894 * Dired Visiting::           Other file operations through Dired.
895 * Marks vs Flags::           Flagging for deletion vs marking.
896 * Operating on Files::       How to copy, rename, print, compress, etc.
897                                either one file or several files.
898 * Shell Commands in Dired::  Running a shell command on the marked files.
899 * Transforming File Names::  Using patterns to rename multiple files.
900 * Comparison in Dired::      Running @code{diff} by way of Dired.
901 * Subdirectories in Dired::  Adding subdirectories to the Dired buffer.
902 @ifnottex
903 * Subdir Switches::          Subdirectory switches in Dired.
904 @end ifnottex
905 * Subdirectory Motion::      Moving across subdirectories, and up and down.
906 * Hiding Subdirectories::    Making subdirectories visible or invisible.
907 * Dired Updating::           Discarding lines for files of no interest.
908 * Dired and Find::           Using @code{find} to choose the files for Dired.
909 * Wdired::                   Operating on files by editing the Dired buffer.
910 * Image-Dired::              Viewing image thumbnails in Dired.
911 * Misc Dired Features::      Various other features.
913 The Calendar and the Diary
915 * Calendar Motion::     Moving through the calendar; selecting a date.
916 * Scroll Calendar::     Bringing earlier or later months onto the screen.
917 * Counting Days::       How many days are there between two dates?
918 * General Calendar::    Exiting or recomputing the calendar.
919 * Writing Calendar Files:: Writing calendars to files of various formats.
920 * Holidays::            Displaying dates of holidays.
921 * Sunrise/Sunset::      Displaying local times of sunrise and sunset.
922 * Lunar Phases::        Displaying phases of the moon.
923 * Other Calendars::     Converting dates to other calendar systems.
924 * Diary::               Displaying events from your diary.
925 * Appointments::        Reminders when it's time to do something.
926 * Importing Diary::     Converting diary events to/from other formats.
927 * Daylight Saving::     How to specify when daylight saving time is active.
928 * Time Intervals::      Keeping track of time intervals.
929 @ifnottex
930 * Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
931 @end ifnottex
933 Movement in the Calendar
935 * Calendar Unit Motion::      Moving by days, weeks, months, and years.
936 * Move to Beginning or End::  Moving to start/end of weeks, months, and years.
937 * Specified Dates::           Moving to the current date or another
938                                 specific date.
940 Conversion To and From Other Calendars
942 * Calendar Systems::       The calendars Emacs understands
943                              (aside from Gregorian).
944 * To Other Calendar::      Converting the selected date to various calendars.
945 * From Other Calendar::    Moving to a date specified in another calendar.
946 * Mayan Calendar::         Moving to a date specified in a Mayan calendar.
948 The Diary
950 * Displaying the Diary::   Viewing diary entries and associated calendar dates.
951 * Format of Diary File::   Entering events in your diary.
952 * Date Formats::           Various ways you can specify dates.
953 * Adding to Diary::        Commands to create diary entries.
954 * Special Diary Entries::  Anniversaries, blocks of dates, cyclic entries, etc.
956 @ifnottex
957 Customizing the Calendar and Diary
959 * Calendar Customizing::   Calendar layout and hooks.
960 * Holiday Customizing::    Defining your own holidays.
961 * Date Display Format::    Changing the format.
962 * Time Display Format::    Changing the format.
963 * Diary Customizing::      Defaults you can set.
964 * Non-Gregorian Diary::    Diary entries based on other calendars.
965 * Diary Display::          A choice of ways to display the diary.
966 * Fancy Diary Display::    Sorting diary entries, using included diary files.
967 * Sexp Diary Entries::     More flexible diary entries.
968 @end ifnottex
970 Sending Mail
972 * Mail Format::         Format of a mail message.
973 * Mail Headers::        Details of some standard mail header fields.
974 * Mail Aliases::        Abbreviating and grouping mail addresses.
975 * Mail Commands::       Special commands for editing mail being composed.
976 * Mail Signature::      Adding a signature to every message.
977 * Mail Amusements::     Distracting the NSA; adding fortune messages.
978 * Mail Methods::        Using alternative mail-composition methods.
980 Mail Commands
982 * Mail Sending::        Commands to send the message.
983 * Header Editing::      Commands to move to header fields and edit them.
984 * Citing Mail::         Quoting a message you are replying to.
985 * Mail Misc::           Attachments, spell checking, etc.
987 Reading Mail with Rmail
989 * Rmail Basics::        Basic concepts of Rmail, and simple use.
990 * Rmail Scrolling::     Scrolling through a message.
991 * Rmail Motion::        Moving to another message.
992 * Rmail Deletion::      Deleting and expunging messages.
993 * Rmail Inbox::         How mail gets into the Rmail file.
994 * Rmail Files::         Using multiple Rmail files.
995 * Rmail Output::        Copying message out to files.
996 * Rmail Labels::        Classifying messages by labeling them.
997 * Rmail Attributes::    Certain standard labels, called attributes.
998 * Rmail Reply::         Sending replies to messages you are viewing.
999 * Rmail Summary::       Summaries show brief info on many messages.
1000 * Rmail Sorting::       Sorting messages in Rmail.
1001 * Rmail Display::       How Rmail displays a message; customization.
1002 * Rmail Coding::        How Rmail handles decoding character sets.
1003 * Rmail Editing::       Editing message text and headers in Rmail.
1004 * Rmail Digest::        Extracting the messages from a digest message.
1005 * Rmail Rot13::         Reading messages encoded in the rot13 code.
1006 * Movemail::            More details of fetching new mail.
1007 * Remote Mailboxes::    Retrieving mail from remote mailboxes.
1008 * Other Mailbox Formats:: Retrieving mail from local mailboxes in
1009                           various formats.
1011 Rmail Summaries
1013 * Rmail Make Summary::  Making various sorts of summaries.
1014 * Rmail Summary Edit::  Manipulating messages from the summary.
1016 Gnus
1018 * Buffers of Gnus::     The group, summary, and article buffers.
1019 * Gnus Startup::        What you should know about starting Gnus.
1020 * Gnus Group Buffer::   A short description of Gnus group commands.
1021 * Gnus Summary Buffer:: A short description of Gnus summary commands.
1023 Document Viewing
1025 * DocView Navigation::  Navigating DocView buffers.
1026 * DocView Searching::   Searching inside documents.
1027 * DocView Slicing::     Specifying which part of a page is displayed.
1028 * DocView Conversion::  Influencing and triggering conversion.
1030 Running Shell Commands from Emacs
1032 * Single Shell::        How to run one shell command and return.
1033 * Interactive Shell::   Permanent shell taking input via Emacs.
1034 * Shell Mode::          Special Emacs commands used with permanent shell.
1035 * Shell Prompts::       Two ways to recognize shell prompts.
1036 * Shell History::       Repeating previous commands in a shell buffer.
1037 * Directory Tracking::  Keeping track when the subshell changes directory.
1038 * Shell Options::       Options for customizing Shell mode.
1039 * Terminal emulator::   An Emacs window as a terminal emulator.
1040 * Term Mode::           Special Emacs commands used in Term mode.
1041 * Remote Host::         Connecting to another computer.
1042 * Serial Terminal::     Connecting to a serial port.
1044 Shell Command History
1046 * Shell Ring::           Fetching commands from the history list.
1047 * Shell History Copying::Moving to a command and then copying it.
1048 * History References::   Expanding @samp{!}-style history references.
1050 Using Emacs as a Server
1052 * Invoking emacsclient:: Connecting to the Emacs server.
1053 * emacsclient Options::  Emacs client startup options.
1055 Printing Hard Copies
1057 * PostScript::           Printing buffers or regions as PostScript.
1058 * PostScript Variables:: Customizing the PostScript printing commands.
1059 * Printing Package::     An optional advanced printing interface.
1061 Hyperlinking and Navigation Features
1063 * Browse-URL::          Following URLs.
1064 * Goto Address mode::   Activating URLs.
1065 * FFAP::                Finding files etc. at point.
1067 Emacs Lisp Packages
1069 * Package Menu::         Buffer for viewing and managing packages.
1070 * Package Installation:: Options for package installation.
1071 * Package Files::        Where packages are installed.
1073 Customization
1075 * Easy Customization::  Convenient way to browse and change settings.
1076 * Variables::           Many Emacs commands examine Emacs variables
1077                           to decide what to do; by setting variables,
1078                           you can control their functioning.
1079 * Key Bindings::        The keymaps say what command each key runs.
1080                           By changing them, you can "redefine" keys.
1081 * Init File::           How to write common customizations in the
1082                           initialization file.
1084 Easy Customization Interface
1086 * Customization Groups::     How settings are classified.
1087 * Browsing Custom::          Browsing and searching for settings.
1088 * Changing a Variable::      How to edit an option's value and set the option.
1089 * Saving Customizations::    Saving customizations for future Emacs sessions.
1090 * Face Customization::       How to edit the attributes of a face.
1091 * Specific Customization::   Customizing specific settings or groups.
1092 * Custom Themes::            Collections of customization settings.
1093 * Creating Custom Themes::   How to create a new custom theme.
1095 Variables
1097 * Examining::           Examining or setting one variable's value.
1098 * Hooks::               Hook variables let you specify programs for parts
1099                           of Emacs to run on particular occasions.
1100 * Locals::              Per-buffer values of variables.
1101 * File Variables::      How files can specify variable values.
1102 * Directory Variables:: How variable values can be specified by directory.
1104 Local Variables in Files
1106 * Specifying File Variables:: Specifying file local variables.
1107 * Safe File Variables::       Making sure file local variables are safe.
1109 Customizing Key Bindings
1111 * Keymaps::             Generalities.  The global keymap.
1112 * Prefix Keymaps::      Keymaps for prefix keys.
1113 * Local Keymaps::       Major and minor modes have their own keymaps.
1114 * Minibuffer Maps::     The minibuffer uses its own local keymaps.
1115 * Rebinding::           How to redefine one key's meaning conveniently.
1116 * Init Rebinding::      Rebinding keys with your initialization file.
1117 * Modifier Keys::       Using modifier keys in key bindings.
1118 * Function Keys::       Rebinding terminal function keys.
1119 * Named ASCII Chars::   Distinguishing @key{TAB} from @kbd{C-i}, and so on.
1120 * Mouse Buttons::       Rebinding mouse buttons in Emacs.
1121 * Disabling::           Disabling a command means confirmation is required
1122                           before it can be executed.  This is done to protect
1123                           beginners from surprises.
1125 The Emacs Initialization File
1127 * Init Syntax::         Syntax of constants in Emacs Lisp.
1128 * Init Examples::       How to do some things with an init file.
1129 * Terminal Init::       Each terminal type can have an init file.
1130 * Find Init::           How Emacs finds the init file.
1131 * Init Non-ASCII::      Using non-@acronym{ASCII} characters in an init file.
1133 Dealing with Emacs Trouble
1135 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
1136 * Stuck Recursive::     `[...]' in mode line around the parentheses.
1137 * Screen Garbled::      Garbage on the screen.
1138 * Text Garbled::        Garbage in the text.
1139 * Memory Full::         How to cope when you run out of memory.
1140 * After a Crash::       Recovering editing in an Emacs session that crashed.
1141 * Emergency Escape::    What to do if Emacs stops responding.
1143 Reporting Bugs
1145 * Known Problems::      How to read about known problems and bugs.
1146 * Bug Criteria::        Have you really found a bug?
1147 * Understanding Bug Reporting:: How to report a bug effectively.
1148 * Checklist::           Steps to follow for a good bug report.
1149 * Sending Patches::     How to send a patch for GNU Emacs.
1151 Command Line Arguments for Emacs Invocation
1153 * Action Arguments::    Arguments to visit files, load libraries,
1154                           and call functions.
1155 * Initial Options::     Arguments that take effect while starting Emacs.
1156 * Command Example::     Examples of using command line arguments.
1157 * Environment::         Environment variables that Emacs uses.
1158 * Display X::           Changing the default display and using remote login.
1159 * Font X::              Choosing a font for text, under X.
1160 * Colors X::            Choosing display colors.
1161 * Window Size X::       Start-up window size, under X.
1162 * Borders X::           Internal and external borders, under X.
1163 * Title X::             Specifying the initial frame's title.
1164 * Icons X::             Choosing what sort of icon to use, under X.
1165 * Misc X::              Other display options.
1167 Environment Variables
1169 * General Variables::   Environment variables that all versions of Emacs use.
1170 * Misc Variables::      Certain system-specific variables.
1171 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
1173 X Options and Resources
1175 * Resources::           Using X resources with Emacs (in general).
1176 * Table of Resources::  Table of specific X resources that affect Emacs.
1177 * Lucid Resources::     X resources for Lucid menus.
1178 * LessTif Resources::   X resources for LessTif and Motif menus.
1179 * GTK resources::       Resources for GTK widgets.
1181 GTK resources
1183 * GTK Resource Basics::   Basic usage of GTK+ resources.
1184 * GTK Widget Names::      How GTK+ widgets are named.
1185 * GTK Names in Emacs::    GTK widgets used by Emacs.
1186 * GTK styles::            What can be customized in a GTK widget.
1188 Emacs and Mac OS / GNUstep
1190 * Mac / GNUstep Basics::        Basic Emacs usage under GNUstep or Mac OS.
1191 * Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS.
1192 * Mac / GNUstep Events::        How window system events are handled.
1193 * GNUstep Support::             Details on status of GNUstep support.
1195 Emacs and Microsoft Windows/MS-DOS
1197 * Windows Startup::     How to start Emacs on Windows.
1198 * Text and Binary::     Text files use CRLF to terminate lines.
1199 * Windows Files::       File-name conventions on Windows.
1200 * ls in Lisp::          Emulation of @code{ls} for Dired.
1201 * Windows HOME::        Where Emacs looks for your @file{.emacs} and
1202                           where it starts up.
1203 * Windows Keyboard::    Windows-specific keyboard features.
1204 * Windows Mouse::       Windows-specific mouse features.
1205 * Windows Processes::   Running subprocesses on Windows.
1206 * Windows Printing::    How to specify the printer on MS-Windows.
1207 * Windows Fonts::       Specifying fonts on MS-Windows.
1208 * Windows Misc::        Miscellaneous Windows features.
1209 @ifnottex
1210 * MS-DOS::              Using Emacs on MS-DOS.
1212 Emacs and MS-DOS
1214 * MS-DOS Keyboard::     Keyboard conventions on MS-DOS.
1215 * MS-DOS Mouse::        Mouse conventions on MS-DOS.
1216 * MS-DOS Display::      Fonts, frames and display size on MS-DOS.
1217 * MS-DOS File Names::   File name conventions on MS-DOS.
1218 * MS-DOS Printing::     Printing specifics on MS-DOS.
1219 * MS-DOS and MULE::     Support for internationalization on MS-DOS.
1220 * MS-DOS Processes::    Running subprocesses on MS-DOS.
1221 @end ifnottex
1223 @end detailmenu
1224 @end menu
1226 @iftex
1227 @unnumbered Preface
1229   This manual documents the use and simple customization of the Emacs
1230 editor.  Simple Emacs customizations do not require you to be a
1231 programmer, but if you are not interested in customizing, you can
1232 ignore the customization hints.
1234   This is primarily a reference manual, but can also be used as a
1235 primer.  If you are new to Emacs, we recommend you start with
1236 the integrated, learn-by-doing tutorial, before reading the manual.  To
1237 run the tutorial, start Emacs and type @kbd{C-h t}.  The tutorial
1238 describes commands, tells you when to try them, and explains the
1239 results.  The tutorial is available in several languages.
1241   On first reading, just skim chapters 1 and 2, which describe the
1242 notational conventions of the manual and the general appearance of the
1243 Emacs display screen.  Note which questions are answered in these
1244 chapters, so you can refer back later.  After reading chapter 4, you
1245 should practice the commands shown there.  The next few chapters
1246 describe fundamental techniques and concepts that are used constantly.
1247 You need to understand them thoroughly, so experiment with them
1248 until you are fluent.
1250   Chapters 14 through 19 describe intermediate-level features that are
1251 useful for many kinds of editing.  Chapter 20 and following chapters
1252 describe optional but useful features; read those chapters when you
1253 need them.
1255   Read the Common Problems chapter if Emacs does not seem to be
1256 working properly.  It explains how to cope with several common
1257 problems (@pxref{Lossage,, Dealing with Emacs Trouble}), as well as
1258 when and how to report Emacs bugs (@pxref{Bugs}).
1260   To find the documentation of a particular command, look in the index.
1261 Keys (character commands) and command names have separate indexes.
1262 There is also a glossary, with a cross reference for each term.
1264   This manual is available as a printed book and also as an Info file.
1265 The Info file is for reading from Emacs itself, or with the Info program.
1266 Info is the principal format for documentation in the GNU system.
1267 The Info file and the printed book contain substantially the same text
1268 and are generated from the same source files, which are also
1269 distributed with GNU Emacs.
1271   GNU Emacs is a member of the Emacs editor family.  There are many
1272 Emacs editors, all sharing common principles of organization.  For
1273 information on the underlying philosophy of Emacs and the lessons
1274 learned from its development, see @cite{Emacs, the Extensible,
1275 Customizable Self-Documenting Display Editor}, available from
1276 @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1278 This version of the manual is mainly intended for use with GNU Emacs
1279 installed on GNU and Unix systems.  GNU Emacs can also be used on
1280 MS-DOS, Microsoft Windows, and Macintosh systems.  The Info file
1281 version of this manual contains some more information about using
1282 Emacs on those systems.  Those systems use different file name syntax;
1283 in addition MS-DOS does not support all GNU Emacs features.
1284 @xref{Microsoft Windows}, for information about using Emacs on
1285 Windows.  @xref{Mac OS / GNUstep}, for information about using Emacs
1286 on Macintosh (and GNUstep).
1287 @end iftex
1289 @node Distrib, Intro, Top, Top
1290 @unnumbered Distribution
1292 GNU Emacs is @dfn{free software}; this means that everyone is free to
1293 use it and free to redistribute it under certain conditions.  GNU Emacs
1294 is not in the public domain; it is copyrighted and there are
1295 restrictions on its distribution, but these restrictions are designed
1296 to permit everything that a good cooperating citizen would want to do.
1297 What is not allowed is to try to prevent others from further sharing
1298 any version of GNU Emacs that they might get from you.  The precise
1299 conditions are found in the GNU General Public License that comes with
1300 Emacs and also appears in this manual@footnote{This manual is itself
1301 covered by the GNU Free Documentation License.  This license is
1302 similar in spirit to the General Public License, but is more suitable
1303 for documentation.  @xref{GNU Free Documentation License}.}.
1304 @xref{Copying}.
1306 One way to get a copy of GNU Emacs is from someone else who has it.
1307 You need not ask for our permission to do so, or tell any one else;
1308 just copy it.  If you have access to the Internet, you can get the
1309 latest distribution version of GNU Emacs by anonymous FTP; see
1310 @url{http://www.gnu.org/software/emacs} on our website for more
1311 information.
1313 You may also receive GNU Emacs when you buy a computer.  Computer
1314 manufacturers are free to distribute copies on the same terms that apply to
1315 everyone else.  These terms require them to give you the full sources,
1316 including whatever changes they may have made, and to permit you to
1317 redistribute the GNU Emacs received from them under the usual terms of the
1318 General Public License.  In other words, the program must be free for you
1319 when you get it, not just free for the manufacturer.
1321 If you find GNU Emacs useful, please @strong{send a donation} to the
1322 Free Software Foundation to support our work.  Donations to the Free
1323 Software Foundation are tax deductible in the US.  If you use GNU Emacs
1324 at your workplace, please suggest that the company make a donation. 
1325 For more information on how you can help, see
1326 @url{http://www.gnu.org/help/help.html}.
1328 We also sell hardcopy versions of this manual and @cite{An
1329 Introduction to Programming in Emacs Lisp}, by Robert J.@: Chassell.
1330 You can visit our online store at @url{http://shop.fsf.org/}.
1331 The income from sales goes to support the foundation's purpose: the
1332 development of new free software, and improvements to our existing
1333 programs including GNU Emacs.
1335 If you need to contact the Free Software Foundation, see
1336 @url{http://www.fsf.org/about/contact/}, or write to
1338 @display
1339 Free Software Foundation
1340 51 Franklin Street, Fifth Floor
1341 Boston, MA 02110-1301
1343 @end display
1345 @iftex
1346 @node Acknowledgments, Intro, Distrib, Top
1347 @unnumberedsec Acknowledgments
1349 Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1350 Abrahamsson, Jay K.@: Adams, Alon Albert, Michael Albinus, Nagy
1351 Andras, Benjamin Andresen, Ralf Angeli, Joe Arceneaux, Emil Åström,
1352 Miles Bader, David Bakhash, Juanma Barranquero, Eli Barzilay, Thomas
1353 Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@: Belikoff,
1354 Thomas Bellman, Scott Bender, Boaz Ben-Zvi, Sergey Berezin, Karl
1355 Berry, Anna M.@: Bigatti, Ray Blaak, Martin Blais, Jim Blandy, Johan
1356 Bockgård, Jan Böcker, Joel Boehland, Lennart Borgman, Per Bothner,
1357 Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin
1358 Broadey, Vincent Broman, Michael Brouwer, David M.@: Brown, Stefan Bruda,
1359 Georges Brun-Cottan, Joe Buehler, Scott Byer, W@l{}odek Bzyl,
1360 Bill Carpenter, Per Cederqvist, Hans Chalupsky, Chris Chase, Bob
1361 Chassell, Andrew Choi, Chong Yidong, Sacha Chua, Stewart Clamen, James
1362 Clark, Mike Clarkson, Glynn Clements, Andrew Cohen, Daniel Colascione,
1363 Edward O'Connor, Christoph Conrad, Ludovic Courtès, Andrew Csillag,
1364 Toby Cubitt, Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki
1365 Das, Vivek Dasmohapatra, Dan Davison, Michael DeCorte, Gary Delp, Nachum
1366 Dershowitz, Dave Detlefs, Matthieu Devin, Christophe de Dinechin, Eri
1367 Ding, Jan Djärv, Lawrence R.@: Dodd, Carsten Dominik, Scott Draves,
1368 Benjamin Drieu, Viktor Dukhovni, Jacques Duthen, Dmitry Dzhus, John
1369 Eaton, Rolf Ebert, Carl Edman, David Edmondson, Paul Eggert, Stephen
1370 Eglen, Christian Egli, Torbjörn Einarsson, Tsugutomo Enami, David
1371 Engster, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick
1372 Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary
1373 Foster, Eric S.@: Fraga, Romain Francoise, Noah Friedman, Andreas
1374 Fuchs, Shigeru Fukaya, Hallvard Furuseth, Keith Gabryelski, Peter S.@:
1375 Galbraith, Kevin Gallagher, Kevin Gallo, Juan León Lahoz García,
1376 Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David
1377 Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris
1378 Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd
1379 Gripenstam, Kai Großjohann, Michael Gschwind, Bastien Guerry, Henry
1380 Guillaume, Doug Gwyn, Bruno Haible, Ken'ichi Handa, Lars Hansen, Chris
1381 Hanson, Jesper Harder, Alexandru Harsanyi, K.@: Shane Hartman, John
1382 Heidemann, Jon K.@: Hellan, Magnus Henoch, Markus Heritsch, Dirk
1383 Herrmann, Karl Heuer, Manabu Higashida, Konrad Hinsen, Anders Holst,
1384 Jeffrey C.@: Honig, Tassilo Horn, Kurt Hornik, Tom Houlder, Joakim
1385 Hove, Denis Howe, Lars Ingebrigtsen, Andrew Innes, Seiichiro Inoue,
1386 Philip Jackson, Martyn Jago, Pavel Janik, Paul Jarc, Ulf Jasper,
1387 Thorsten Jolitz, Michael K.@: Johnson, Kyle Jones, Terry Jones, Simon
1388 Josefsson, Alexandre Julliard, Arne Jørgensen, Tomoji Kagatani,
1389 Brewster Kahle, Tokuya Kameshima, Lute Kamstra, Ivan Kanis, David
1390 Kastrup, David Kaufman, Henry Kautz, Taichi Kawabata, Taro Kawagishi,
1391 Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel
1392 Klí@v{c}, Shuhei Kobayashi, Pavel Kobyakov, Larry K.@: Kolodney, David
1393 M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian Kremer,
1394 Ryszard Kubiak, Igor Kuzmin, David Kågedal, Daniel LaLiberte, Karl
1395 Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, Vinicius Jose
1396 Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Christian
1397 Limpach, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link,
1398 Juri Linkov, Francis Litterio, Sergey Litvinov, Emilio C.@: Lopes,
1399 Martin Lorentzon, Dave Love, Eric Ludlam, Károly L@H{o}rentey, Sascha
1400 Lüdecke, Greg McGary, Roland McGrath, Michael McNamara, Alan Mackenzie,
1401 Christopher J.@: Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann,
1402 Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin,
1403 Yukihiro Matsumoto, David Maus, Thomas May, Will Mengarini, David
1404 Megginson, Stefan Merten, Ben A.@: Mesander, Wayne Mesard, Brad
1405 Miller, Lawrence Mitchell, Richard Mlynarik, Gerd Moellmann, Stefan
1406 Monnier, Keith Moore, Jan Moringen, Morioka Tomohiko, Glenn Morris,
1407 Don Morrison, Diane Murray, Riccardo Murri, Sen Nagata, Erik Naggum,
1408 Gergely Nagy, Nobuyoshi Nakada, Thomas Neumann, Mike Newton, Thien-Thi Nguyen,
1409 Jurgen Nickelsen, Dan Nicolaescu, Hrvoje Niksic, Jeff Norden,
1410 Andrew Norman, Kentaro Ohkouchi, Christian Ohler,
1411 Kenichi Okada, Alexandre Oliva, Bob Olson, Michael Olson, Takaaki Ota,
1412 Pieter E.@: J.@: Pareit, Ross Patterson, David Pearson, Juan Pechiar,
1413 Jeff Peck, Damon Anton Permezel, Tom Perrine, William M.@: Perry, Per
1414 Persson, Jens Petersen, Daniel Pfeiffer, Justus Piater, Richard L.@:
1415 Pieri, Fred Pierresteguy, François Pinard, Daniel Pittman, Christian
1416 Plaunt, Alexander Pohoyda, David Ponce, Francesco A.@: Potorti,
1417 Michael D.@: Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin
1418 Ram, Eric S.@: Raymond, Paul Reilly, Edward M.@: Reingold, David
1419 Reitter, Alex Rezinsky, Rob Riepel, Lara Rios, Adrian Robert, Nick
1420 Roberts, Roland B.@: Roberts, John Robinson, Denis B.@: Roegel, Danny
1421 Roozendaal, Sebastian Rose, William Rosenblatt, Markus Rost, Guillermo
1422 J.@: Rozas, Martin Rudalics, Ivar Rummelhoff, Jason Rumney, Wolfgang
1423 Rupprecht, Benjamin Rutt, Kevin Ryde, James B.@: Salem, Masahiko Sato,
1424 Timo Savola, Jorgen Schaefer, Holger Schauer, William Schelter, Ralph
1425 Schleicher, Gregor Schmid, Michael Schmidt, Ronald S.@: Schnell,
1426 Philippe Schnoebelen, Jan Schormann, Alex Schroeder, Stefan Schoef,
1427 Rainer Schoepf, Raymond Scholz, Eric Schulte, Andreas Schwab, Randal
1428 Schwartz, Oliver Seidel, Manuel Serrano, Paul Sexton, Hovav Shacham,
1429 Stanislav Shalunov, Marc Shapiro, Richard Sharman, Olin Shivers, Tibor
1430 @v{S}imko, Espen Skoglund, Rick Sladkey, Lynn Slater, Chris Smith,
1431 David Smith, Paul D.@: Smith, Wilson Snyder, William Sommerfeld, Simon
1432 South, Andre Spiegel, Michael Staats, Thomas Steffen, Ulf Stegemann,
1433 Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson, Ken
1434 Stevens, Andy Stewart, Jonathan Stigelman, Martin Stjernholm, Kim F.@:
1435 Storm, Steve Strassmann, Christopher Suckling, Olaf Sylvester, Naoto
1436 Takahashi, Steven Tamm, Luc Teirlinck, Jean-Philippe Theberge, Jens
1437 T.@: Berger Thielemann, Spencer Thomas, Jim Thompson, Toru Tomabechi,
1438 David O'Toole, Markus Triska, Tom Tromey, Enami Tsugutomo, Eli
1439 Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil
1440 W.@: Van Dyke, Didier Verna, Joakim Verona, Ulrik Vieth, Geoffrey
1441 Voelker, Johan Vromans, Inge Wallin, John Paul Wallington, Colin
1442 Walters, Barry Warsaw, Christoph Wedler, Ilja Weis, Zhang Weize,
1443 Morten Welinder, Joseph Brian Wells, Rodney Whitby, John Wiegley,
1444 Sascha Wilde, Ed Wilkinson, Mike Williams, Roland Winkler, Bill
1445 Wohler, Steven A.@: Wood, Dale R.@: Worley, Francis J.@: Wright, Felix
1446 S.@: T.@: Wu, Tom Wurgler, Yamamoto Mitsuharu, Katsumi Yamaoka,
1447 Masatake Yamato, Jonathan Yavner, Ryan Yeske, Ilya Zakharevich, Milan
1448 Zamazal, Victor Zandy, Eli Zaretskii, Jamie Zawinski, Andrew Zhilin,
1449 Shenghuo Zhu, Piotr Zielinski, Ian T.@: Zimmermann, Reto Zimmermann,
1450 Neal Ziring, Teodor Zlatanov, and Detlev Zundel.
1451 @end iftex
1453 @node Intro, Glossary, Distrib, Top
1454 @unnumbered Introduction
1456   You are reading about GNU Emacs, the GNU incarnation of the
1457 advanced, self-documenting, customizable, extensible editor Emacs.
1458 (The `G' in `GNU' is not silent.)
1460   We call Emacs @dfn{advanced} because it can do much more than simple
1461 insertion and deletion of text.  It can control subprocesses, indent
1462 programs automatically, show multiple files at once, and more.
1463 Emacs editing commands operate in terms of characters, words, lines,
1464 sentences, paragraphs, and pages, as well as expressions and comments
1465 in various programming languages.
1467   @dfn{Self-documenting} means that at any time you can use special
1468 commands, known as @dfn{help commands}, to find out what your options
1469 are, or to find out what any command does, or to find all the
1470 commands that pertain to a given topic.  @xref{Help}.
1472   @dfn{Customizable} means that you can easily alter the behavior of
1473 Emacs commands in simple ways.  For instance, if you use a programming
1474 language in which comments start with @samp{<**} and end with
1475 @samp{**>}, you can tell the Emacs comment manipulation commands to
1476 use those strings (@pxref{Comments}).  To take another example, you
1477 can rebind the basic cursor motion commands (up, down, left and right)
1478 to any keys on the keyboard that you find comfortable.
1479 @xref{Customization}.
1481   @dfn{Extensible} means that you can go beyond simple customization
1482 and create entirely new commands.  New commands are simply programs
1483 written in the Lisp language, which are run by Emacs's own Lisp
1484 interpreter.  Existing commands can even be redefined in the middle of
1485 an editing session, without having to restart Emacs.  Most of the
1486 editing commands in Emacs are written in Lisp; the few exceptions
1487 could have been written in Lisp but use C instead for efficiency.
1488 Writing an extension is programming, but non-programmers can use it
1489 afterwards.  @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1490 Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1491 Lisp programming.
1493 @include screen.texi
1494 @include commands.texi
1495 @include entering.texi
1496 @include basic.texi
1497 @include mini.texi
1498 @include m-x.texi
1499 @include help.texi
1500 @include mark.texi
1501 @include killing.texi
1502 @include regs.texi
1503 @include display.texi
1504 @include search.texi
1505 @include fixit.texi
1506 @include kmacro.texi
1507 @c Includes arevert-xtra.
1508 @include files.texi
1509 @include buffers.texi
1510 @include windows.texi
1511 @include frames.texi
1512 @include mule.texi
1513 @include modes.texi
1514 @include indent.texi
1515 @include text.texi
1516 @c Includes fortran-xtra.
1517 @include programs.texi
1518 @include building.texi
1519 @c Includes vc1-xtra, emerge-xtra.
1520 @include maintaining.texi
1521 @include abbrevs.texi
1522 @c Includes dired-xtra.
1523 @include dired.texi
1524 @c Includes cal-xtra.
1525 @include calendar.texi
1526 @include sending.texi
1527 @include rmail.texi
1528 @c Includes picture-xtra.texi
1529 @include misc.texi
1530 @include package.texi
1531 @include custom.texi
1532 @include trouble.texi
1534 @node Copying, GNU Free Documentation License, Service, Top
1535 @appendix GNU GENERAL PUBLIC LICENSE
1536 @include gpl.texi
1538 @node GNU Free Documentation License, Emacs Invocation, Copying, Top
1539 @appendix GNU Free Documentation License
1540 @include doclicense.texi
1542 @include cmdargs.texi
1543 @include xresources.texi
1545 @include anti.texi
1546 @include macos.texi
1547 @c Includes msdog-xtra.
1548 @include msdog.texi
1549 @include gnu.texi
1550 @include glossary.texi
1551 @ifnottex
1552 @include ack.texi
1553 @end ifnottex
1555 @c The Option Index is produced only in the on-line version,
1556 @c because the index entries related to command-line options
1557 @c tend to point to the same pages and all begin with a dash.
1558 @c This, and the need to keep the node links consistent, are
1559 @c the reasons for the funky @iftex/@ifnottex dance below.
1560 @c The Option Index is _not_ before Key Index, because that
1561 @c would require changes in the glossary.texi's @node line.
1562 @c It is not after Concept Index for similar reasons.
1564 @iftex
1565 @node Key Index, Command Index, Glossary, Top
1566 @unnumbered Key (Character) Index
1567 @printindex ky
1568 @end iftex
1570 @ifnottex
1571 @node Key Index, Option Index, Glossary, Top
1572 @unnumbered Key (Character) Index
1573 @printindex ky
1575 @node Option Index, Command Index, Key Index, Top
1576 @unnumbered Command-Line Options Index
1577 @printindex op
1579 @node Command Index, Variable Index, Option Index, Top
1580 @unnumbered Command and Function Index
1581 @printindex fn
1582 @end ifnottex
1584 @iftex
1585 @node Command Index, Variable Index, Key Index, Top
1586 @unnumbered Command and Function Index
1587 @printindex fn
1588 @end iftex
1590 @node Variable Index, Concept Index, Command Index, Top
1591 @unnumbered Variable Index
1592 @printindex vr
1594 @node Concept Index, Acknowledgments, Variable Index, Top
1595 @unnumbered Concept Index
1596 @printindex cp
1598 @bye