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