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