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