emacs.texi 68.6 KB
Newer Older
Eli Zaretskii's avatar
Eli Zaretskii committed
1
\input texinfo  @c -*- coding: iso-latin-1 -*-
Glenn Morris's avatar
Glenn Morris committed
2

3
@setfilename ../../info/emacs
Glenn Morris's avatar
Glenn Morris committed
4 5 6 7
@settitle GNU Emacs Manual

@c The edition number appears in several places in this file
@set EDITION   Sixteenth
8
@include emacsver.texi
Glenn Morris's avatar
Glenn Morris committed
9 10 11 12 13

@copying
This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
updated for Emacs version @value{EMACSVER}.

14
Copyright @copyright{} 1985-1987, 1993-2011  Free Software Foundation, Inc.
Glenn Morris's avatar
Glenn Morris committed
15 16 17

@quotation
Permission is granted to copy, distribute and/or modify this document
18
under the terms of the GNU Free Documentation License, Version 1.3 or
Glenn Morris's avatar
Glenn Morris committed
19 20 21 22 23 24 25
any later version published by the Free Software Foundation; with the
Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
Manual,'' and with the Back-Cover Texts as in (a) below.  A copy of the
license is included in the section entitled ``GNU Free Documentation
License.''

26 27
(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
modify this GNU manual.  Buying copies from the FSF supports it in
Glenn Morris's avatar
Glenn Morris committed
28 29 30 31
developing GNU and promoting software freedom.''
@end quotation
@end copying

32
@documentencoding ISO-8859-1
33

Glenn Morris's avatar
Glenn Morris committed
34 35
@dircategory Emacs
@direntry
36
* Emacs: (emacs).       The extensible self-documenting text editor.
Glenn Morris's avatar
Glenn Morris committed
37 38 39 40 41
@end direntry

@c in general, keep the following line commented out, unless doing a
@c copy of this manual that will be published.  The manual should go
@c onto the distribution in the full, 8.5 x 11" size.
42
@c @smallbook
Glenn Morris's avatar
Glenn Morris committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105

@ifset smallbook
@smallbook
@end ifset

@c per rms and peterb, use 10pt fonts for the main text, mostly to
@c save on paper cost.
@c Do this inside @tex for now, so current makeinfo does not complain.
@tex
@ifset smallbook
@fonttextsize 10
\global\let\urlcolor=\Black % don't print links in grayscale
\global\let\linkcolor=\Black
@end ifset
\global\hbadness=6666 % don't worry about not-too-underfull boxes
@end tex

@defcodeindex op
@synindex pg cp

@iftex
@kbdinputstyle code

@shorttitlepage GNU Emacs Manual
@end iftex

@titlepage
@sp 6
@center @titlefont{GNU Emacs Manual}
@sp 4
@center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
@sp 5
@center Richard Stallman
@page
@vskip 0pt plus 1filll
@insertcopying

@sp 2
Published by the Free Software Foundation @*
51 Franklin Street, Fifth Floor @*
Boston, MA 02110-1301 USA @*
ISBN 1-882114-86-8

@sp 2
Cover art by Etienne Suvasa.

@end titlepage


@summarycontents
@contents


@ifnottex
@node Top, Distrib, (dir), (dir)
@top The Emacs Editor

Emacs is the extensible, customizable, self-documenting real-time
display editor.  This Info file describes how to edit with Emacs and
some of how to customize it; it corresponds to GNU Emacs version
@value{EMACSVER}.

@ifinfo
106 107
To learn more about the Info documentation system, type @kbd{h},
to visit a programmed instruction sequence for the Info commands.
Glenn Morris's avatar
Glenn Morris committed
108 109 110 111
@end ifinfo

For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
Emacs Lisp Reference Manual}.
112 113

@insertcopying
Glenn Morris's avatar
Glenn Morris committed
114 115 116
@end ifnottex

@menu
117 118
* Distrib::             How to get the latest Emacs distribution.
* Intro::               An introduction to Emacs concepts.
119
@c Note that in the printed manual, the glossary and indices come last.
120
* Glossary::            Terms used in this manual.
Glenn Morris's avatar
Glenn Morris committed
121 122

Indexes (each index contains a large menu)
123
* Key Index::           An item for each standard Emacs key sequence.
Glenn Morris's avatar
Glenn Morris committed
124 125 126 127 128
* Option Index::        An item for every command-line option.
* Command Index::       An item for each command name.
* Variable Index::      An item for each documented variable.
* Concept Index::       An item for each concept.

129 130
* Acknowledgments::     Major contributors to GNU Emacs.

Glenn Morris's avatar
Glenn Morris committed
131
Important General Concepts
132 133
* Screen::              How to interpret what you see on the screen.
* User Input::          Kinds of input events (characters, buttons,
Glenn Morris's avatar
Glenn Morris committed
134
                          function keys).
135
* Keys::                Key sequences: what you type to request one
Glenn Morris's avatar
Glenn Morris committed
136
                          editing action.
137
* Commands::            Named functions run by key sequences to do editing.
Glenn Morris's avatar
Glenn Morris committed
138
* Entering Emacs::      Starting Emacs from the shell.
139
* Exiting::             Stopping or killing Emacs.
Glenn Morris's avatar
Glenn Morris committed
140 141

Fundamental Editing Commands
142 143 144 145
* Basic::               The most basic editing commands.
* Minibuffer::          Entering arguments that are prompted for.
* M-x::                 Invoking commands by their names.
* Help::                Commands for asking Emacs about its commands.
Glenn Morris's avatar
Glenn Morris committed
146 147

Important Text-Changing Commands
148
* Mark::                The mark: how to delimit a "region" of text.
149 150
* Killing::             Killing (cutting) text.
* Yanking::             Recovering killed text.  Moving text. (Pasting.)
151
* Cut and Paste::       Clipboard and selections on graphical displays.
Glenn Morris's avatar
Glenn Morris committed
152
* Accumulating Text::   Other ways of copying text.
153 154
* Rectangles::          Operating on text in rectangular areas.
* CUA Bindings::        Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} to kill and yank.
155 156 157 158
* Registers::           Saving a text string or a location in the buffer.
* Display::             Controlling what text is displayed.
* Search::              Finding or replacing occurrences of a string.
* Fixit::               Commands especially useful for fixing typos.
159
* Keyboard Macros::     Recording a sequence of keystrokes to be replayed.
Glenn Morris's avatar
Glenn Morris committed
160 161

Major Structures of Emacs
162 163 164 165
* Files::               All about handling files.
* Buffers::             Multiple buffers; editing several files at once.
* Windows::             Viewing two pieces of text at once.
* Frames::              Running the same Emacs session in multiple X windows.
166
* International::       Using non-@acronym{ASCII} character sets.
Glenn Morris's avatar
Glenn Morris committed
167 168

Advanced Features
169
* Modes::               Major and minor modes alter Emacs' basic behavior.
170
* Indentation::         Editing the white space at the beginnings of lines.
171
* Text::                Commands and modes for editing human languages.
172 173
* Programs::            Commands and modes for editing programs.
* Building::            Compiling, running and debugging programs.
Glenn Morris's avatar
Glenn Morris committed
174
* Maintaining::         Features for maintaining large programs.
175
* Abbrevs::             Defining text abbreviations to reduce
176
                          the number of characters you must type.
