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