]> code.delx.au - gnu-emacs/blob - man/emacs.texi
(GNU GENERAL PUBLIC LICENSE): Use "yyyy" to represent year.
[gnu-emacs] / man / emacs.texi
1 \input texinfo
2
3 @setfilename ../info/emacs
4 @settitle GNU Emacs Manual
5
6 @c The edition number appears in several places in this file
7 @set EDITION Fourteenth
8 @set EMACSVER 22.0.50
9
10 @copying
11 This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},
12 updated for Emacs version @value{EMACSVER}.
13
14 Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997,
15 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
16 Foundation, Inc.
17
18 @quotation
19 Permission is granted to copy, distribute and/or modify this document
20 under the terms of the GNU Free Documentation License, Version 1.2 or
21 any later version published by the Free Software Foundation; with the
22 Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
23 ``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
24 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
25 license is included in the section entitled ``GNU Free Documentation
26 License.''
27
28 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
29 this GNU Manual, like GNU software. Copies published by the Free
30 Software Foundation raise funds for GNU development.''
31 @end quotation
32 @end copying
33
34 @dircategory Emacs
35 @direntry
36 * Emacs: (emacs). The extensible self-documenting text editor.
37 @end direntry
38
39 @c in general, keep the following line commented out, unless doing a
40 @c copy of this manual that will be published. the manual should go
41 @c onto the distribution in the full, 8.5 x 11" size.
42
43 @smallbook
44
45 @c per rms and peterb, use 10pt fonts for the main text, mostly to
46 @c save on paper cost. Also do not declare @setchapternewpage odd.
47 @c Do this inside @tex for now, so current makeinfo does not complain.
48 @tex
49 @fonttextsize 10
50 \global\hbadness=6000 % don't worry about not-too-underfull boxes
51 @end tex
52
53 @defcodeindex op
54 @synindex pg cp
55
56 @iftex
57 @kbdinputstyle code
58
59 @shorttitlepage GNU Emacs Manual
60 @end iftex
61
62 @titlepage
63 @sp 6
64 @center @titlefont{GNU Emacs Manual}
65 @sp 4
66 @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
67 @sp 5
68 @center Richard Stallman
69 @page
70 @vskip 0pt plus 1filll
71 @insertcopying
72
73 @sp 2
74 ISBN 1-882114-06-X @*
75 Published by the Free Software Foundation @*
76 51 Franklin Street, Fifth Floor @*
77 Boston, MA 02110-1301 USA
78
79 @sp 2
80 Cover art by Etienne Suvasa.
81
82 @end titlepage
83
84
85 @summarycontents
86 @contents
87
88
89 @ifnottex
90 @node Top, Distrib, (dir), (dir)
91 @top The Emacs Editor
92
93 Emacs is the extensible, customizable, self-documenting real-time
94 display editor. This Info file describes how to edit with Emacs and
95 some of how to customize it; it corresponds to GNU Emacs version
96 @value{EMACSVER}.
97
98 @ifinfo
99 To learn more about the Info documentation system, type @kbd{h}, and
100 Emacs will take you to a programmed instruction sequence for the Info
101 commands.
102 @end ifinfo
103
104 For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
105 Emacs Lisp Reference Manual}.
106 @end ifnottex
107
108 @ignore
109 These subcategories have been deleted for simplicity
110 and to avoid conflicts.
111 Completion
112 Backup Files
113 Auto-Saving: Protection Against Disasters
114 Snapshots
115 Text Mode
116 Outline Mode
117 @TeX{} Mode
118 Formatted Text
119 Shell Command History
120
121 The ones for Dired and Rmail have had the items turned into :: items
122 to avoid conflicts.
123 Also Running Shell Commands from Emacs
124 and Sending Mail and Registers and Minibuffer.
125 @end ignore
126
127 @menu
128 * Distrib:: How to get the latest Emacs distribution.
129 * Copying:: The GNU General Public License gives you permission
130 to redistribute GNU Emacs on certain terms;
131 it also explains that there is no warranty.
132 * GNU Free Documentation License:: The license for this documentation.
133 * Intro:: An introduction to Emacs concepts.
134 * Glossary:: The glossary.
135 * Antinews:: Information about Emacs version 21.
136 * Mac OS:: Using Emacs in the Mac.
137 * Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
138 * Manifesto:: What's GNU? Gnu's Not Unix!
139 * Acknowledgments:: Major contributors to GNU Emacs.
140
141 Indexes (each index contains a large menu)
142 * Key Index:: An item for each standard Emacs key sequence.
143 * Option Index:: An item for every command-line option.
144 * Command Index:: An item for each command name.
145 * Variable Index:: An item for each documented variable.
146 * Concept Index:: An item for each concept.
147
148 Important General Concepts
149 * Screen:: How to interpret what you see on the screen.
150 * User Input:: Kinds of input events (characters, buttons,
151 function keys).
152 * Keys:: Key sequences: what you type to request one
153 editing action.
154 * Commands:: Named functions run by key sequences to do editing.
155 * Text Characters:: Character set for text (the contents of buffers
156 and strings).
157 * Entering Emacs:: Starting Emacs from the shell.
158 * Exiting:: Stopping or killing Emacs.
159 * Emacs Invocation:: Hairy startup options.
160
161 Fundamental Editing Commands
162 * Basic:: The most basic editing commands.
163 * Minibuffer:: Entering arguments that are prompted for.
164 * M-x:: Invoking commands by their names.
165 * Help:: Commands for asking Emacs about its commands.
166
167 Important Text-Changing Commands
168 * Mark:: The mark: how to delimit a ``region'' of text.
169 * Killing:: Killing (cutting) text.
170 * Yanking:: Recovering killed text. Moving text. (Pasting.)
171 * Accumulating Text:: Other ways of copying text.
172 * Rectangles:: Operating on the text inside a rectangle on the screen.
173 * Registers:: Saving a text string or a location in the buffer.
174 * Display:: Controlling what text is displayed.
175 * Search:: Finding or replacing occurrences of a string.
176 * Fixit:: Commands especially useful for fixing typos.
177 * Keyboard Macros:: A keyboard macro records a sequence of
178 keystrokes to be replayed with a single command.
179
180 Major Structures of Emacs
181 * Files:: All about handling files.
182 * Buffers:: Multiple buffers; editing several files at once.
183 * Windows:: Viewing two pieces of text at once.
184 * Frames:: Running the same Emacs session in multiple X windows.
185 * International:: Using non-@acronym{ASCII} character sets (the MULE features).
186
187 Advanced Features
188 * Major Modes:: Text mode vs. Lisp mode vs. C mode ...
189 * Indentation:: Editing the white space at the beginnings of lines.
190 * Text:: Commands and modes for editing English.
191 * Programs:: Commands and modes for editing programs.
192 * Building:: Compiling, running and debugging programs.
193 * Maintaining:: Features for maintaining large programs.
194 * Abbrevs:: How to define text abbreviations to reduce
195 the number of characters you must type.
196 @ifnottex
197 * Picture Mode:: Editing pictures made up of characters using
198 the quarter-plane screen model.
199 @end ifnottex
200 * Sending Mail:: Sending mail in Emacs.
201 * Rmail:: Reading mail in Emacs.
202 * Dired:: You can ``edit'' a directory to manage files in it.
203 * Calendar/Diary:: The calendar and diary facilities.
204 * Gnus:: How to read netnews with Emacs.
205 * Shell:: Executing shell commands from Emacs.
206 * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc.
207 * Printing:: Printing hardcopies of buffers or regions.
208 * Sorting:: Sorting lines, paragraphs or pages within Emacs.
209 * Narrowing:: Restricting display and editing to a portion
210 of the buffer.
211 * Two-Column:: Splitting apart columns to edit them
212 in side-by-side windows.
213 * Editing Binary Files::Using Hexl mode to edit binary files.
214 * Saving Emacs Sessions:: Saving Emacs state from one session to the next.
215 * Recursive Edit:: A command can allow you to do editing
216 "within the command". This is called a
217 "recursive editing level".
218 * Emulation:: Emulating some other editors with Emacs.
219 * Hyperlinking:: Following links in buffers.
220 * Thumbnails:: Browsing images using thumbnails.
221 * Dissociated Press:: Dissociating text for fun.
222 * Amusements:: Various games and hacks.
223 * Customization:: Modifying the behavior of Emacs.
224 * X Resources:: X resources for customizing Emacs.
225
226 Recovery from Problems
227 * Quitting:: Quitting and aborting.
228 * Lossage:: What to do if Emacs is hung or malfunctioning.
229 * Bugs:: How and when to report a bug.
230 * Contributing:: How to contribute improvements to Emacs.
231 * Service:: How to get help for your own Emacs needs.
232
233 Detailed Node Listing
234 ---------------------
235
236 Here are some other nodes which are really inferiors of the ones
237 already listed, mentioned here so you can get to them in one step:
238
239 The Organization of the Screen
240
241 * Point:: The place in the text where editing commands operate.
242 * Echo Area:: Short messages appear at the bottom of the screen.
243 * Mode Line:: Interpreting the mode line.
244 * Menu Bar:: How to use the menu bar.
245
246 Basic Editing Commands
247
248 * Inserting Text:: Inserting text by simply typing it.
249 * Moving Point:: How to move the cursor to the place where you want to
250 change something.
251 * Erasing:: Deleting and killing text.
252 * Basic Undo:: Undoing recent changes in the text.
253 * Basic Files:: Visiting, creating, and saving files.
254 * Basic Help:: Asking what a character does.
255 * Blank Lines:: Commands to make or delete blank lines.
256 * Continuation Lines:: Lines too wide for the screen.
257 * Position Info:: What page, line, row, or column is point on?
258 * Arguments:: Numeric arguments for repeating a command.
259 * Repeating:: A short-cut for repeating the previous command.
260
261 The Minibuffer
262
263 * Minibuffer File:: Entering file names with the minibuffer.
264 * Minibuffer Edit:: How to edit in the minibuffer.
265 * Completion:: An abbreviation facility for minibuffer input.
266 * Minibuffer History:: Reusing recent minibuffer arguments.
267 * Repetition:: Re-executing commands that used the minibuffer.
268
269 Help
270
271 * Help Summary:: Brief list of all Help commands.
272 * Key Help:: Asking what a key does in Emacs.
273 * Name Help:: Asking about a command, variable or function name.
274 * Apropos:: Asking what pertains to a given topic.
275 * Help Mode:: Special features of Help mode and Help buffers.
276 * Library Keywords:: Finding Lisp libraries by keywords (topics).
277 * Language Help:: Help relating to international language support.
278 * Misc Help:: Other help commands.
279 * Help Files:: Commands to display pre-written help files.
280 * Help Echo:: Help on active text and tooltips (`balloon help')
281
282 The Mark and the Region
283
284 * Setting Mark:: Commands to set the mark.
285 * Transient Mark:: How to make Emacs highlight the region--
286 when there is one.
287 * Momentary Mark:: Enabling Transient Mark mode momentarily.
288 * Using Region:: Summary of ways to operate on contents of the region.
289 * Marking Objects:: Commands to put region around textual units.
290 * Mark Ring:: Previous mark positions saved so you can go back there.
291 * Global Mark Ring:: Previous mark positions in various buffers.
292
293 Killing and Moving Text
294
295 * Deletion:: Commands for deleting small amounts of text and
296 blank areas.
297 * Killing by Lines:: How to kill entire lines of text at one time.
298 * Other Kill Commands:: Commands to kill large regions of text and
299 syntactic units such as words and sentences.
300 * Graphical Kill:: The kill ring on graphical displays:
301 yanking between applications.
302 * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy
303 and paste, with enhanced rectangle support.
304
305 Yanking
306
307 * Kill Ring:: Where killed text is stored. Basic yanking.
308 * Appending Kills:: Several kills in a row all yank together.
309 * Earlier Kills:: Yanking something killed some time ago.
310
311 Registers
312
313 * RegPos:: Saving positions in registers.
314 * RegText:: Saving text in registers.
315 * RegRect:: Saving rectangles in registers.
316 * RegConfig:: Saving window configurations in registers.
317 * RegNumbers:: Numbers in registers.
318 * RegFiles:: File names in registers.
319 * Bookmarks:: Bookmarks are like registers, but persistent.
320
321 Controlling the Display
322
323 * Scrolling:: Moving text up and down in a window.
324 * Auto Scrolling:: Redisplay scrolls text automatically when needed.
325 * Horizontal Scrolling:: Moving text left and right in a window.
326 * Follow Mode:: Follow mode lets two windows scroll as one.
327 * Faces:: How to change the display style using faces.
328 * Standard Faces:: Emacs' predefined faces.
329 * Font Lock:: Minor mode for syntactic highlighting using faces.
330 * Highlight Interactively:: Tell Emacs what text to highlight.
331 * Fringes:: Enabling or disabling window fringes.
332 * Displaying Boundaries:: Displaying top and bottom of the buffer.
333 * Useless Whitespace:: Showing possibly-spurious trailing whitespace.
334 * Selective Display:: Hiding lines with lots of indentation.
335 * Optional Mode Line:: Optional mode line display features.
336 * Text Display:: How text characters are normally displayed.
337 * Cursor Display:: Features for displaying the cursor.
338 * Line Truncation:: Truncating lines to fit the screen width instead
339 of continuing them to multiple screen lines.
340 * Display Custom:: Information on variables for customizing display.
341
342 Searching and Replacement
343
344 * Incremental Search:: Search happens as you type the string.
345 * Nonincremental Search:: Specify entire string and then search.
346 * Word Search:: Search for sequence of words.
347 * Regexp Search:: Search for match for a regexp.
348 * Regexps:: Syntax of regular expressions.
349 * Search Case:: To ignore case while searching, or not.
350 * Replace:: Search, and replace some or all matches.
351 * Other Repeating Search:: Operating on all matches for some regexp.
352
353 Replacement Commands
354
355 * Unconditional Replace:: Replacing all matches for a string.
356 * Regexp Replace:: Replacing all matches for a regexp.
357 * Replacement and Case:: How replacements preserve case of letters.
358 * Query Replace:: How to use querying.
359
360 Commands for Fixing Typos
361
362 * Undo:: Full details of Emacs undo commands.
363 * Kill Errors:: Commands to kill a batch of recently entered text.
364 * Transpose:: Exchanging two characters, words, lines, lists...
365 * Fixing Case:: Correcting case of last word entered.
366 * Spelling:: Apply spelling checker to a word or a whole buffer.
367
368 Keyboard Macros
369
370 * Basic Keyboard Macro:: Defining and running keyboard macros.
371 * Keyboard Macro Ring:: Where previous keyboard macros are saved.
372 * Keyboard Macro Counter:: Inserting incrementing numbers in macros.
373 * Keyboard Macro Query:: Making keyboard macros do different things each time.
374 * Save Keyboard Macro:: Giving keyboard macros names; saving them in files.
375 * Edit Keyboard Macro:: Editing keyboard macros.
376 * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
377 macro.
378
379 File Handling
380
381 * File Names:: How to type and edit file-name arguments.
382 * Visiting:: Visiting a file prepares Emacs to edit the file.
383 * Saving:: Saving makes your changes permanent.
384 * Reverting:: Reverting cancels all the changes not saved.
385 * Auto Save:: Auto Save periodically protects against loss of data.
386 * File Aliases:: Handling multiple names for one file.
387 * Version Control:: Version control systems (RCS, CVS and SCCS).
388 * Directories:: Creating, deleting, and listing file directories.
389 * Comparing Files:: Finding where two files differ.
390 * Diff Mode:: Editing diff output.
391 * Misc File Ops:: Other things you can do on files.
392 * Compressed Files:: Accessing compressed files.
393 * File Archives:: Operating on tar, zip, jar etc. archive files.
394 * Remote Files:: Accessing files on other sites.
395 * Quoted File Names:: Quoting special characters in file names.
396 * File Name Cache:: Completion against a list of files you often use.
397 * File Conveniences:: Convenience Features for Finding Files.
398 * Filesets:: Handling sets of files.
399
400 Saving Files
401
402 * Save Commands:: Commands for saving files.
403 * Backup:: How Emacs saves the old version of your file.
404 * Customize Save:: Customizing the saving of files.
405 * Interlocking:: How Emacs protects against simultaneous editing
406 of one file by two users.
407 * File Shadowing:: Copying files to "shadows" automatically.
408 * Time Stamps:: Emacs can update time stamps on saved files.
409
410 Version Control
411
412 * Introduction to VC:: How version control works in general.
413 * VC Mode Line:: How the mode line shows version control status.
414 * Basic VC Editing:: How to edit a file under version control.
415 * Old Versions:: Examining and comparing old versions.
416 * Secondary VC Commands:: The commands used a little less frequently.
417 * Branches:: Multiple lines of development.
418
419 Using Multiple Buffers
420
421 * Select Buffer:: Creating a new buffer or reselecting an old one.
422 * List Buffers:: Getting a list of buffers that exist.
423 * Misc Buffer:: Renaming; changing read-onliness; copying text.
424 * Kill Buffer:: Killing buffers you no longer need.
425 * Several Buffers:: How to go through the list of all buffers
426 and operate variously on several of them.
427 * Indirect Buffers:: An indirect buffer shares the text of another buffer.
428 * Buffer Convenience:: Convenience and customization features for
429 buffer handling.
430
431 Multiple Windows
432
433 * Basic Window:: Introduction to Emacs windows.
434 * Split Window:: New windows are made by splitting existing windows.
435 * Other Window:: Moving to another window or doing something to it.
436 * Pop Up Window:: Finding a file or buffer in another window.
437 * Force Same Window:: Forcing certain buffers to appear in the selected
438 window rather than in another window.
439 * Change Window:: Deleting windows and changing their sizes.
440 * Window Convenience:: Convenience functions for window handling.
441
442 Frames and X Windows
443
444 * Mouse Commands:: Moving, cutting, and pasting, with the mouse.
445 * Secondary Selection:: Cutting without altering point and mark.
446 * Clipboard:: Using the clipboard for selections.
447 * Mouse References:: Using the mouse to select an item from a list.
448 * Menu Mouse Clicks:: Mouse clicks that bring up menus.
449 * Mode Line Mouse:: Mouse clicks on the mode line.
450 * Creating Frames:: Creating additional Emacs frames with various contents.
451 * Frame Commands:: Iconifying, deleting, and switching frames.
452 * Speedbar:: How to make and use a speedbar frame.
453 * Multiple Displays:: How one Emacs job can talk to several displays.
454 * Special Buffer Frames:: You can make certain buffers have their own frames.
455 * Frame Parameters:: Changing the colors and other modes of frames.
456 * Scroll Bars:: How to enable and disable scroll bars; how to use them.
457 * Wheeled Mice:: Using mouse wheels for scrolling.
458 * Drag and Drop:: Using drag and drop to open files and insert text.
459 * Menu Bars:: Enabling and disabling the menu bar.
460 * Tool Bars:: Enabling and disabling the tool bar.
461 * Dialog Boxes:: Controlling use of dialog boxes.
462 * Tooltips:: Showing "tooltips", AKA "balloon help" for active text.
463 * Mouse Avoidance:: Moving the mouse pointer out of the way.
464 * Non-Window Terminals:: Multiple frames on terminals that show only one.
465 * Text-Only Mouse:: Using the mouse in text-only terminals.
466
467 International Character Set Support
468
469 * International Chars:: Basic concepts of multibyte characters.
470 * Enabling Multibyte:: Controlling whether to use multibyte characters.
471 * Language Environments:: Setting things up for the language you use.
472 * Input Methods:: Entering text characters not on your keyboard.
473 * Select Input Method:: Specifying your choice of input methods.
474 * Multibyte Conversion:: How single-byte characters convert to multibyte.
475 * Coding Systems:: Character set conversion when you read and
476 write files, and so on.
477 * Recognize Coding:: How Emacs figures out which conversion to use.
478 * Specify Coding:: Specifying a file's coding system explicitly.
479 * Output Coding:: Choosing coding systems for output.
480 * Text Coding:: Choosing conversion to use for file text.
481 * Communication Coding:: Coding systems for interprocess communication.
482 * File Name Coding:: Coding systems for file @emph{names}.
483 * Terminal Coding:: Specifying coding systems for converting
484 terminal input and output.
485 * Fontsets:: Fontsets are collections of fonts
486 that cover the whole spectrum of characters.
487 * Defining Fontsets:: Defining a new fontset.
488 * Undisplayable Characters::When characters don't display.
489 * Unibyte Mode:: You can pick one European character set
490 to use without multibyte characters.
491 * Charsets:: How Emacs groups its internal character codes.
492
493 Major Modes
494
495 * Choosing Modes:: How major modes are specified or chosen.
496
497 Indentation
498
499 * Indentation Commands:: Various commands and techniques for indentation.
500 * Tab Stops:: You can set arbitrary "tab stops" and then
501 indent to the next tab stop when you want to.
502 * Just Spaces:: You can request indentation using just spaces.
503
504 Commands for Human Languages
505
506 * Words:: Moving over and killing words.
507 * Sentences:: Moving over and killing sentences.
508 * Paragraphs:: Moving over paragraphs.
509 * Pages:: Moving over pages.
510 * Filling:: Filling or justifying text.
511 * Case:: Changing the case of text.
512 * Text Mode:: The major modes for editing text files.
513 * Outline Mode:: Editing outlines.
514 * TeX Mode:: Editing input to the formatter TeX.
515 * HTML Mode:: Editing HTML, SGML, and XML files.
516 * Nroff Mode:: Editing input to the formatter nroff.
517 * Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
518 * Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
519
520 Filling Text
521
522 * Auto Fill:: Auto Fill mode breaks long lines automatically.
523 * Refill:: Keeping paragraphs filled.
524 * Fill Commands:: Commands to refill paragraphs and center lines.
525 * Fill Prefix:: Filling paragraphs that are indented
526 or in a comment, etc.
527 * Adaptive Fill:: How Emacs can determine the fill prefix automatically.
528 * Longlines:: Editing text with very long lines.
529
530 Editing Programs
531
532 * Program Modes:: Major modes for editing programs.
533 * Defuns:: Commands to operate on major top-level parts
534 of a program.
535 * Program Indent:: Adjusting indentation to show the nesting.
536 * Parentheses:: Commands that operate on parentheses.
537 * Comments:: Inserting, killing, and aligning comments.
538 * Documentation:: Getting documentation of functions you plan to call.
539 * Hideshow:: Displaying blocks selectively.
540 * Symbol Completion:: Completion on symbol names of your program or language.
541 * Glasses:: Making identifiersLikeThis more readable.
542 * Misc for Programs:: Other Emacs features useful for editing programs.
543 * C Modes:: Special commands of C, C++, Objective-C,
544 Java, and Pike modes.
545 * Asm Mode:: Asm mode and its special features.
546
547 Top-Level Definitions, or Defuns
548
549 * Left Margin Paren:: An open-paren or similar opening delimiter
550 starts a defun if it is at the left margin.
551 * Moving by Defuns:: Commands to move over or mark a major definition.
552 * Imenu:: Making buffer indexes as menus.
553 * Which Function:: Which Function mode shows which function you are in.
554
555 Indentation for Programs
556
557 * Basic Indent:: Indenting a single line.
558 * Multi-line Indent:: Commands to reindent many lines at once.
559 * Lisp Indent:: Specifying how each Lisp function should be indented.
560 * C Indent:: Extra features for indenting C and related modes.
561 * Custom C Indent:: Controlling indentation style for C and related modes.
562
563 Commands for Editing with Parentheses
564
565 * Expressions:: Expressions with balanced parentheses.
566 * Moving by Parens:: Commands for moving up, down and across
567 in the structure of parentheses.
568 * Matching:: Insertion of a close-delimiter flashes matching open.
569
570 Manipulating Comments
571
572 * Comment Commands:: Inserting, killing, and indenting comments.
573 * Multi-Line Comments:: Commands for adding and editing multi-line comments.
574 * Options for Comments::Customizing the comment features.
575
576 Documentation Lookup
577
578 * Info Lookup:: Looking up library functions and commands
579 in Info files.
580 * Man Page:: Looking up man pages of library functions and commands.
581 * Lisp Doc:: Looking up Emacs Lisp functions, etc.
582
583 C and Related Modes
584
585 * Motion in C:: Commands to move by C statements, etc.
586 * Electric C:: Colon and other chars can automatically reindent.
587 * Hungry Delete:: A more powerful DEL command.
588 * Other C Commands:: Filling comments, viewing expansion of macros,
589 and other neat features.
590
591 Compiling and Testing Programs
592
593 * Compilation:: Compiling programs in languages other
594 than Lisp (C, Pascal, etc.).
595 * Compilation Mode:: The mode for visiting compiler errors.
596 * Compilation Shell:: Customizing your shell properly
597 for use in the compilation buffer.
598 * Grep Searching:: Searching with grep.
599 * Flymake:: Finding syntax errors on the fly.
600 * Debuggers:: Running symbolic debuggers for non-Lisp programs.
601 * Executing Lisp:: Various modes for editing Lisp programs,
602 with different facilities for running
603 the Lisp programs.
604 * Lisp Libraries:: Creating Lisp programs to run in Emacs.
605 * Lisp Eval:: Executing a single Lisp expression in Emacs.
606 * Lisp Interaction:: Executing Lisp in an Emacs buffer.
607 * External Lisp:: Communicating through Emacs with a separate Lisp.
608
609 Running Debuggers Under Emacs
610
611 * Starting GUD:: How to start a debugger subprocess.
612 * Debugger Operation:: Connection between the debugger and source buffers.
613 * Commands of GUD:: Key bindings for common commands.
614 * GUD Customization:: Defining your own commands for GUD.
615 * GDB Graphical Interface:: An enhanced mode that uses GDB features to
616 implement a graphical debugging environment through
617 Emacs.
618
619 Maintaining Large Programs
620
621 * Change Log:: Maintaining a change history for your program.
622 * Format of ChangeLog:: What the change log file looks like.
623 * Tags:: Go direct to any function in your program in one
624 command. Tags remembers which file it is in.
625
626 Tags Tables
627
628 * Tag Syntax:: Tag syntax for various types of code and text files.
629 * Create Tags Table:: Creating a tags table with @code{etags}.
630 * Etags Regexps:: Create arbitrary tags using regular expressions.
631 * Select Tags Table:: How to visit a tags table.
632 * Find Tag:: Commands to find the definition of a specific tag.
633 * Tags Search:: Using a tags table for searching and replacing.
634 * List Tags:: Listing and finding tags defined in a file.
635
636 Abbrevs
637
638 * Abbrev Concepts:: Fundamentals of defined abbrevs.
639 * Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
640 * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
641 * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
642 * Saving Abbrevs:: Saving the entire list of abbrevs for another session.
643 * Dynamic Abbrevs:: Abbreviations for words already in the buffer.
644 * Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
645
646 @ifnottex
647 Editing Pictures
648
649 * Basic Picture:: Basic concepts and simple commands of Picture Mode.
650 * Insert in Picture:: Controlling direction of cursor motion
651 after "self-inserting" characters.
652 * Tabs in Picture:: Various features for tab stops and indentation.
653 * Rectangles in Picture:: Clearing and superimposing rectangles.
654 @end ifnottex
655
656 Sending Mail
657
658 * Mail Format:: Format of the mail being composed.
659 * Mail Headers:: Details of permitted mail header fields.
660 * Mail Aliases:: Abbreviating and grouping mail addresses.
661 * Mail Mode:: Special commands for editing mail being composed.
662 * Mail Amusements:: Distract the NSA's attention; add a fortune to a msg.
663 * Mail Methods:: Using alternative mail-composition methods.
664
665 Reading Mail with Rmail
666
667 * Rmail Basics:: Basic concepts of Rmail, and simple use.
668 * Rmail Scrolling:: Scrolling through a message.
669 * Rmail Motion:: Moving to another message.
670 * Rmail Deletion:: Deleting and expunging messages.
671 * Rmail Inbox:: How mail gets into the Rmail file.
672 * Rmail Files:: Using multiple Rmail files.
673 * Rmail Output:: Copying message out to files.
674 * Rmail Labels:: Classifying messages by labeling them.
675 * Rmail Attributes:: Certain standard labels, called attributes.
676 * Rmail Reply:: Sending replies to messages you are viewing.
677 * Rmail Summary:: Summaries show brief info on many messages.
678 * Rmail Sorting:: Sorting messages in Rmail.
679 * Rmail Display:: How Rmail displays a message; customization.
680 * Rmail Coding:: How Rmail handles decoding character sets.
681 * Rmail Editing:: Editing message text and headers in Rmail.
682 * Rmail Digest:: Extracting the messages from a digest message.
683 * Out of Rmail:: Converting an Rmail file to mailbox format.
684 * Rmail Rot13:: Reading messages encoded in the rot13 code.
685 * Movemail:: More details of fetching new mail.
686 * Remote Mailboxes:: Retrieving Mail from Remote Mailboxes.
687 * Other Mailbox Formats:: Retrieving Mail from Local Mailboxes in
688 Various Formats
689
690 Dired, the Directory Editor
691
692 * Dired Enter:: How to invoke Dired.
693 * Dired Navigation:: How to move in the Dired buffer.
694 * Dired Deletion:: Deleting files with Dired.
695 * Flagging Many Files:: Flagging files based on their names.
696 * Dired Visiting:: Other file operations through Dired.
697 * Marks vs Flags:: Flagging for deletion vs marking.
698 * Operating on Files:: How to copy, rename, print, compress, etc.
699 either one file or several files.
700 * Shell Commands in Dired:: Running a shell command on the marked files.
701 * Transforming File Names:: Using patterns to rename multiple files.
702 * Comparison in Dired:: Running `diff' by way of Dired.
703 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
704 * Subdirectory Motion:: Moving across subdirectories, and up and down.
705 * Hiding Subdirectories:: Making subdirectories visible or invisible.
706 * Dired Updating:: Discarding lines for files of no interest.
707 * Dired and Find:: Using `find' to choose the files for Dired.
708 * Wdired:: Operating on files by editing the Dired buffer.
709 * Misc Dired Features:: Various other features.
710
711 The Calendar and the Diary
712
713 * Calendar Motion:: Moving through the calendar; selecting a date.
714 * Scroll Calendar:: Bringing earlier or later months onto the screen.
715 * Counting Days:: How many days are there between two dates?
716 * General Calendar:: Exiting or recomputing the calendar.
717 * LaTeX Calendar:: Print a calendar using LaTeX.
718 * Holidays:: Displaying dates of holidays.
719 * Sunrise/Sunset:: Displaying local times of sunrise and sunset.
720 * Lunar Phases:: Displaying phases of the moon.
721 * Other Calendars:: Converting dates to other calendar systems.
722 * Diary:: Displaying events from your diary.
723 * Appointments:: Reminders when it's time to do something.
724 * Importing Diary:: Converting diary events to/from other formats.
725 * Daylight Savings:: How to specify when daylight savings time is active.
726 * Time Intervals:: Keeping track of time intervals.
727
728 Movement in the Calendar
729
730 * Calendar Unit Motion:: Moving by days, weeks, months, and years.
731 * Move to Beginning or End:: Moving to start/end of weeks, months, and years.
732 * Specified Dates:: Moving to the current date or another
733 specific date.
734
735 Conversion To and From Other Calendars
736
737 * Calendar Systems:: The calendars Emacs understands
738 (aside from Gregorian).
739 * To Other Calendar:: Converting the selected date to various calendars.
740 * From Other Calendar:: Moving to a date specified in another calendar.
741 * Mayan Calendar:: Moving to a date specified in a Mayan calendar.
742
743 The Diary
744
745 * Displaying the Diary:: Viewing diary entries and associated calendar dates.
746 * Format of Diary File:: Entering events in your diary.
747 * Date Formats:: Various ways you can specify dates.
748 * Adding to Diary:: Commands to create diary entries.
749 * Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc.
750
751 Gnus
752
753 * Buffers of Gnus:: The group, summary, and article buffers.
754 * Gnus Startup:: What you should know about starting Gnus.
755 * Summary of Gnus:: A short description of the basic Gnus commands.
756
757 Running Shell Commands from Emacs
758
759 * Single Shell:: How to run one shell command and return.
760 * Interactive Shell:: Permanent shell taking input via Emacs.
761 * Shell Mode:: Special Emacs commands used with permanent shell.
762 * Shell Prompts:: Two ways to recognize shell prompts.
763 * Shell History:: Repeating previous commands in a shell buffer.
764 * Directory Tracking:: Keeping track when the subshell changes directory.
765 * Shell Options:: Options for customizing Shell mode.
766 * Terminal emulator:: An Emacs window as a terminal emulator.
767 * Term Mode:: Special Emacs commands used in Term mode.
768 * Paging in Term:: Paging in the terminal emulator.
769 * Remote Host:: Connecting to another computer.
770
771 Using Emacs as a Server
772
773 * Invoking emacsclient:: Emacs client startup options.
774
775 Hyperlinking and Navigation Features
776
777 * Browse-URL:: Following URLs.
778 * Goto-address:: Activating URLs.
779 * FFAP:: Finding files etc. at point.
780
781 Customization
782
783 * Minor Modes:: Each minor mode is one feature you can turn on
784 independently of any others.
785 * Easy Customization:: Convenient way to browse and change user options.
786 * Variables:: Many Emacs commands examine Emacs variables
787 to decide what to do; by setting variables,
788 you can control their functioning.
789 * Key Bindings:: The keymaps say what command each key runs.
790 By changing them, you can "redefine keys".
791 * Syntax:: The syntax table controls how words and
792 expressions are parsed.
793 * Init File:: How to write common customizations in the
794 @file{.emacs} file.
795
796 Variables
797
798 * Examining:: Examining or setting one variable's value.
799 * Hooks:: Hook variables let you specify programs for parts
800 of Emacs to run on particular occasions.
801 * Locals:: Per-buffer values of variables.
802 * File Variables:: How files can specify variable values.
803
804 Customizing Key Bindings
805
806 * Keymaps:: Generalities. The global keymap.
807 * Prefix Keymaps:: Keymaps for prefix keys.
808 * Local Keymaps:: Major and minor modes have their own keymaps.
809 * Minibuffer Maps:: The minibuffer uses its own local keymaps.
810 * Rebinding:: How to redefine one key's meaning conveniently.
811 * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}.
812 * Function Keys:: Rebinding terminal function keys.
813 * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on.
814 * Non-ASCII Rebinding:: Rebinding non-@acronym{ASCII} characters such as Latin-1.
815 * Mouse Buttons:: Rebinding mouse buttons in Emacs.
816 * Disabling:: Disabling a command means confirmation is required
817 before it can be executed. This is done to protect
818 beginners from surprises.
819
820 The Init File, @file{~/.emacs}
821
822 * Init Syntax:: Syntax of constants in Emacs Lisp.
823 * Init Examples:: How to do some things with an init file.
824 * Terminal Init:: Each terminal type can have an init file.
825 * Find Init:: How Emacs finds the init file.
826
827 Dealing with Emacs Trouble
828
829 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
830 * Stuck Recursive:: `[...]' in mode line around the parentheses.
831 * Screen Garbled:: Garbage on the screen.
832 * Text Garbled:: Garbage in the text.
833 * Memory Full:: How to cope when you run out of memory.
834 * After a Crash:: Recovering editing in an Emacs session that crashed.
835 * Emergency Escape:: Emergency escape---
836 What to do if Emacs stops responding.
837 * Total Frustration:: When you are at your wits' end.
838
839 Reporting Bugs
840
841 * Bug Criteria:: Have you really found a bug?
842 * Understanding Bug Reporting:: How to report a bug effectively.
843 * Checklist:: Steps to follow for a good bug report.
844 * Sending Patches:: How to send a patch for GNU Emacs.
845
846 Command Line Arguments for Emacs Invocation
847
848 * Action Arguments:: Arguments to visit files, load libraries,
849 and call functions.
850 * Initial Options:: Arguments that take effect while starting Emacs.
851 * Command Example:: Examples of using command line arguments.
852 * Resume Arguments:: Specifying arguments when you resume a running Emacs.
853 * Environment:: Environment variables that Emacs uses.
854 * Display X:: Changing the default display and using remote login.
855 * Font X:: Choosing a font for text, under X.
856 * Colors:: Choosing display colors.
857 * Window Size X:: Start-up window size, under X.
858 * Borders X:: Internal and external borders, under X.
859 * Title X:: Specifying the initial frame's title.
860 * Icons X:: Choosing what sort of icon to use, under X.
861 * Misc X:: Other display options.
862
863 Environment Variables
864
865 * General Variables:: Environment variables that all versions of Emacs use.
866 * Misc Variables:: Certain system specific variables.
867 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
868
869 X Options and Resources
870
871 * Resources:: Using X resources with Emacs (in general).
872 * Table of Resources:: Table of specific X resources that affect Emacs.
873 * Face Resources:: X resources for customizing faces.
874 * Lucid Resources:: X resources for Lucid menus.
875 * LessTif Resources:: X resources for LessTif and Motif menus.
876 * GTK resources:: Resources for GTK widgets.
877
878 Emacs and Mac OS
879
880 * Mac Input:: Keyboard and mouse input on Mac.
881 * Mac International:: International character sets on Mac.
882 * Mac Environment Variables:: Setting environment variables for Emacs.
883 * Mac Directories:: Volumes and directories on Mac.
884 * Mac Font Specs:: Specifying fonts on Mac.
885 * Mac Functions:: Mac-specific Lisp functions.
886
887 Emacs and Microsoft Windows
888
889 * Text and Binary:: Text files use CRLF to terminate lines.
890 * Windows Files:: File-name conventions on Windows.
891 * ls in Lisp:: Emulation of @code{ls} for Dired.
892 * Windows HOME:: Where Emacs looks for your @file{.emacs}.
893 * Windows Keyboard:: Windows-specific keyboard features.
894 * Windows Mouse:: Windows-specific mouse features.
895 * Windows Processes:: Running subprocesses on Windows.
896 * Windows Printing:: How to specify the printer on MS-Windows.
897 * Windows Misc:: Miscellaneous Windows features.
898 @end menu
899
900 @iftex
901 @unnumbered Preface
902
903 This manual documents the use and simple customization of the Emacs
904 editor. Simple Emacs customizations do not require you to be a
905 programmer, but if you are not interested in customizing, you can
906 ignore the customization hints.
907
908 This is primarily a reference manual, but can also be used as a
909 primer. If you are new to Emacs, we recommend you start with
910 the on-line, learn-by-doing tutorial, before reading the manual. To
911 run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
912 describes commands, tells you when to try them, and explains the
913 results.
914
915 On first reading, just skim chapters 1 and 2, which describe the
916 notational conventions of the manual and the general appearance of the
917 Emacs display screen. Note which questions are answered in these
918 chapters, so you can refer back later. After reading chapter 4, you
919 should practice the commands shown there. The next few chapters
920 describe fundamental techniques and concepts that are used constantly.
921 You need to understand them thoroughly, so experiment with them
922 until you are fluent.
923
924 Chapters 14 through 19 describe intermediate-level features that are
925 useful for many kinds of editing. Chapter 20 and following chapters
926 describe optional but useful features; read those chapters when you
927 need them.
928
929 Read the Trouble chapter if Emacs does not seem to be working
930 properly. It explains how to cope with several common problems
931 (@pxref{Lossage}), as well as when and how to report Emacs bugs
932 (@pxref{Bugs}).
933
934 To find the documentation of a particular command, look in the index.
935 Keys (character commands) and command names have separate indexes.
936 There is also a glossary, with a cross reference for each term.
937
938 This manual is available as a printed book and also as an Info file.
939 The Info file is for on-line perusal with the Info program, which is
940 the principal means of accessing on-line documentation in the GNU
941 system. Both the Emacs Info file and an Info reader are included with
942 GNU Emacs. The Info file and the printed book contain substantially
943 the same text and are generated from the same source files, which are
944 also distributed with GNU Emacs.
945
946 GNU Emacs is a member of the Emacs editor family. There are many
947 Emacs editors, all sharing common principles of organization. For
948 information on the underlying philosophy of Emacs and the lessons
949 learned from its development, see @cite{Emacs, the Extensible,
950 Customizable Self-Documenting Display Editor}, available from
951 @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
952
953 This edition of the manual is intended for use with GNU Emacs
954 installed on GNU and Unix systems. GNU Emacs can also be used on VMS,
955 MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems.
956 Those systems use different file name syntax; in addition, VMS and
957 MS-DOS do not support all GNU Emacs features. @xref{Microsoft
958 Windows}, for information about using Emacs on Windows.
959 @xref{Mac OS}, for information about using Emacs on Macintosh. We
960 don't try to describe VMS usage in this manual.
961 @end iftex
962
963 @node Distrib, Intro, Top, Top
964 @unnumbered Distribution
965
966 GNU Emacs is @dfn{free software}; this means that everyone is free to
967 use it and free to redistribute it on certain conditions. GNU Emacs
968 is not in the public domain; it is copyrighted and there are
969 restrictions on its distribution, but these restrictions are designed
970 to permit everything that a good cooperating citizen would want to do.
971 What is not allowed is to try to prevent others from further sharing
972 any version of GNU Emacs that they might get from you. The precise
973 conditions are found in the GNU General Public License that comes with
974 Emacs and also appears in this manual@footnote{This manual is itself
975 covered by the GNU Free Documentation License. This license is
976 similar in spirit to the General Public License, but is more suitable
977 for documentation. @xref{GNU Free Documentation License}.}.
978 @xref{Copying}.
979
980 One way to get a copy of GNU Emacs is from someone else who has it.
981 You need not ask for our permission to do so, or tell any one else;
982 just copy it. If you have access to the Internet, you can get the
983 latest distribution version of GNU Emacs by anonymous FTP; see
984 @url{http://www.gnu.org/software/emacs} on our website for more
985 information.
986
987 You may also receive GNU Emacs when you buy a computer. Computer
988 manufacturers are free to distribute copies on the same terms that apply to
989 everyone else. These terms require them to give you the full sources,
990 including whatever changes they may have made, and to permit you to
991 redistribute the GNU Emacs received from them under the usual terms of the
992 General Public License. In other words, the program must be free for you
993 when you get it, not just free for the manufacturer.
994
995 You can also order copies of GNU Emacs from the Free Software
996 Foundation. This is a convenient and reliable way to get a copy; it is
997 also a good way to help fund our work. We also sell hardcopy versions
998 of this manual and @cite{An Introduction to Programming in Emacs Lisp},
999 by Robert J. Chassell. You can find an order form on our web site at
1000 @url{http://www.gnu.org/order/order.html}. For further information,
1001 write to
1002
1003 @display
1004 Free Software Foundation
1005 51 Franklin Street, Fifth Floor
1006 Boston, MA 02110-1301
1007 USA
1008 @end display
1009
1010 The income from distribution fees goes to support the foundation's
1011 purpose: the development of new free software, and improvements to our
1012 existing programs including GNU Emacs.
1013
1014 If you find GNU Emacs useful, please @strong{send a donation} to the
1015 Free Software Foundation to support our work. Donations to the Free
1016 Software Foundation are tax deductible in the US. If you use GNU Emacs
1017 at your workplace, please suggest that the company make a donation. If
1018 company policy is unsympathetic to the idea of donating to charity, you
1019 might instead suggest ordering a CD-ROM from the Foundation
1020 occasionally, or subscribing to periodic updates.
1021
1022 @iftex
1023 @node Acknowledgments, Intro, Distrib, Top
1024 @unnumberedsec Acknowledgments
1025
1026 Contributors to GNU Emacs include Per Abrahamsen, Tomas Abrahamsson,
1027 Jay K.@: Adams, Joe Arceneaux, Miles Bader, David Bakhash, Eli
1028 Barzilay, Steven L.@: Baur, Boaz Ben-Zvi, Ray Blaak, Jim Blandy, Per
1029 Bothner, Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot,
1030 Kevin Broadey, Vincent Broman, David M.@: Brown, Georges Brun-Cottan,
1031 W@l{}odek Bzyl, Bill Carpenter, Per Cederqvist, Hans Chalupsky, Chris
1032 Chase, Bob Chassell, Andrew Choi, James Clark, Mike Clarkson, Glynn
1033 Clements, Andrew Csillag, Doug Cutting, Michael DeCorte, Gary Delp,
1034 Matthieu Devin, Eri Ding, Jan Dj@"{a}rv, Carsten Dominik, Scott
1035 Draves, Benjamin Drieu, Viktor Dukhovni, John Eaton, Rolf Ebert,
1036 Stephen Eglen, Torbj@"orn Einarsson, Tsugutomo Enami, Hans Henrik
1037 Eriksen, Michael Ernst, Ata Etemadi, Frederick Farnbach, Oscar
1038 Figueiredo, Fred Fish, Karl Fogel, Gary Foster, Noah Friedman,
1039 Hallvard Furuseth, Keith Gabryelski, Kevin Gallagher, Kevin Gallo,
1040 Juan Le@'{o}n Lahoz Garc@'{i}a, Howard Gayle, Stephen Gildea, Julien
1041 Gilles, David Gillespie, Bob Glickstein, Boris Goldowsky, Michelangelo
1042 Grigni, Odd Gripenstam, Kai Gro@ss{}johann, Michael Gschwind, Henry
1043 Guillaume, Doug Gwyn, Ken'ichi Handa, Chris Hanson, K. Shane Hartman,
1044 John Heidemann, Jon K.@: Hellan, Markus Heritsch, Karl Heuer, Manabu
1045 Higashida, Anders Holst, Kurt Hornik, Tom Houlder, Denis Howe, Lars
1046 Ingebrigtsen, Andrew Innes, Seiichiro Inoue, Ulf Jasper, Michael
1047 K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, Tomoji Kagatani,
1048 Brewster Kahle, David Kaufman, Henry Kautz, Taichi Kawabata, Howard
1049 Kaye, Michael Kifer, Richard King, Peter Kleiweg, Larry K.@: Kolodney,
1050 Pavel Kobiakov, Larry K.@: Kolodney, David M.@: Koppelman, Koseki
1051 Yoshinori, Robert Krawitz, Sebastian Kremer, Ryszard Kubiak, Geoff
1052 Kuenning, David K@aa{}gedal, Daniel LaLiberte, Aaron Larson, James
1053 R.@: Larus, Vinicius Jose Latorre, Frederic Lepied, Peter Liljenberg,
1054 Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, Dave
1055 Love, Eric Ludlam, Alan Mackenzie, Christopher J.@: Madsen,
1056 Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon
1057 Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath,
1058 Will Mengarini, David Megginson, Wayne Mesard, Brad Miller, Richard
1059 Mlynarik, Gerd Moellmann, Stefan Monnier, Morioka Tomohiko, Keith
1060 Moore, Sen Nagata, Erik Naggum, Thomas Neumann, Thien-Thi Nguyen, Mike
1061 Newton, Jurgen Nickelsen, Dan Nicolaescu, Jeff Norden, Andrew Norman,
1062 Alexandre Oliva, Bob Olson, Takaaki Ota, Pieter E.@: J.@: Pareit,
1063 David Pearson, Jeff Peck, Damon Anton Permezel, Tom Perrine, William
1064 M.@: Perry, Per Persson, Jens Petersen, Daniel Pfeiffer, Richard
1065 L.@: Pieri, Fred Pierresteguy, Christian Plaunt, David Ponce, Francesco
1066 A. Potorti, Michael D. Prange, Mukesh Prasad, Marko Rahamaa, Ashwin
1067 Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold, Alex Rezinsky,
1068 Rob Riepel, Nick Roberts, Roland B.@: Roberts, John Robinson, Danny
1069 Roozendaal, William Rosenblatt, Guillermo J.@: Rozas, Ivar Rummelhoff,
1070 Jason Rumney, Wolfgang Rupprecht, Kevin Ryde, James B. Salem, Masahiko
1071 Sato, Holger Schauer, William Schelter, Ralph Schleicher, Gregor
1072 Schmid, Michael Schmidt, Ronald S. Schnell, Philippe Schnoebelen, Jan
1073 Schormann, Alex Schroeder, Stephen Schoef, Randal Schwartz, Oliver
1074 Seidel, Manuel Serrano, Hovav Shacham, Stanislav Shalunov, Mark
1075 Shapiro, Richard Sharman, Olin Shivers, Espen Skoglund, Rick Sladkey,
1076 Lynn Slater, Chris Smith, David Smith, Paul D.@: Smith, Andre Spiegel,
1077 Michael Staats, William Sommerfeld, Michael Staats, Sam Steingold, Ake
1078 Stenhoff, Peter Stephenson, Ken Stevens, Jonathan Stigelman, Martin
1079 Stjernholm, Kim F.@: Storm, Steve Strassman, Olaf Sylvester, Naoto
1080 Takahashi, Jean-Philippe Theberge, Jens T.@: Berger Thielemann,
1081 Spencer Thomas, Jim Thompson, Tom Tromey, Daiki Ueno, Masanobu Umeda,
1082 Rajesh Vaidheeswarran, Neil W.@: Van Dyke, Didier Verna, Ulrik Vieth,
1083 Geoffrey Voelker, Johan Vromans, Inge Wallin, Colin Walters, Barry
1084 Warsaw, Morten Welinder, Joseph Brian Wells, Rodney Whitby, John
1085 Wiegley, Ed Wilkinson, Mike Williams, Bill Wohler, Steven A. Wood,
1086 Dale R.@: Worley, Francis J.@: Wright, Felix S. T. Wu, Tom Wurgler,
1087 Masatake Yamato, Jonathan Yavner, Ilya Zakharevich, Milan Zamazal,
1088 Victor Zandy, Eli Zaretskii, Jamie Zawinski, Shenghuo Zhu, Ian
1089 T.@: Zimmermann, Reto Zimmermann, Neal Ziring, and Detlev Zundel.
1090 @end iftex
1091
1092 @node Intro, Glossary, Distrib, Top
1093 @unnumbered Introduction
1094
1095 You are reading about GNU Emacs, the GNU incarnation of the
1096 advanced, self-documenting, customizable, extensible editor Emacs.
1097 (The `G' in `GNU' is not silent.)
1098
1099 We call Emacs advanced because it provides much more than simple
1100 insertion and deletion. It can control subprocesses, indent programs
1101 automatically, show two or more files at once, and edit formatted
1102 text. Emacs editing commands operate in terms of characters, words,
1103 lines, sentences, paragraphs, and pages, as well as expressions and
1104 comments in various programming languages.
1105
1106 @dfn{Self-documenting} means that at any time you can type a special
1107 character, @kbd{Control-h}, to find out what your options are. You can
1108 also use it to find out what any command does, or to find all the commands
1109 that pertain to a topic. @xref{Help}.
1110
1111 @dfn{Customizable} means that you can alter Emacs commands' behavior
1112 in simple ways. For example, if you use a programming language in
1113 which comments start with @samp{<**} and end with @samp{**>}, you can
1114 tell the Emacs comment manipulation commands to use those strings
1115 (@pxref{Comments}). Another sort of customization is rearrangement of
1116 the command set. For example, you can rebind the basic cursor motion
1117 commands (up, down, left and right) to any keys on the keyboard that
1118 you find comfortable. @xref{Customization}.
1119
1120 @dfn{Extensible} means that you can go beyond simple customization
1121 and write entirely new commands---programs in the Lisp language to be
1122 run by Emacs's own Lisp interpreter. Emacs is an ``on-line
1123 extensible'' system, which means that it is divided into many
1124 functions that call each other, any of which can be redefined in the
1125 middle of an editing session. Almost any part of Emacs can be
1126 replaced without making a separate copy of all of Emacs. Most of the
1127 editing commands of Emacs are written in Lisp; the few exceptions
1128 could have been written in Lisp but use C instead for efficiency.
1129 Writing an extension is programming, but non-programmers can use it
1130 afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1131 Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1132 Lisp programming.
1133
1134 When running on a graphical display, Emacs provides its own menus
1135 and convenient handling of mouse buttons. In addition, Emacs provides
1136 many of the benefits of a graphical display even on a text-only
1137 terminal. For instance, it can highlight parts of a file, display and
1138 edit several files at once, move text between files, and edit files
1139 while running shell commands.
1140
1141 @include screen.texi
1142 @include commands.texi
1143 @include entering.texi
1144 @include basic.texi
1145 @include mini.texi
1146 @include m-x.texi
1147 @include help.texi
1148 @include mark.texi
1149 @include killing.texi
1150 @include regs.texi
1151 @include display.texi
1152 @include search.texi
1153 @include fixit.texi
1154 @include kmacro.texi
1155 @include files.texi
1156 @include buffers.texi
1157 @include windows.texi
1158 @include frames.texi
1159 @include mule.texi
1160 @include major.texi
1161 @include indent.texi
1162 @include text.texi
1163 @include programs.texi
1164 @include building.texi
1165 @include maintaining.texi
1166 @include abbrevs.texi
1167 @ifnottex
1168 @include picture-xtra.texi
1169 @end ifnottex
1170 @include sending.texi
1171 @include rmail.texi
1172 @include dired.texi
1173 @include calendar.texi
1174 @include misc.texi
1175 @include custom.texi
1176 @include trouble.texi
1177
1178 @node Copying, GNU Free Documentation License, Service, Top
1179 @appendix GNU GENERAL PUBLIC LICENSE
1180 @center Version 2, June 1991
1181
1182 @display
1183 Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
1184 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
1185
1186 Everyone is permitted to copy and distribute verbatim copies
1187 of this license document, but changing it is not allowed.
1188 @end display
1189
1190 @unnumberedsec Preamble
1191
1192 The licenses for most software are designed to take away your
1193 freedom to share and change it. By contrast, the GNU General Public
1194 License is intended to guarantee your freedom to share and change free
1195 software---to make sure the software is free for all its users. This
1196 General Public License applies to most of the Free Software
1197 Foundation's software and to any other program whose authors commit to
1198 using it. (Some other Free Software Foundation software is covered by
1199 the GNU Lesser General Public License instead.) You can apply it to
1200 your programs, too.
1201
1202 When we speak of free software, we are referring to freedom, not
1203 price. Our General Public Licenses are designed to make sure that you
1204 have the freedom to distribute copies of free software (and charge for
1205 this service if you wish), that you receive source code or can get it
1206 if you want it, that you can change the software or use pieces of it
1207 in new free programs; and that you know you can do these things.
1208
1209 To protect your rights, we need to make restrictions that forbid
1210 anyone to deny you these rights or to ask you to surrender the rights.
1211 These restrictions translate to certain responsibilities for you if you
1212 distribute copies of the software, or if you modify it.
1213
1214 For example, if you distribute copies of such a program, whether
1215 gratis or for a fee, you must give the recipients all the rights that
1216 you have. You must make sure that they, too, receive or can get the
1217 source code. And you must show them these terms so they know their
1218 rights.
1219
1220 We protect your rights with two steps: (1) copyright the software, and
1221 (2) offer you this license which gives you legal permission to copy,
1222 distribute and/or modify the software.
1223
1224 Also, for each author's protection and ours, we want to make certain
1225 that everyone understands that there is no warranty for this free
1226 software. If the software is modified by someone else and passed on, we
1227 want its recipients to know that what they have is not the original, so
1228 that any problems introduced by others will not reflect on the original
1229 authors' reputations.
1230
1231 Finally, any free program is threatened constantly by software
1232 patents. We wish to avoid the danger that redistributors of a free
1233 program will individually obtain patent licenses, in effect making the
1234 program proprietary. To prevent this, we have made it clear that any
1235 patent must be licensed for everyone's free use or not licensed at all.
1236
1237 The precise terms and conditions for copying, distribution and
1238 modification follow.
1239
1240 @iftex
1241 @unnumberedsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1242 @end iftex
1243 @ifnottex
1244 @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1245 @end ifnottex
1246
1247 @enumerate 0
1248 @item
1249 This License applies to any program or other work which contains
1250 a notice placed by the copyright holder saying it may be distributed
1251 under the terms of this General Public License. The ``Program,'' below,
1252 refers to any such program or work, and a ``work based on the Program''
1253 means either the Program or any derivative work under copyright law:
1254 that is to say, a work containing the Program or a portion of it,
1255 either verbatim or with modifications and/or translated into another
1256 language. (Hereinafter, translation is included without limitation in
1257 the term ``modification.'') Each licensee is addressed as ``you.''
1258
1259 Activities other than copying, distribution and modification are not
1260 covered by this License; they are outside its scope. The act of
1261 running the Program is not restricted, and the output from the Program
1262 is covered only if its contents constitute a work based on the
1263 Program (independent of having been made by running the Program).
1264 Whether that is true depends on what the Program does.
1265
1266 @item
1267 You may copy and distribute verbatim copies of the Program's
1268 source code as you receive it, in any medium, provided that you
1269 conspicuously and appropriately publish on each copy an appropriate
1270 copyright notice and disclaimer of warranty; keep intact all the
1271 notices that refer to this License and to the absence of any warranty;
1272 and give any other recipients of the Program a copy of this License
1273 along with the Program.
1274
1275 You may charge a fee for the physical act of transferring a copy, and
1276 you may at your option offer warranty protection in exchange for a fee.
1277
1278 @item
1279 You may modify your copy or copies of the Program or any portion
1280 of it, thus forming a work based on the Program, and copy and
1281 distribute such modifications or work under the terms of Section 1
1282 above, provided that you also meet all of these conditions:
1283
1284 @enumerate a
1285 @item
1286 You must cause the modified files to carry prominent notices
1287 stating that you changed the files and the date of any change.
1288
1289 @item
1290 You must cause any work that you distribute or publish, that in
1291 whole or in part contains or is derived from the Program or any
1292 part thereof, to be licensed as a whole at no charge to all third
1293 parties under the terms of this License.
1294
1295 @item
1296 If the modified program normally reads commands interactively
1297 when run, you must cause it, when started running for such
1298 interactive use in the most ordinary way, to print or display an
1299 announcement including an appropriate copyright notice and a
1300 notice that there is no warranty (or else, saying that you provide
1301 a warranty) and that users may redistribute the program under
1302 these conditions, and telling the user how to view a copy of this
1303 License. (Exception: if the Program itself is interactive but
1304 does not normally print such an announcement, your work based on
1305 the Program is not required to print an announcement.)
1306 @end enumerate
1307
1308 These requirements apply to the modified work as a whole. If
1309 identifiable sections of that work are not derived from the Program,
1310 and can be reasonably considered independent and separate works in
1311 themselves, then this License, and its terms, do not apply to those
1312 sections when you distribute them as separate works. But when you
1313 distribute the same sections as part of a whole which is a work based
1314 on the Program, the distribution of the whole must be on the terms of
1315 this License, whose permissions for other licensees extend to the
1316 entire whole, and thus to each and every part regardless of who wrote it.
1317
1318 Thus, it is not the intent of this section to claim rights or contest
1319 your rights to work written entirely by you; rather, the intent is to
1320 exercise the right to control the distribution of derivative or
1321 collective works based on the Program.
1322
1323 In addition, mere aggregation of another work not based on the Program
1324 with the Program (or with a work based on the Program) on a volume of
1325 a storage or distribution medium does not bring the other work under
1326 the scope of this License.
1327
1328 @item
1329 You may copy and distribute the Program (or a work based on it,
1330 under Section 2) in object code or executable form under the terms of
1331 Sections 1 and 2 above provided that you also do one of the following:
1332
1333 @enumerate a
1334 @item
1335 Accompany it with the complete corresponding machine-readable
1336 source code, which must be distributed under the terms of Sections
1337 1 and 2 above on a medium customarily used for software interchange; or,
1338
1339 @item
1340 Accompany it with a written offer, valid for at least three
1341 years, to give any third party, for a charge no more than your
1342 cost of physically performing source distribution, a complete
1343 machine-readable copy of the corresponding source code, to be
1344 distributed under the terms of Sections 1 and 2 above on a medium
1345 customarily used for software interchange; or,
1346
1347 @item
1348 Accompany it with the information you received as to the offer
1349 to distribute corresponding source code. (This alternative is
1350 allowed only for noncommercial distribution and only if you
1351 received the program in object code or executable form with such
1352 an offer, in accord with Subsection b above.)
1353 @end enumerate
1354
1355 The source code for a work means the preferred form of the work for
1356 making modifications to it. For an executable work, complete source
1357 code means all the source code for all modules it contains, plus any
1358 associated interface definition files, plus the scripts used to
1359 control compilation and installation of the executable. However, as a
1360 special exception, the source code distributed need not include
1361 anything that is normally distributed (in either source or binary
1362 form) with the major components (compiler, kernel, and so on) of the
1363 operating system on which the executable runs, unless that component
1364 itself accompanies the executable.
1365
1366 If distribution of executable or object code is made by offering
1367 access to copy from a designated place, then offering equivalent
1368 access to copy the source code from the same place counts as
1369 distribution of the source code, even though third parties are not
1370 compelled to copy the source along with the object code.
1371
1372 @item
1373 You may not copy, modify, sublicense, or distribute the Program
1374 except as expressly provided under this License. Any attempt
1375 otherwise to copy, modify, sublicense or distribute the Program is
1376 void, and will automatically terminate your rights under this License.
1377 However, parties who have received copies, or rights, from you under
1378 this License will not have their licenses terminated so long as such
1379 parties remain in full compliance.
1380
1381 @item
1382 You are not required to accept this License, since you have not
1383 signed it. However, nothing else grants you permission to modify or
1384 distribute the Program or its derivative works. These actions are
1385 prohibited by law if you do not accept this License. Therefore, by
1386 modifying or distributing the Program (or any work based on the
1387 Program), you indicate your acceptance of this License to do so, and
1388 all its terms and conditions for copying, distributing or modifying
1389 the Program or works based on it.
1390
1391 @item
1392 Each time you redistribute the Program (or any work based on the
1393 Program), the recipient automatically receives a license from the
1394 original licensor to copy, distribute or modify the Program subject to
1395 these terms and conditions. You may not impose any further
1396 restrictions on the recipients' exercise of the rights granted herein.
1397 You are not responsible for enforcing compliance by third parties to
1398 this License.
1399
1400 @item
1401 If, as a consequence of a court judgment or allegation of patent
1402 infringement or for any other reason (not limited to patent issues),
1403 conditions are imposed on you (whether by court order, agreement or
1404 otherwise) that contradict the conditions of this License, they do not
1405 excuse you from the conditions of this License. If you cannot
1406 distribute so as to satisfy simultaneously your obligations under this
1407 License and any other pertinent obligations, then as a consequence you
1408 may not distribute the Program at all. For example, if a patent
1409 license would not permit royalty-free redistribution of the Program by
1410 all those who receive copies directly or indirectly through you, then
1411 the only way you could satisfy both it and this License would be to
1412 refrain entirely from distribution of the Program.
1413
1414 If any portion of this section is held invalid or unenforceable under
1415 any particular circumstance, the balance of the section is intended to
1416 apply and the section as a whole is intended to apply in other
1417 circumstances.
1418
1419 It is not the purpose of this section to induce you to infringe any
1420 patents or other property right claims or to contest validity of any
1421 such claims; this section has the sole purpose of protecting the
1422 integrity of the free software distribution system, which is
1423 implemented by public license practices. Many people have made
1424 generous contributions to the wide range of software distributed
1425 through that system in reliance on consistent application of that
1426 system; it is up to the author/donor to decide if he or she is willing
1427 to distribute software through any other system and a licensee cannot
1428 impose that choice.
1429
1430 This section is intended to make thoroughly clear what is believed to
1431 be a consequence of the rest of this License.
1432
1433 @item
1434 If the distribution and/or use of the Program is restricted in
1435 certain countries either by patents or by copyrighted interfaces, the
1436 original copyright holder who places the Program under this License
1437 may add an explicit geographical distribution limitation excluding
1438 those countries, so that distribution is permitted only in or among
1439 countries not thus excluded. In such case, this License incorporates
1440 the limitation as if written in the body of this License.
1441
1442 @item
1443 The Free Software Foundation may publish revised and/or new versions
1444 of the General Public License from time to time. Such new versions will
1445 be similar in spirit to the present version, but may differ in detail to
1446 address new problems or concerns.
1447
1448 Each version is given a distinguishing version number. If the Program
1449 specifies a version number of this License which applies to it and ``any
1450 later version,'' you have the option of following the terms and conditions
1451 either of that version or of any later version published by the Free
1452 Software Foundation. If the Program does not specify a version number of
1453 this License, you may choose any version ever published by the Free Software
1454 Foundation.
1455
1456 @item
1457 If you wish to incorporate parts of the Program into other free
1458 programs whose distribution conditions are different, write to the author
1459 to ask for permission. For software which is copyrighted by the Free
1460 Software Foundation, write to the Free Software Foundation; we sometimes
1461 make exceptions for this. Our decision will be guided by the two goals
1462 of preserving the free status of all derivatives of our free software and
1463 of promoting the sharing and reuse of software generally.
1464
1465 @iftex
1466 @heading NO WARRANTY
1467 @end iftex
1468 @ifnottex
1469 @center NO WARRANTY
1470 @end ifnottex
1471
1472 @item
1473 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1474 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW@. EXCEPT WHEN
1475 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1476 PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1477 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1478 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE@. THE ENTIRE RISK AS
1479 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU@. SHOULD THE
1480 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1481 REPAIR OR CORRECTION.
1482
1483 @item
1484 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1485 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1486 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1487 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1488 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1489 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1490 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1491 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1492 POSSIBILITY OF SUCH DAMAGES.
1493 @end enumerate
1494
1495 @iftex
1496 @heading END OF TERMS AND CONDITIONS
1497 @end iftex
1498 @ifnottex
1499 @center END OF TERMS AND CONDITIONS
1500 @end ifnottex
1501
1502 @page
1503 @unnumberedsec How to Apply These Terms to Your New Programs
1504
1505 If you develop a new program, and you want it to be of the greatest
1506 possible use to the public, the best way to achieve this is to make it
1507 free software which everyone can redistribute and change under these terms.
1508
1509 To do so, attach the following notices to the program. It is safest
1510 to attach them to the start of each source file to most effectively
1511 convey the exclusion of warranty; and each file should have at least
1512 the ``copyright'' line and a pointer to where the full notice is found.
1513
1514 @smallexample
1515 @var{one line to give the program's name and an idea of what it does.}
1516 Copyright (C) @var{yyyy} @var{name of author}
1517
1518 This program is free software; you can redistribute it and/or
1519 modify it under the terms of the GNU General Public License
1520 as published by the Free Software Foundation; either version 2
1521 of the License, or (at your option) any later version.
1522
1523 This program is distributed in the hope that it will be useful,
1524 but WITHOUT ANY WARRANTY; without even the implied warranty of
1525 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the
1526 GNU General Public License for more details.
1527
1528 You should have received a copy of the GNU General Public License along
1529 with this program; if not, write to the Free Software Foundation, Inc.,
1530 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1531 @end smallexample
1532
1533 Also add information on how to contact you by electronic and paper mail.
1534
1535 If the program is interactive, make it output a short notice like this
1536 when it starts in an interactive mode:
1537
1538 @smallexample
1539 Gnomovision version 69, Copyright (C) @var{yyyy} @var{name of author}
1540 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
1541 type `show w'. This is free software, and you are welcome
1542 to redistribute it under certain conditions; type `show c'
1543 for details.
1544 @end smallexample
1545
1546 The hypothetical commands @samp{show w} and @samp{show c} should show
1547 the appropriate parts of the General Public License. Of course, the
1548 commands you use may be called something other than @samp{show w} and
1549 @samp{show c}; they could even be mouse-clicks or menu items---whatever
1550 suits your program.
1551
1552 You should also get your employer (if you work as a programmer) or your
1553 school, if any, to sign a ``copyright disclaimer'' for the program, if
1554 necessary. Here is a sample; alter the names:
1555
1556 @smallexample
1557 @group
1558 Yoyodyne, Inc., hereby disclaims all copyright
1559 interest in the program `Gnomovision'
1560 (which makes passes at compilers) written
1561 by James Hacker.
1562
1563 @var{signature of Ty Coon}, 1 April 1989
1564 Ty Coon, President of Vice
1565 @end group
1566 @end smallexample
1567
1568 This General Public License does not permit incorporating your program into
1569 proprietary programs. If your program is a subroutine library, you may
1570 consider it more useful to permit linking proprietary applications with the
1571 library. If this is what you want to do, use the GNU Lesser General
1572 Public License instead of this License.
1573
1574 @include doclicense.texi
1575 @include cmdargs.texi
1576 @iftex
1577 @include xresmini.texi
1578 @end iftex
1579 @ifnottex
1580 @include xresources.texi
1581 @end ifnottex
1582
1583 @include anti.texi
1584 @include macos.texi
1585 @include msdog.texi
1586 @include gnu.texi
1587 @include glossary.texi
1588 @ifnottex
1589 @include ack.texi
1590 @end ifnottex
1591
1592 @c The Option Index is produced only in the on-line version,
1593 @c because the index entries related to command-line options
1594 @c tend to point to the same pages and all begin with a dash.
1595 @c This, and the need to keep the node links consistent, are
1596 @c the reasons for the funky @iftex/@ifnottex dance below.
1597 @c The Option Index is _not_ before Key Index, because that
1598 @c would require changes in the glossary.texi's @node line.
1599 @c It is not after Concept Index for similar reasons.
1600
1601 @iftex
1602 @node Key Index, Command Index, Glossary, Top
1603 @unnumbered Key (Character) Index
1604 @printindex ky
1605 @end iftex
1606
1607 @ifnottex
1608 @node Key Index, Option Index, Glossary, Top
1609 @unnumbered Key (Character) Index
1610 @printindex ky
1611
1612 @node Option Index, Command Index, Key Index, Top
1613 @unnumbered Command-Line Options Index
1614 @printindex op
1615
1616 @node Command Index, Variable Index, Option Index, Top
1617 @unnumbered Command and Function Index
1618 @printindex fn
1619 @end ifnottex
1620
1621 @iftex
1622 @node Command Index, Variable Index, Key Index, Top
1623 @unnumbered Command and Function Index
1624 @printindex fn
1625 @end iftex
1626
1627 @node Variable Index, Concept Index, Command Index, Top
1628 @unnumbered Variable Index
1629 @printindex vr
1630
1631 @node Concept Index, Acknowledgments, Variable Index, Top
1632 @unnumbered Concept Index
1633 @printindex cp
1634
1635 @bye
1636
1637 @ignore
1638 arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392
1639 @end ignore