177 178
* Dired::               Directory and file manager.
* Calendar/Diary::      Calendar and diary facilities.
Glenn Morris's avatar
Glenn Morris committed
179
* Sending Mail::        Sending mail in Emacs.
180
* Rmail::               Reading mail in Emacs.
181
* Gnus::                A flexible mail and news reader.
182
* Document View::       Viewing PDF, PS and DVI files.
183
* Shell::               Executing shell commands from Emacs.
184
* Emacs Server::        Using Emacs as an editing server.
185 186
* Printing::            Printing hardcopies of buffers or regions.
* Sorting::             Sorting lines, paragraphs or pages within Emacs.
187 188 189 190
@ifnottex
* Picture Mode::        Editing pictures made up of text characters.
@end ifnottex
* Editing Binary Files:: Editing binary files with Hexl mode.
Glenn Morris's avatar
Glenn Morris committed
191
* Saving Emacs Sessions:: Saving Emacs state from one session to the next.
192
* Recursive Edit::      Performing edits while "within another command".
193
* Emulation::           Emulating some other editors with Emacs.
Glenn Morris's avatar
Glenn Morris committed
194
* Hyperlinking::        Following links in buffers.
195
* Amusements::          Various games and hacks.
196
* Packages::            Installing additional features.
Glenn Morris's avatar
Glenn Morris committed
197 198 199
* Customization::       Modifying the behavior of Emacs.

Recovery from Problems
200 201 202
* Quitting::            Quitting and aborting.
* Lossage::             What to do if Emacs is hung or malfunctioning.
* Bugs::                How and when to report a bug.
Glenn Morris's avatar
Glenn Morris committed
203
* Contributing::        How to contribute improvements to Emacs.
204
* Service::             How to get help for your own Emacs needs.
Glenn Morris's avatar
Glenn Morris committed
205

206
Appendices
207 208 209
* Copying::             The GNU General Public License gives you permission
                          to redistribute GNU Emacs on certain terms;
                          it also explains that there is no warranty.
210 211 212
* GNU Free Documentation License:: The license for this documentation.
* Emacs Invocation::    Hairy startup options.
* X Resources::         X resources for customizing Emacs.
213
* Antinews::            Information about Emacs version 22.
214 215
* Mac OS / GNUstep::    Using Emacs under Mac OS and GNUstep.
* Microsoft Windows::   Using Emacs on Microsoft Windows and MS-DOS.
216
* Manifesto::           What's GNU?  Gnu's Not Unix!
217

Glenn Morris's avatar
Glenn Morris committed
218 219 220 221 222 223 224 225 226
@c Do NOT modify the following 3 lines!  They must have this form to
@c be correctly identified by `texinfo-multiple-files-update'.  In
@c particular, the detailed menu header line MUST be identical to the
@c value of `texinfo-master-menu-header'.  See texnfo-upd.el.

@detailmenu
 --- The Detailed Node Listing ---
 ---------------------------------

227
Here are some other nodes which are really subnodes of the ones
Glenn Morris's avatar
Glenn Morris committed
228 229 230 231
already listed, mentioned here so you can get to them in one step:

The Organization of the Screen

232
* Point::               The place in the text where editing commands operate.
Glenn Morris's avatar
Glenn Morris committed
233
* Echo Area::           Short messages appear at the bottom of the screen.
234
* Mode Line::           Interpreting the mode line.
Glenn Morris's avatar
Glenn Morris committed
235 236 237 238 239
* Menu Bar::            How to use the menu bar.

Basic Editing Commands

* Inserting Text::      Inserting text by simply typing it.
240 241
* Moving Point::        Moving the cursor to the place where you want to
                        change something.
242 243
* Erasing::             Deleting and killing text.
* Basic Undo::          Undoing recent changes in the text.
Glenn Morris's avatar
Glenn Morris committed
244 245
* Basic Files::         Visiting, creating, and saving files.
* Basic Help::          Asking what a character does.
246
* Blank Lines::         Making and deleting blank lines.
247
* Continuation Lines::  How Emacs displays lines too wide for the screen.
248
* Position Info::       What line, row, or column is point on?
249
* Arguments::           Numeric arguments for repeating a command N times.
250
* Repeating::           Repeating the previous command quickly.
Glenn Morris's avatar
Glenn Morris committed
251 252 253 254 255

The Minibuffer

* Minibuffer File::     Entering file names with the minibuffer.
* Minibuffer Edit::     How to edit in the minibuffer.
256 257 258
* Completion::          An abbreviation facility for minibuffer input.
* Minibuffer History::  Reusing recent minibuffer arguments.
* Repetition::          Re-executing commands that used the minibuffer.
Chong Yidong's avatar
Chong Yidong committed
259
* Passwords::           Entering passwords in the echo area.
Glenn Morris's avatar
Glenn Morris committed
260 261 262

Completion

263 264
* Completion Example::  Examples of using completion.
* Completion Commands:: A list of completion commands.
265
* Completion Exit::     Completion and minibuffer text submission.
266
* Completion Styles::   How completion matches are chosen.
267
* Completion Options::  Options for completion.
Glenn Morris's avatar
Glenn Morris committed
268 269 270

Help

