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