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