271 272 273 274
* Help Summary::        Brief list of all Help commands.
* Key Help::            Asking what a key does in Emacs.
* Name Help::           Asking about a command, variable or function name.
* Apropos::             Asking what pertains to a given topic.
Glenn Morris's avatar
Glenn Morris committed
275
* Help Mode::           Special features of Help mode and Help buffers.
276
* Package Keywords::    Finding Lisp libraries by keywords (topics).
Glenn Morris's avatar
Glenn Morris committed
277
* Language Help::       Help relating to international language support.
278
* Misc Help::           Other help commands.
Juanma Barranquero's avatar
Juanma Barranquero committed
279
* Help Files::          Commands to display auxiliary help files.
280
* Help Echo::           Help on active text and tooltips (`balloon help').
Glenn Morris's avatar
Glenn Morris committed
281 282 283

The Mark and the Region

284 285 286 287
* Setting Mark::        Commands to set the mark.
* Marking Objects::     Commands to put region around textual units.
* Using Region::        Summary of ways to operate on contents of the region.
* Mark Ring::           Previous mark positions saved so you can go back there.
288 289
* Global Mark Ring::    Previous mark positions in various buffers.
* Shift Selection::     Using shifted cursor motion keys.
290
* Disabled Transient Mark:: Leaving regions unhighlighted by default.
Glenn Morris's avatar
Glenn Morris committed
291 292 293

Killing and Moving Text

294 295 296
* Deletion::            Commands for deleting small amounts of text and
                          blank areas.
* Killing by Lines::    How to kill entire lines of text at one time.
Glenn Morris's avatar
Glenn Morris committed
297
* Other Kill Commands:: Commands to kill large regions of text and
298
                          syntactic units such as words and sentences.
299
* Kill Options::        Options that affect killing.
Glenn Morris's avatar
Glenn Morris committed
300 301 302

Yanking

303
* Kill Ring::           Where killed text is stored.
304
* Earlier Kills::       Yanking something killed some time ago.
305
* Appending Kills::     Several kills in a row all yank together.
Glenn Morris's avatar
Glenn Morris committed
306

307 308 309 310 311 312
Killing and Yanking on Graphical Displays

* Clipboard::           How Emacs interacts with the system clipboard.
* Primary Selection::   The temporarily selected text selection.
* Secondary Selection:: Cutting without altering point and mark.

Glenn Morris's avatar
Glenn Morris committed
313 314
Registers

315 316 317 318 319 320 321
* Position Registers::      Saving positions in registers.
* Text Registers::          Saving text in registers.
* Rectangle Registers::     Saving rectangles in registers.
* Configuration Registers:: Saving window configurations in registers.
* Number Registers::        Numbers in registers.
* File Registers::          File names in registers.
* Bookmarks::               Bookmarks are like registers, but persistent.
Glenn Morris's avatar
Glenn Morris committed
322 323 324

Controlling the Display

325
* Scrolling::              Commands to move text up and down in a window.
326
* Recentering::            A scrolling command that centers the current line.
Glenn Morris's avatar
Glenn Morris committed
327 328
* Auto Scrolling::         Redisplay scrolls text automatically when needed.
* Horizontal Scrolling::   Moving text left and right in a window.
329 330
* Narrowing::              Restricting display and editing to a portion
                             of the buffer.
331
* View Mode::              Viewing read-only buffers.
Glenn Morris's avatar
Glenn Morris committed
332
* Follow Mode::            Follow mode lets two windows scroll as one.
333
* Faces::                  How to change the display style using faces.
334
* Colors::                 Specifying colors for faces.
Glenn Morris's avatar
Glenn Morris committed
335
* Standard Faces::         Emacs' predefined faces.
336
* Text Scale::             Increasing or decreasing text size in a buffer.
Glenn Morris's avatar
Glenn Morris committed
337 338 339 340 341 342 343 344 345 346 347
* Font Lock::              Minor mode for syntactic highlighting using faces.
* Highlight Interactively:: Tell Emacs what text to highlight.
* Fringes::                Enabling or disabling window fringes.
* Displaying Boundaries::  Displaying top and bottom of the buffer.
* Useless Whitespace::     Showing possibly-spurious trailing whitespace.
* Selective Display::      Hiding lines with lots of indentation.
* Optional Mode Line::     Optional mode line display features.
* Text Display::           How text characters are normally displayed.
* Cursor Display::         Features for displaying the cursor.
* Line Truncation::        Truncating lines to fit the screen width instead
                             of continuing them to multiple screen lines.
348
* Visual Line Mode::       Word wrap and screen line-based editing.
Glenn Morris's avatar
Glenn Morris committed
349 350 351 352
* Display Custom::         Information on variables for customizing display.

Searching and Replacement

353
* Incremental Search::     Search happens as you type the string.
Glenn Morris's avatar
Glenn Morris committed
354
* Nonincremental Search::  Specify entire string and then search.
355 356 357
* Word Search::            Search for sequence of words.
* Regexp Search::          Search for match for a regexp.
* Regexps::                Syntax of regular expressions.
Glenn Morris's avatar
Glenn Morris committed
358 359
* Regexp Backslash::       Regular expression constructs starting with `\'.
* Regexp Example::         A complex regular expression explained.
360 361
* Search Case::            To ignore case while searching, or not.
* Replace::                Search, and replace some or all matches.
Glenn Morris's avatar
Glenn Morris committed
362 363 364 365 366 367 368 369 370 371 372
* Other Repeating Search:: Operating on all matches for some regexp.

Incremental Search

* Basic Isearch::       Basic incremental search commands.
* Repeat Isearch::      Searching for the same string again.
* Error in Isearch::    When your string is not found.
* Special Isearch::     Special input in incremental search.
* Isearch Yank::        Commands that grab text into the search string
                          or else edit the search string.
* Isearch Scroll::      Scrolling during an incremental search.
Chong Yidong's avatar
Chong Yidong committed
373
* Isearch Minibuffer::  Incremental search of the minibuffer history.
Glenn Morris's avatar
Glenn Morris committed
374 375 376 377

Replacement Commands

* Unconditional Replace::  Replacing all matches for a string.
378
* Regexp Replace::         Replacing all matches for a regexp.
Glenn Morris's avatar
Glenn Morris committed
379
* Replacement and Case::   How replacements preserve case of letters.
380
* Query Replace::          How to use querying.
Glenn Morris's avatar
Glenn Morris committed
381 382 383

Commands for Fixing Typos

384
* Undo::                The Undo commands.
385
* Transpose::           Exchanging two characters, words, lines, lists...
Glenn Morris's avatar
Glenn Morris committed
386
* Fixing Case::         Correcting case of last word entered.
387
* Spelling::            Apply spelling checker to a word, or a whole file.
Glenn Morris's avatar
Glenn Morris committed
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410

Keyboard Macros

* Basic Keyboard Macro::     Defining and running keyboard macros.
* Keyboard Macro Ring::      Where previous keyboard macros are saved.
* Keyboard Macro Counter::   Inserting incrementing numbers in macros.
* Keyboard Macro Query::     Making keyboard macros do different things each time.
* Save Keyboard Macro::      Giving keyboard macros names; saving them in files.
* Edit Keyboard Macro::      Editing keyboard macros.
* Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
                                macro.

File Handling

* File Names::          How to type and edit file-name arguments.
* Visiting::            Visiting a file prepares Emacs to edit the file.
* Saving::              Saving makes your changes permanent.
* Reverting::           Reverting cancels all the changes not saved.
* Autorevert::          Auto Reverting non-file buffers.
* Auto Save::           Auto Save periodically protects against loss of data.
* File Aliases::        Handling multiple names for one file.
* Directories::         Creating, deleting, and listing file directories.
* Comparing Files::     Finding where two files differ.
411
* Diff Mode::           Mode for editing file differences.
Glenn Morris's avatar
Glenn Morris committed
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432
* Misc File Ops::       Other things you can do on files.
* Compressed Files::    Accessing compressed files.
* File Archives::       Operating on tar, zip, jar etc. archive files.
* Remote Files::        Accessing files on other sites.
* Quoted File Names::   Quoting special characters in file names.
* File Name Cache::     Completion against a list of files you often use.
* File Conveniences::   Convenience Features for Finding Files.
* Filesets::            Handling sets of files.

Saving Files

* Save Commands::       Commands for saving files.
* Backup::              How Emacs saves the old version of your file.
* Customize Save::      Customizing the saving of files.
* Interlocking::        How Emacs protects against simultaneous editing
                          of one file by two users.
* File Shadowing::      Copying files to "shadows" automatically.
* Time Stamps::         Emacs can update time stamps on saved files.

Backup Files

433 434 435
* Backup Names::        How backup files are named.
* Backup Deletion::     Emacs deletes excess numbered backups.
* Backup Copying::      Backups can be made by copying or renaming.
436 437 438 439 440 441

Auto Reverting Non-File Buffers

* Auto Reverting the Buffer Menu:: Auto Revert of the Buffer Menu.
* Auto Reverting Dired::           Auto Revert of Dired buffers.
* Supporting additional buffers::  How to add more Auto Revert support.
Glenn Morris's avatar
Glenn Morris committed
442 443 444

Auto-Saving: Protection Against Disasters

445 446 447
* Auto Save Files::     The file where auto-saved changes are
                          actually made until you save the file.
* Auto Save Control::   Controlling when and how often to auto-save.
448
* Recover::             Recovering text from auto-save files.
Glenn Morris's avatar
Glenn Morris committed
449 450 451 452 453

Using Multiple Buffers

* Select Buffer::       Creating a new buffer or reselecting an old one.
* List Buffers::        Getting a list of buffers that exist.
454 455
* Misc Buffer::         Renaming; changing read-onlyness; copying text.
* Kill Buffer::         Killing buffers you no longer need.
Glenn Morris's avatar
Glenn Morris committed
456
* Several Buffers::     How to go through the list of all buffers
457
                          and operate variously on several of them.
Glenn Morris's avatar
Glenn Morris committed
458 459 460 461
* Indirect Buffers::    An indirect buffer shares the text of another buffer.
* Buffer Convenience::  Convenience and customization features for
                          buffer handling.

462 463 464 465 466 467
Convenience Features and Customization of Buffer Handling

* Uniquify::            Making buffer names unique with directory parts.
* Iswitchb::            Switching between buffers with substrings.
* Buffer Menus::        Configurable buffer menu.

Glenn Morris's avatar
Glenn Morris committed
468 469 470 471 472 473 474
Multiple Windows

* Basic Window::        Introduction to Emacs windows.
* Split Window::        New windows are made by splitting existing windows.
* Other Window::        Moving to another window or doing something to it.
* Pop Up Window::       Finding a file or buffer in another window.
* Change Window::       Deleting windows and changing their sizes.
475
* Displaying Buffers::  How Emacs picks a window for displaying a buffer.
Glenn Morris's avatar
Glenn Morris committed
476 477 478 479
* Window Convenience::  Convenience functions for window handling.

Frames and Graphical Displays

480 481
* Mouse Commands::      Moving, cutting, and pasting, with the mouse.
* Word and Line Mouse:: Mouse commands for selecting whole words or lines.
Glenn Morris's avatar
Glenn Morris committed
482 483 484 485 486
* Mouse References::    Using the mouse to select an item from a list.
* Menu Mouse Clicks::   Mouse clicks that bring up menus.
* Mode Line Mouse::     Mouse clicks on the mode line.
* Creating Frames::     Creating additional Emacs frames with various contents.
* Frame Commands::      Iconifying, deleting, and switching frames.
Chong Yidong's avatar
Chong Yidong committed
487
* Fonts::               Changing the frame font.
Glenn Morris's avatar
Glenn Morris committed
488 489 490
* Speedbar::            How to make and use a speedbar frame.
* Multiple Displays::   How one Emacs job can talk to several displays.
* Frame Parameters::    Changing the colors and other modes of frames.
491
* Scroll Bars::         How to enable and disable scroll bars; how to use them.
Glenn Morris's avatar
Glenn Morris committed
492
* Drag and Drop::       Using drag and drop to open files and insert text.
493
* Menu Bars::           Enabling and disabling the menu bar.
Glenn Morris's avatar
Glenn Morris committed
494 495
* Tool Bars::           Enabling and disabling the tool bar.
* Dialog Boxes::        Controlling use of dialog boxes.
496
* Tooltips::            Displaying information at the current mouse position.
Glenn Morris's avatar
Glenn Morris committed
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520
* Mouse Avoidance::     Moving the mouse pointer out of the way.
* Non-Window Terminals::  Multiple frames on terminals that show only one.
* Text-Only Mouse::     Using the mouse in text-only terminals.

International Character Set Support

* International Chars::     Basic concepts of multibyte characters.
* Enabling Multibyte::      Controlling whether to use multibyte characters.
* Language Environments::   Setting things up for the language you use.
* Input Methods::           Entering text characters not on your keyboard.
* Select Input Method::     Specifying your choice of input methods.
* Coding Systems::          Character set conversion when you read and
                              write files, and so on.
* Recognize Coding::        How Emacs figures out which conversion to use.
* Specify Coding::          Specifying a file's coding system explicitly.
* Output Coding::           Choosing coding systems for output.
* Text Coding::             Choosing conversion to use for file text.
* Communication Coding::    Coding systems for interprocess communication.
* File Name Coding::        Coding systems for file @emph{names}.
* Terminal Coding::         Specifying coding systems for converting
                              terminal input and output.
* Fontsets::                Fontsets are collections of fonts
                              that cover the whole spectrum of characters.
* Defining Fontsets::       Defining a new fontset.
521
* Modifying Fontsets::      Modifying an existing fontset.
Glenn Morris's avatar
Glenn Morris committed
522 523 524 525 526
* Undisplayable Characters::When characters don't display.
* Unibyte Mode::            You can pick one European character set
                              to use without multibyte characters.
* Charsets::                How Emacs groups its internal character codes.

527
Modes
Glenn Morris's avatar
Glenn Morris committed
528

529 530 531 532
* Major Modes::         Text mode vs. Lisp mode vs. C mode...
* Minor Modes::         Each minor mode is a feature you can turn on
                          independently of any others.
* Choosing Modes::      How modes are chosen when visiting files.
Glenn Morris's avatar
Glenn Morris committed
533 534 535

Indentation

536 537 538 539
* Indentation Commands::  More commands for performing indentation.
* Tab Stops::             Stop points for indentation in Text modes.
* Just Spaces::           Using only space characters for indentation.
* Indent Convenience::    Optional indentation features.
Glenn Morris's avatar
Glenn Morris committed
540 541 542

Commands for Human Languages

543 544 545 546 547 548 549
* Words::               Moving over and killing words.
* Sentences::           Moving over and killing sentences.
* Paragraphs::          Moving over paragraphs.
* Pages::               Moving over pages.
* Filling::             Filling or justifying text.
* Case::                Changing the case of text.
* Text Mode::           The major modes for editing text files.
Glenn Morris's avatar
Glenn Morris committed
550
* Outline Mode::        Editing outlines.
551
* Org Mode::            The Emacs organizer.
552
* TeX Mode::            Editing input to the formatter TeX.
553
* HTML Mode::           Editing HTML and SGML files.
554
* Nroff Mode::          Editing input to the formatter nroff.
555 556
* Enriched Text::       Editing text ``enriched'' with fonts, colors, etc.
* Text Based Tables::   Commands for editing text-based tables.
557
* Two-Column::          Splitting text columns into separate windows.
Glenn Morris's avatar
Glenn Morris committed
558 559 560

Filling Text

561
* Auto Fill::           Auto Fill mode breaks long lines automatically.
Glenn Morris's avatar
Glenn Morris committed
562
* Fill Commands::       Commands to refill paragraphs and center lines.
563
* Fill Prefix::         Filling paragraphs that are indented
Glenn Morris's avatar
Glenn Morris committed
564 565 566 567 568
                          or in a comment, etc.
* Adaptive Fill::       How Emacs can determine the fill prefix automatically.

Outline Mode

569
* Outline Format::      What the text of an outline looks like.
570
* Outline Motion::      Special commands for moving through
571 572 573 574
                          outlines.
* Outline Visibility::  Commands to control what is visible.
* Outline Views::       Outlines and multiple views.
* Foldout::             Folding means zooming in on outlines.
Glenn Morris's avatar
Glenn Morris committed
575 576 577

@TeX{} Mode

578 579 580 581
* TeX Editing::         Special commands for editing in TeX mode.
* LaTeX Editing::       Additional commands for LaTeX input files.
* TeX Print::           Commands for printing part of a file with TeX.
* TeX Misc::            Customization of TeX mode, and related features.
Glenn Morris's avatar
Glenn Morris committed
582

583
Editing Enriched Text
Glenn Morris's avatar
Glenn Morris committed
584

585 586 587 588 589 590 591 592
* Enriched Mode::           Entering and exiting Enriched mode.
* Hard and Soft Newlines::  There are two different kinds of newlines.
* Editing Format Info::     How to edit text properties.
* Enriched Faces::          Bold, italic, underline, etc.
* Enriched Indentation::    Changing the left and right margins.
* Enriched Justification::  Centering, setting text flush with the
                              left or right margin, etc.
* Enriched Properties::     The "special" text properties submenu.
Glenn Morris's avatar
Glenn Morris committed
593

594 595 596 597 598
@c The automatic texinfo menu update inserts some duplicate items here
@c (faces, colors, indentation, justification, properties), because
@c they are listed in two menus.  But we already have them above, no
@c need to list them twice.

Glenn Morris's avatar
Glenn Morris committed
599 600 601 602 603 604 605
Editing Text-based Tables

* Table Definition::    What is a text based table.
* Table Creation::      How to create a table.
* Table Recognition::   How to activate and deactivate tables.
* Cell Commands::       Cell-oriented commands in a table.
* Cell Justification::  Justifying cell contents.
606
* Table Rows and Columns:: Inserting and deleting rows and columns.
Glenn Morris's avatar
Glenn Morris committed
607 608 609 610 611 612 613 614 615 616
* Table Conversion::    Converting between plain text and tables.
* Table Misc::          Table miscellany.

Editing Programs

* Program Modes::       Major modes for editing programs.
* Defuns::              Commands to operate on major top-level parts
                          of a program.
* Program Indent::      Adjusting indentation to show the nesting.
* Parentheses::         Commands that operate on parentheses.
617
* Comments::            Inserting, killing, and aligning comments.
Glenn Morris's avatar
Glenn Morris committed
618 619 620 621
* Documentation::       Getting documentation of functions you plan to call.
* Hideshow::            Displaying blocks selectively.
* Symbol Completion::   Completion on symbol names of your program or language.
* Glasses::             Making identifiersLikeThis more readable.
622
* Semantic::            Suite of editing tools based on source code parsing.
Glenn Morris's avatar
Glenn Morris committed
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
* Misc for Programs::   Other Emacs features useful for editing programs.
* C Modes::             Special commands of C, C++, Objective-C,
                          Java, and Pike modes.
* Asm Mode::            Asm mode and its special features.
* Fortran::             Fortran mode and its special features.

Top-Level Definitions, or Defuns

* Left Margin Paren::   An open-paren or similar opening delimiter
                          starts a defun if it is at the left margin.
* Moving by Defuns::    Commands to move over or mark a major definition.
* Imenu::               Making buffer indexes as menus.
* Which Function::      Which Function mode shows which function you are in.

Indentation for Programs

639
* Basic Indent::        Indenting a single line.
Glenn Morris's avatar
Glenn Morris committed
640
* Multi-line Indent::   Commands to reindent many lines at once.
641 642 643
* Lisp Indent::         Specifying how each Lisp function should be indented.
* C Indent::            Extra features for indenting C and related modes.
* Custom C Indent::     Controlling indentation style for C and related modes.
Glenn Morris's avatar
Glenn Morris committed
644 645 646 647 648 649

Commands for Editing with Parentheses

* Expressions::         Expressions with balanced parentheses.
* Moving by Parens::    Commands for moving up, down and across
                          in the structure of parentheses.
650
* Matching::            Insertion of a close-delimiter flashes matching open.
Glenn Morris's avatar
Glenn Morris committed
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672

Manipulating Comments

* Comment Commands::    Inserting, killing, and aligning comments.
* Multi-Line Comments:: Commands for adding and editing multi-line comments.
* Options for Comments::Customizing the comment features.

Documentation Lookup

* Info Lookup::         Looking up library functions and commands
                          in Info files.
* Man Page::            Looking up man pages of library functions and commands.
* Lisp Doc::            Looking up Emacs Lisp functions, etc.

C and Related Modes

* Motion in C::         Commands to move by C statements, etc.
* Electric C::          Colon and other chars can automatically reindent.
* Hungry Delete::       A more powerful DEL command.
* Other C Commands::    Filling comments, viewing expansion of macros,
                          and other neat features.

673 674
Fortran Mode

675 676 677 678 679 680
* Fortran Motion::      Moving point by statements or subprograms.
* Fortran Indent::      Indentation commands for Fortran.
* Fortran Comments::    Inserting and aligning comments.
* Fortran Autofill::    Auto fill support for Fortran.
* Fortran Columns::     Measuring columns for valid Fortran.
* Fortran Abbrev::      Built-in abbrevs for Fortran keywords.
681 682 683 684 685 686 687 688 689

Fortran Indentation

* ForIndent Commands::  Commands for indenting and filling Fortran.
* ForIndent Cont::      How continuation lines indent.
* ForIndent Num::       How line numbers auto-indent.
* ForIndent Conv::      Conventions you must obey to avoid trouble.
* ForIndent Vars::      Variables controlling Fortran indent style.

Glenn Morris's avatar
Glenn Morris committed
690 691
Compiling and Testing Programs

692 693
* Compilation::         Compiling programs in languages other
                          than Lisp (C, Pascal, etc.).
Glenn Morris's avatar
Glenn Morris committed
694 695 696 697 698
* Compilation Mode::    The mode for visiting compiler errors.
* Compilation Shell::   Customizing your shell properly
                          for use in the compilation buffer.
* Grep Searching::      Searching with grep.
* Flymake::             Finding syntax errors on the fly.
699 700 701 702
* Debuggers::           Running symbolic debuggers for non-Lisp programs.
* Executing Lisp::      Various modes for editing Lisp programs,
                          with different facilities for running
                          the Lisp programs.
703
* Lisp Libraries::      How Lisp programs are loaded into Emacs.
704
* Lisp Eval::           Executing a single Lisp expression in Emacs.
Glenn Morris's avatar
Glenn Morris committed
705
* Lisp Interaction::    Executing Lisp in an Emacs buffer.
706
* External Lisp::       Communicating through Emacs with a separate Lisp.
Glenn Morris's avatar
Glenn Morris committed
707 708 709

Running Debuggers Under Emacs

710 711 712 713
* Starting GUD::        How to start a debugger subprocess.
* Debugger Operation::  Connection between the debugger and source buffers.
* Commands of GUD::     Key bindings for common commands.
* GUD Customization::   Defining your own commands for GUD.
Glenn Morris's avatar
Glenn Morris committed
714 715 716 717
* GDB Graphical Interface::  An enhanced mode that uses GDB features to
                          implement a graphical debugging environment through
                          Emacs.

718 719
GDB Graphical Interface

720
* GDB User Interface Layout::   Control the number of displayed buffers.
721 722 723 724 725
* Source Buffers::              Use the mouse in the fringe/margin to
                                control your program.
* Breakpoints Buffer::          A breakpoint control panel.
* Threads Buffer::              Displays your threads.
* Stack Buffer::                Select a frame from the call stack.
726
* Other GDB Buffers::           Other buffers for controlling the GDB state.
727 728
* Watch Expressions::           Monitor variable values in the speedbar.
* Multithreaded Debugging::     Debugging programs with several threads.
729

Glenn Morris's avatar
Glenn Morris committed
730 731
Maintaining Large Programs

732
* Version Control::     Using version control systems.
733 734 735
* Change Log::          Maintaining a change history for your program.
* Tags::                Go directly to any function in your program in one
                          command.  Tags remembers which file it is in.
736
* EDE::                 An integrated development environment for Emacs.
Glenn Morris's avatar
Glenn Morris committed
737 738
* Emerge::              A convenient way of merging two versions of a program.

Chong Yidong's avatar
Chong Yidong committed
739 740 741 742 743
Version Control

* Introduction to VC::  How version control works in general.
* VC Mode Line::        How the mode line shows version control status.
* Basic VC Editing::    How to edit a file under version control.
744
* Log Buffer::          Features available in log entry buffers.
745
* Registering::         Putting a file under version control.
746
* Old Revisions::       Examining and comparing old versions.
747 748
* VC Change Log::       Viewing the VC Change Log.
* VC Undo::             Canceling changes before or after committing.
749
* VC Directory Mode::   Listing files managed by version control.
Chong Yidong's avatar
Chong Yidong committed
750
* Branches::            Multiple lines of development.
751
* Revision Tags::       Symbolic names for revisions.
Chong Yidong's avatar
Chong Yidong committed
752 753
* Miscellaneous VC::    Various other commands and features of VC.
* Customizing VC::      Variables that change VC's behavior.
754

755 756 757 758 759
Introduction to Version Control

* Why Version Control?::    Understanding the problems it addresses.
* Version Control Systems:: Supported version control back-end systems.
* VCS Concepts::            Words and concepts related to version control.
760 761 762
* VCS Merging::             How file conflicts are handled.
* VCS Changesets::          Changesets in version control.
* VCS Repositories::        Where version control repositories are stored.
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778
* Types of Log File::       The VCS log in contrast to the ChangeLog.

Basic Editing under Version Control

* VC With A Merging VCS::  Without locking: default mode for CVS.
* VC With A Locking VCS::  RCS in its default mode, SCCS, and optionally CVS.
* Advanced C-x v v::       Advanced features available with a prefix argument.

VC Directory Mode

* VC Directory Buffer::   What the buffer looks like and means.
* VC Directory Commands:: Commands to use in a VC directory buffer.

Multiple Branches of a File

* Switching Branches::    How to get to another existing branch.
779
* VC Pull::               Updating a branch from another branch.
780
* Merging::               Transferring changes between branches.
781
* Creating Branches::     How to start a new branch.
782 783 784 785

Miscellaneous Commands and Features of VC

* Change Logs and VC::    Generating a change log file from log entries.
786 787
* VC Delete/Rename::      Deleting and renaming version-controlled files.
* Revision Tags::         Symbolic names for revisions.
788 789 790 791 792 793 794 795 796 797 798 799
* Version Headers::       Inserting version control headers into working files.

Customizing VC

* General VC Options::    Options that apply to multiple back ends.
* RCS and SCCS::          Options for RCS and SCCS.
* CVS Options::           Options for CVS.

Change Logs

* Change Log Commands:: Commands for editing change log files.
* Format of ChangeLog:: What the change log file looks like.
Chong Yidong's avatar
Chong Yidong committed
800

Glenn Morris's avatar
Glenn Morris committed
801 802
Tags Tables

803 804
* Tag Syntax::          Tag syntax for various types of code and text files.
* Create Tags Table::   Creating a tags table with @code{etags}.
Glenn Morris's avatar
Glenn Morris committed
805
* Etags Regexps::       Create arbitrary tags using regular expressions.
806 807 808 809
* Select Tags Table::   How to visit a tags table.
* Find Tag::            Commands to find the definition of a specific tag.
* Tags Search::         Using a tags table for searching and replacing.
* List Tags::           Listing and finding tags defined in a file.
Glenn Morris's avatar
Glenn Morris committed
810

811 812
Merging Files with Emerge

813 814 815 816 817 818 819 820 821
* Overview of Emerge::  How to start Emerge.  Basic concepts.
* Submodes of Emerge::  Fast mode vs. Edit mode.
                          Skip Prefers mode and Auto Advance mode.
* State of Difference:: You do the merge by specifying state A or B
                          for each difference.
* Merge Commands::      Commands for selecting a difference,
                          changing states of differences, etc.
* Exiting Emerge::      What to do when you've finished the merge.
* Combining in Emerge::     How to keep both alternatives for a difference.
822 823
* Fine Points of Emerge::   Miscellaneous issues.

Glenn Morris's avatar
Glenn Morris committed
824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
Abbrevs

* Abbrev Concepts::     Fundamentals of defined abbrevs.
* Defining Abbrevs::    Defining an abbrev, so it will expand when typed.
* Expanding Abbrevs::   Controlling expansion: prefixes, canceling expansion.
* Editing Abbrevs::     Viewing or editing the entire list of defined abbrevs.
* Saving Abbrevs::      Saving the entire list of abbrevs for another session.
* Dynamic Abbrevs::     Abbreviations for words already in the buffer.
* Dabbrev Customization:: What is a word, for dynamic abbrevs.  Case handling.

@ifnottex
Editing Pictures

* Basic Picture::         Basic concepts and simple commands of Picture Mode.
* Insert in Picture::     Controlling direction of cursor motion
                            after "self-inserting" characters.
* Tabs in Picture::       Various features for tab stops and indentation.
* Rectangles in Picture:: Clearing and superimposing rectangles.
@end ifnottex

Dired, the Directory Editor

846
* Dired Enter::              How to invoke Dired.
847
* Dired Navigation::         Special motion commands in the Dired buffer.
Glenn Morris's avatar
Glenn Morris committed
848 849 850
* Dired Deletion::           Deleting files with Dired.
* Flagging Many Files::      Flagging files based on their names.
* Dired Visiting::           Other file operations through Dired.
851 852 853
* Marks vs Flags::           Flagging for deletion vs marking.
* Operating on Files::       How to copy, rename, print, compress, etc.
                               either one file or several files.
Glenn Morris's avatar
Glenn Morris committed
854 855
* Shell Commands in Dired::  Running a shell command on the marked files.
* Transforming File Names::  Using patterns to rename multiple files.
856
* Comparison in Dired::      Running `diff' by way of Dired.
Glenn Morris's avatar
Glenn Morris committed
857 858
* Subdirectories in Dired::  Adding subdirectories to the Dired buffer.
* Subdir Switches::          Subdirectory switches in Dired.
859
* Subdirectory Motion::      Moving across subdirectories, and up and down.
Glenn Morris's avatar
Glenn Morris committed
860 861
* Hiding Subdirectories::    Making subdirectories visible or invisible.
* Dired Updating::           Discarding lines for files of no interest.
862
* Dired and Find::           Using `find' to choose the files for Dired.
Glenn Morris's avatar
Glenn Morris committed
863
* Wdired::                   Operating on files by editing the Dired buffer.
864
* Image-Dired::              Viewing image thumbnails in Dired.
Glenn Morris's avatar
Glenn Morris committed
865 866 867 868 869 870 871 872 873 874 875 876 877 878
* Misc Dired Features::      Various other features.

The Calendar and the Diary

* Calendar Motion::     Moving through the calendar; selecting a date.
* Scroll Calendar::     Bringing earlier or later months onto the screen.
* Counting Days::       How many days are there between two dates?
* General Calendar::    Exiting or recomputing the calendar.
* Writing Calendar Files:: Writing calendars to files of various formats.
* Holidays::            Displaying dates of holidays.
* Sunrise/Sunset::      Displaying local times of sunrise and sunset.
* Lunar Phases::        Displaying phases of the moon.
* Other Calendars::     Converting dates to other calendar systems.
* Diary::               Displaying events from your diary.
879
* Appointments::        Reminders when it's time to do something.
Glenn Morris's avatar
Glenn Morris committed
880 881 882 883 884 885 886 887 888
* Importing Diary::     Converting diary events to/from other formats.
* Daylight Saving::    How to specify when daylight saving time is active.
* Time Intervals::      Keeping track of time intervals.
* Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.

Movement in the Calendar

* Calendar Unit Motion::      Moving by days, weeks, months, and years.
* Move to Beginning or End::  Moving to start/end of weeks, months, and years.
889 890
* Specified Dates::           Moving to the current date or another
                                specific date.
Glenn Morris's avatar
Glenn Morris committed
891 892 893

Conversion To and From Other Calendars

894 895 896 897 898
* Calendar Systems::       The calendars Emacs understands
                             (aside from Gregorian).
* To Other Calendar::      Converting the selected date to various calendars.
* From Other Calendar::    Moving to a date specified in another calendar.
* Mayan Calendar::         Moving to a date specified in a Mayan calendar.
Glenn Morris's avatar
Glenn Morris committed
899 900 901 902 903

The Diary

* Displaying the Diary::   Viewing diary entries and associated calendar dates.
* Format of Diary File::   Entering events in your diary.
904 905
* Date Formats::           Various ways you can specify dates.
* Adding to Diary::        Commands to create diary entries.
Glenn Morris's avatar
Glenn Morris committed
906 907
* Special Diary Entries::  Anniversaries, blocks of dates, cyclic entries, etc.

908 909 910 911 912 913 914 915
Customizing the Calendar and Diary

* Calendar Customizing::   Calendar layout and hooks.
* Holiday Customizing::    Defining your own holidays.
* Date Display Format::    Changing the format.
* Time Display Format::    Changing the format.
* Diary Customizing::      Defaults you can set.
* Non-Gregorian Diary::    Diary entries based on other calendars.
916 917 918
* Diary Display::          A choice of ways to display the diary.
* Fancy Diary Display::    Sorting diary entries, using included diary files.
* Sexp Diary Entries::     More flexible diary entries.
919 920

Document Viewing
921

922 923 924 925
* Navigation::  Navigation inside DocView buffers.
* Searching::   Searching inside documents.
* Slicing::     Specifying which part of pages should be displayed.
* Conversion::  Influencing and triggering conversion.
926

927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972
Sending Mail

* Mail Format::         Format of the mail being composed.
* Mail Headers::        Details of some standard mail header fields.
* Mail Aliases::        Abbreviating and grouping mail addresses.
* Mail Commands::       Special commands for editing mail being composed.
* Mail Signature::      Adding a signature to every message.
* Mail Amusements::     Distracting the NSA; adding fortune messages.
* Mail Methods::        Using alternative mail-composition methods.

Mail Commands

* Mail Sending::        Commands to send the message.
* Header Editing::      Commands to move to header fields and edit them.
* Citing Mail::         Quoting a message you are replying to.
* Mail Misc::           Attachments, spell checking, etc.

Reading Mail with Rmail

* Rmail Basics::        Basic concepts of Rmail, and simple use.
* Rmail Scrolling::     Scrolling through a message.
* Rmail Motion::        Moving to another message.
* Rmail Deletion::      Deleting and expunging messages.
* Rmail Inbox::         How mail gets into the Rmail file.
* Rmail Files::         Using multiple Rmail files.
* Rmail Output::        Copying message out to files.
* Rmail Labels::        Classifying messages by labeling them.
* Rmail Attributes::    Certain standard labels, called attributes.
* Rmail Reply::         Sending replies to messages you are viewing.
* Rmail Summary::       Summaries show brief info on many messages.
* Rmail Sorting::       Sorting messages in Rmail.
* Rmail Display::       How Rmail displays a message; customization.
* Rmail Coding::        How Rmail handles decoding character sets.
* Rmail Editing::       Editing message text and headers in Rmail.
* Rmail Digest::        Extracting the messages from a digest message.
* Rmail Rot13::         Reading messages encoded in the rot13 code.
* Movemail::            More details of fetching new mail.
* Remote Mailboxes::    Retrieving mail from remote mailboxes.
* Other Mailbox Formats:: Retrieving mail from local mailboxes in
                          various formats.

Rmail Summaries

* Rmail Make Summary::       Making various sorts of summaries.
* Rmail Summary Edit::       Manipulating messages from the summary.

Glenn Morris's avatar
Glenn Morris committed
973 974
Gnus

975 976 977
* Buffers of Gnus::     The group, summary, and article buffers.
* Gnus Startup::        What you should know about starting Gnus.
* Summary of Gnus::     A short description of the basic Gnus commands.
Glenn Morris's avatar
Glenn Morris committed
978 979 980

Running Shell Commands from Emacs

981 982 983
* Single Shell::        How to run one shell command and return.
* Interactive Shell::   Permanent shell taking input via Emacs.
* Shell Mode::          Special Emacs commands used with permanent shell.
Glenn Morris's avatar
Glenn Morris committed
984 985 986 987 988 989 990
* Shell Prompts::       Two ways to recognize shell prompts.
* Shell History::       Repeating previous commands in a shell buffer.
* Directory Tracking::  Keeping track when the subshell changes directory.
* Shell Options::       Options for customizing Shell mode.
* Terminal emulator::   An Emacs window as a terminal emulator.
* Term Mode::           Special Emacs commands used in Term mode.
* Paging in Term::      Paging in the terminal emulator.
991
* Remote Host::         Connecting to another computer.
992
* Serial Terminal::     Connecting to a serial port.
Glenn Morris's avatar
Glenn Morris committed
993

994 995 996 997 998 999
Shell Command History

* Shell Ring::           Fetching commands from the history list.
* Shell History Copying::Moving to a command and then copying it.
* History References::   Expanding @samp{!}-style history references.

Glenn Morris's avatar
Glenn Morris committed
1000 1001
Using Emacs as a Server

Chong Yidong's avatar
Chong Yidong committed
1002 1003
* Invoking emacsclient:: Connecting to the Emacs server.
* emacsclient Options::  Emacs client startup options.
Glenn Morris's avatar
Glenn Morris committed
1004 1005 1006

Printing Hard Copies

1007
* PostScript::           Printing buffers or regions as PostScript.
Glenn Morris's avatar
Glenn Morris committed
1008 1009 1010 1011 1012 1013
* PostScript Variables:: Customizing the PostScript printing commands.
* Printing Package::     An optional advanced printing interface.

Hyperlinking and Navigation Features

* Browse-URL::          Following URLs.
Chong Yidong's avatar
Chong Yidong committed
1014
* Goto Address mode::   Activating URLs.
Glenn Morris's avatar
Glenn Morris committed
1015 1016
* FFAP::                Finding files etc. at point.

1017 1018 1019 1020 1021 1022
Emacs Lisp Packages

* Package Menu::         Buffer for viewing and managing packages.
* Package Installation:: Options for package installation.
* Package Files::        Where packages are installed.

Glenn Morris's avatar
Glenn Morris committed
1023 1024
Customization

1025
* Easy Customization::  Convenient way to browse and change settings.
1026 1027 1028
* Variables::           Many Emacs commands examine Emacs variables
                          to decide what to do; by setting variables,
                          you can control their functioning.
1029
* Key Bindings::        Keymaps say what command each key runs.
1030
                          By changing them, you can "redefine" keys.
1031 1032
* Init File::           How to write common customizations in the
                          @file{.emacs} file.
Glenn Morris's avatar
Glenn Morris committed
1033

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045
Easy Customization Interface

* Customization Groups::     How settings are classified in a structure.
* Browsing Custom::          Browsing and searching for settings.
* Changing a Variable::      How to edit an option's value and set the option.
* Saving Customizations::    Specifying the file for saving customizations.
* Face Customization::       How to edit the attributes of a face.
* Specific Customization::   Making a customization buffer for specific
                                variables, faces, or groups.
* Custom Themes::            How to define collections of customized options
                                that can be loaded and unloaded together.

Glenn Morris's avatar
Glenn Morris committed
1046 1047
Variables

1048 1049 1050 1051
* Examining::           Examining or setting one variable's value.
* Hooks::               Hook variables let you specify programs for parts
                          of Emacs to run on particular occasions.
* Locals::              Per-buffer values of variables.
Glenn Morris's avatar
Glenn Morris committed
1052
* File Variables::      How files can specify variable values.
1053 1054 1055 1056 1057 1058
* Directory Variables:: How variable values can be specified by directory.

Local Variables in Files

* Specifying File Variables:: Specifying file local variables.
* Safe File Variables::       Making sure file local variables are safe.
Glenn Morris's avatar
Glenn Morris committed
1059 1060 1061 1062 1063 1064 1065 1066 1067

Customizing Key Bindings

* Keymaps::             Generalities.  The global keymap.
* Prefix Keymaps::      Keymaps for prefix keys.
* Local Keymaps::       Major and minor modes have their own keymaps.
* Minibuffer Maps::     The minibuffer uses its own local keymaps.
* Rebinding::           How to redefine one key's meaning conveniently.
* Init Rebinding::      Rebinding keys with your init file, @file{.emacs}.
Chong Yidong's avatar
Chong Yidong committed
1068
* Modifier Keys::       Using modifier keys in key bindings.
Glenn Morris's avatar
Glenn Morris committed
1069 1070 1071 1072 1073 1074 1075 1076 1077
* Function Keys::       Rebinding terminal function keys.
* Named ASCII Chars::   Distinguishing @key{TAB} from @kbd{C-i}, and so on.
* Mouse Buttons::       Rebinding mouse buttons in Emacs.
* Disabling::           Disabling a command means confirmation is required
                          before it can be executed.  This is done to protect
                          beginners from surprises.

The Init File, @file{~/.emacs}

1078
* Init Syntax::         Syntax of constants in Emacs Lisp.
Glenn Morris's avatar
Glenn Morris committed
1079 1080
* Init Examples::       How to do some things with an init file.
* Terminal Init::       Each terminal type can have an init file.
1081
* Find Init::           How Emacs finds the init file.
Glenn Morris's avatar
Glenn Morris committed
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
* Init Non-ASCII::      Using non-@acronym{ASCII} characters in an init file.

Dealing with Emacs Trouble

* DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
* Stuck Recursive::     `[...]' in mode line around the parentheses.
* Screen Garbled::      Garbage on the screen.
* Text Garbled::        Garbage in the text.
* Memory Full::         How to cope when you run out of memory.
* After a Crash::       Recovering editing in an Emacs session that crashed.
* Emergency Escape::    Emergency escape---
                          What to do if Emacs stops responding.
* Total Frustration::   When you are at your wits' end.

Reporting Bugs

1098
* Known Problems::      How to read about known problems and bugs.
Glenn Morris's avatar
Glenn Morris committed
1099
* Bug Criteria::        Have you really found a bug?
1100 1101 1102
* Understanding Bug Reporting:: How to report a bug effectively.
* Checklist::           Steps to follow for a good bug report.
* Sending Patches::     How to send a patch for GNU Emacs.
Glenn Morris's avatar
Glenn Morris committed
1103 1104 1105

Command Line Arguments for Emacs Invocation

1106 1107
* Action Arguments::    Arguments to visit files, load libraries,
                          and call functions.
Glenn Morris's avatar
Glenn Morris committed
1108 1109
* Initial Options::     Arguments that take effect while starting Emacs.
* Command Example::     Examples of using command line arguments.
1110
* Resume Arguments::    Specifying arguments when you resume a running Emacs.
Glenn Morris's avatar
Glenn Morris committed
1111 1112
* Environment::         Environment variables that Emacs uses.
* Display X::           Changing the default display and using remote login.
1113
* Font X::              Choosing a font for text, under X.
1114
* Colors X::            Choosing display colors.
Glenn Morris's avatar
Glenn Morris committed
1115
* Window Size X::       Start-up window size, under X.
1116
* Borders X::           Internal and external borders, under X.
Glenn Morris's avatar
Glenn Morris committed
1117 1118 1119 1120 1121 1122
* Title X::             Specifying the initial frame's title.
* Icons X::             Choosing what sort of icon to use, under X.
* Misc X::              Other display options.

Environment Variables

1123 1124
* General Variables::   Environment variables that all versions of Emacs use.
* Misc Variables::      Certain system-specific variables.
Glenn Morris's avatar
Glenn Morris committed
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
* MS-Windows Registry:: An alternative to the environment on MS-Windows.

X Options and Resources

* Resources::           Using X resources with Emacs (in general).
* Table of Resources::  Table of specific X resources that affect Emacs.
* Face Resources::      X resources for customizing faces.
* Lucid Resources::     X resources for Lucid menus.
* LessTif Resources::   X resources for LessTif and Motif menus.
* GTK resources::       Resources for GTK widgets.

1136 1137 1138 1139 1140 1141
GTK resources

* GTK widget names::      How widgets in GTK are named in general.
* GTK Names in Emacs::    GTK widget names in Emacs.
* GTK styles::            What can be customized in a GTK widget.

1142
Emacs and Mac OS / GNUstep
Glenn Morris's avatar
Glenn Morris committed
1143

1144 1145 1146 1147
* Mac / GNUstep Basics::        Basic Emacs usage under GNUstep or Mac OS.
* Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS.
* Mac / GNUstep Events::        How window system events are handled.
* GNUstep Support::             Details on status of GNUstep support.
Glenn Morris's avatar
Glenn Morris committed
1148 1149 1150

Emacs and Microsoft Windows/MS-DOS