3 @setfilename ../../info/emacs
4 @settitle GNU Emacs Manual
6 @c The edition number appears in several places in this file
11 This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
12 updated for Emacs version @value{EMACSVER}.
14 Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997,
15 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
16 Free Software Foundation, Inc.
19 Permission is granted to copy, distribute and/or modify this document
20 under the terms of the GNU Free Documentation License, Version 1.3 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
28 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
29 modify this GNU manual. Buying copies from the FSF supports it in
30 developing GNU and promoting software freedom.''
36 * Emacs: (emacs). The extensible self-documenting text editor.
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.
48 @c per rms and peterb, use 10pt fonts for the main text, mostly to
49 @c save on paper cost.
50 @c Do this inside @tex for now, so current makeinfo does not complain.
55 \global\let\urlcolor=\Black % don't print links in grayscale
56 \global\let\linkcolor=\Black
58 \global\hbadness=6666 % don't worry about not-too-underfull boxes
67 @shorttitlepage GNU Emacs Manual
72 @center @titlefont{GNU Emacs Manual}
74 @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
76 @center Richard Stallman
78 @vskip 0pt plus 1filll
82 Published by the Free Software Foundation @*
83 51 Franklin Street, Fifth Floor @*
84 Boston, MA 02110-1301 USA @*
88 Cover art by Etienne Suvasa.
98 @node Top, Distrib, (dir), (dir)
101 Emacs is the extensible, customizable, self-documenting real-time
102 display editor. This Info file describes how to edit with Emacs and
103 some of how to customize it; it corresponds to GNU Emacs version
107 To learn more about the Info documentation system, type @kbd{h}, and
108 Emacs will take you to a programmed instruction sequence for the Info
112 For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
113 Emacs Lisp Reference Manual}.
117 These subcategories have been deleted for simplicity
118 and to avoid conflicts.
121 Auto-Saving: Protection Against Disasters
127 Shell Command History
129 The ones for Dired and Rmail have had the items turned into :: items
131 Also Running Shell Commands from Emacs
132 and Sending Mail and Registers and Minibuffer.
136 * Distrib:: How to get the latest Emacs distribution.
137 * Copying:: The GNU General Public License gives you permission
138 to redistribute GNU Emacs on certain terms;
139 it also explains that there is no warranty.
140 * GNU Free Documentation License:: The license for this documentation.
141 * Intro:: An introduction to Emacs concepts.
142 * Glossary:: Terms used in this manual.
143 * Antinews:: Information about Emacs version 22.
144 * Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep.
145 * Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
146 * Manifesto:: What's GNU? Gnu's Not Unix!
147 * Acknowledgments:: Major contributors to GNU Emacs.
149 Indexes (each index contains a large menu)
150 * Key Index:: An item for each standard Emacs key sequence.
151 * Option Index:: An item for every command-line option.
152 * Command Index:: An item for each command name.
153 * Variable Index:: An item for each documented variable.
154 * Concept Index:: An item for each concept.
156 Important General Concepts
157 * Screen:: How to interpret what you see on the screen.
158 * User Input:: Kinds of input events (characters, buttons,
160 * Keys:: Key sequences: what you type to request one
162 * Commands:: Named functions run by key sequences to do editing.
163 * Entering Emacs:: Starting Emacs from the shell.
164 * Exiting:: Stopping or killing Emacs.
165 * Emacs Invocation:: Hairy startup options.
167 Fundamental Editing Commands
168 * Basic:: The most basic editing commands.
169 * Minibuffer:: Entering arguments that are prompted for.
170 * M-x:: Invoking commands by their names.
171 * Help:: Commands for asking Emacs about its commands.
173 Important Text-Changing Commands
174 * Mark:: The mark: how to delimit a ``region'' of text.
175 * Killing:: Killing (cutting) text.
176 * Yanking:: Recovering killed text. Moving text. (Pasting.)
177 * Accumulating Text:: Other ways of copying text.
178 * Rectangles:: Operating on the text inside a rectangle on the screen.
179 * Registers:: Saving a text string or a location in the buffer.
180 * Display:: Controlling what text is displayed.
181 * Search:: Finding or replacing occurrences of a string.
182 * Fixit:: Commands especially useful for fixing typos.
183 * Keyboard Macros:: A keyboard macro records a sequence of
184 keystrokes to be replayed with a single command.
186 Major Structures of Emacs
187 * Files:: All about handling files.
188 * Buffers:: Multiple buffers; editing several files at once.
189 * Windows:: Viewing two pieces of text at once.
190 * Frames:: Running the same Emacs session in multiple X windows.
191 * International:: Using non-@acronym{ASCII} character sets (the MULE features).
194 * Major Modes:: Text mode vs. Lisp mode vs. C mode ...
195 * Indentation:: Editing the white space at the beginnings of lines.
196 * Text:: Commands and modes for editing English.
197 * Programs:: Commands and modes for editing programs.
198 * Building:: Compiling, running and debugging programs.
199 * Maintaining:: Features for maintaining large programs.
200 * Abbrevs:: How to define text abbreviations to reduce
201 the number of characters you must type.
203 * Picture Mode:: Editing pictures made up of characters using
204 the quarter-plane screen model.
206 * Sending Mail:: Sending mail in Emacs.
207 * Rmail:: Reading mail in Emacs.
208 * Dired:: You can ``edit'' a directory to manage files in it.
209 * Calendar/Diary:: The calendar and diary facilities.
210 * Document View:: Viewing PDF, PS and DVI files.
211 * Gnus:: How to read netnews with Emacs.
212 * Shell:: Executing shell commands from Emacs.
213 * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc.
214 * Printing:: Printing hardcopies of buffers or regions.
215 * Sorting:: Sorting lines, paragraphs or pages within Emacs.
216 * Narrowing:: Restricting display and editing to a portion
218 * Two-Column:: Splitting apart columns to edit them
219 in side-by-side windows.
220 * Editing Binary Files::Using Hexl mode to edit binary files.
221 * Saving Emacs Sessions:: Saving Emacs state from one session to the next.
222 * Recursive Edit:: A command can allow you to do editing
223 "within the command". This is called a
224 "recursive editing level".
225 * Emulation:: Emulating some other editors with Emacs.
226 * Hyperlinking:: Following links in buffers.
227 * Dissociated Press:: Dissociating text for fun.
228 * Amusements:: Various games and hacks.
229 * Customization:: Modifying the behavior of Emacs.
230 * X Resources:: X resources for customizing Emacs.
232 Recovery from Problems
233 * Quitting:: Quitting and aborting.
234 * Lossage:: What to do if Emacs is hung or malfunctioning.
235 * Bugs:: How and when to report a bug.
236 * Contributing:: How to contribute improvements to Emacs.
237 * Service:: How to get help for your own Emacs needs.
239 @c Do NOT modify the following 3 lines! They must have this form to
240 @c be correctly identified by `texinfo-multiple-files-update'. In
241 @c particular, the detailed menu header line MUST be identical to the
242 @c value of `texinfo-master-menu-header'. See texnfo-upd.el.
245 --- The Detailed Node Listing ---
246 ---------------------------------
248 Here are some other nodes which are really inferiors of the ones
249 already listed, mentioned here so you can get to them in one step:
251 The Organization of the Screen
253 * Point:: The place in the text where editing commands operate.
254 * Echo Area:: Short messages appear at the bottom of the screen.
255 * Mode Line:: Interpreting the mode line.
256 * Menu Bar:: How to use the menu bar.
258 Basic Editing Commands
260 * Inserting Text:: Inserting text by simply typing it.
261 * Moving Point:: How to move the cursor to the place where you want to
263 * Erasing:: Deleting and killing text.
264 * Basic Undo:: Undoing recent changes in the text.
265 * Basic Files:: Visiting, creating, and saving files.
266 * Basic Help:: Asking what a character does.
267 * Blank Lines:: Commands to make or delete blank lines.
268 * Continuation Lines:: Lines too wide for the screen.
269 * Position Info:: What page, line, row, or column is point on?
270 * Arguments:: Numeric arguments for repeating a command.
271 * Repeating:: A short-cut for repeating the previous command.
275 * Minibuffer File:: Entering file names with the minibuffer.
276 * Minibuffer Edit:: How to edit in the minibuffer.
277 * Completion:: An abbreviation facility for minibuffer input.
278 * Minibuffer History:: Reusing recent minibuffer arguments.
279 * Repetition:: Re-executing commands that used the minibuffer.
280 * Passwords:: Entering passwords in the echo area.
284 * Example: Completion Example. Examples of using completion.
285 * Commands: Completion Commands. A list of completion commands.
286 * Strict Completion:: Different types of completion.
287 * Options: Completion Options. Options for completion.
291 * Help Summary:: Brief list of all Help commands.
292 * Key Help:: Asking what a key does in Emacs.
293 * Name Help:: Asking about a command, variable or function name.
294 * Apropos:: Asking what pertains to a given topic.
295 * Help Mode:: Special features of Help mode and Help buffers.
296 * Library Keywords:: Finding Lisp libraries by keywords (topics).
297 * Language Help:: Help relating to international language support.
298 * Misc Help:: Other help commands.
299 * Help Files:: Commands to display pre-written help files.
300 * Help Echo:: Help on active text and tooltips (`balloon help')
302 The Mark and the Region
304 * Setting Mark:: Commands to set the mark.
305 * Marking Objects:: Commands to put region around textual units.
306 * Using Region:: Summary of ways to operate on contents of the region.
307 * Mark Ring:: Previous mark positions saved so you can go back there.
308 * Global Mark Ring:: Previous mark positions in various buffers.
309 * Shift Selection:: Using shifted cursor motion keys.
310 * Persistent Mark:: Keeping the mark active all the time.
312 Killing and Moving Text
314 * Deletion:: Commands for deleting small amounts of text and
316 * Killing by Lines:: How to kill entire lines of text at one time.
317 * Other Kill Commands:: Commands to kill large regions of text and
318 syntactic units such as words and sentences.
319 * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy
320 and paste, with enhanced rectangle support.
324 * Kill Ring:: Where killed text is stored. Basic yanking.
325 * Appending Kills:: Several kills in a row all yank together.
326 * Earlier Kills:: Yanking something killed some time ago.
330 * RegPos:: Saving positions in registers.
331 * RegText:: Saving text in registers.
332 * RegRect:: Saving rectangles in registers.
333 * RegConfig:: Saving window configurations in registers.
334 * RegNumbers:: Numbers in registers.
335 * RegFiles:: File names in registers.
336 * Bookmarks:: Bookmarks are like registers, but persistent.
338 Controlling the Display
340 * Scrolling:: Moving text up and down in a window.
341 * Auto Scrolling:: Redisplay scrolls text automatically when needed.
342 * Horizontal Scrolling:: Moving text left and right in a window.
343 * Follow Mode:: Follow mode lets two windows scroll as one.
344 * Faces:: How to change the display style using faces.
345 * Standard Faces:: Emacs' predefined faces.
346 * Temporary Face Changes:: Commands to temporarily modify the default text face
347 * Font Lock:: Minor mode for syntactic highlighting using faces.
348 * Highlight Interactively:: Tell Emacs what text to highlight.
349 * Fringes:: Enabling or disabling window fringes.
350 * Displaying Boundaries:: Displaying top and bottom of the buffer.
351 * Useless Whitespace:: Showing possibly-spurious trailing whitespace.
352 * Selective Display:: Hiding lines with lots of indentation.
353 * Optional Mode Line:: Optional mode line display features.
354 * Text Display:: How text characters are normally displayed.
355 * Cursor Display:: Features for displaying the cursor.
356 * Line Truncation:: Truncating lines to fit the screen width instead
357 of continuing them to multiple screen lines.
358 * Visual Line Mode:: Word wrap and screen line-based editing.
359 * Display Custom:: Information on variables for customizing display.
361 Searching and Replacement
363 * Incremental Search:: Search happens as you type the string.
364 * Nonincremental Search:: Specify entire string and then search.
365 * Word Search:: Search for sequence of words.
366 * Regexp Search:: Search for match for a regexp.
367 * Regexps:: Syntax of regular expressions.
368 * Regexp Backslash:: Regular expression constructs starting with `\'.
369 * Regexp Example:: A complex regular expression explained.
370 * Search Case:: To ignore case while searching, or not.
371 * Replace:: Search, and replace some or all matches.
372 * Other Repeating Search:: Operating on all matches for some regexp.
376 * Basic Isearch:: Basic incremental search commands.
377 * Repeat Isearch:: Searching for the same string again.
378 * Error in Isearch:: When your string is not found.
379 * Special Isearch:: Special input in incremental search.
380 * Isearch Yank:: Commands that grab text into the search string
381 or else edit the search string.
382 * Isearch Scroll:: Scrolling during an incremental search.
383 * Isearch Minibuffer:: Incremental search of the minibuffer history.
384 * Slow Isearch:: Incremental search features for slow terminals.
388 * Unconditional Replace:: Replacing all matches for a string.
389 * Regexp Replace:: Replacing all matches for a regexp.
390 * Replacement and Case:: How replacements preserve case of letters.
391 * Query Replace:: How to use querying.
393 Commands for Fixing Typos
395 * Undo:: Full details of Emacs undo commands.
396 * Transpose:: Exchanging two characters, words, lines, lists...
397 * Fixing Case:: Correcting case of last word entered.
398 * Spelling:: Apply spelling checker to a word or a whole buffer.
402 * Basic Keyboard Macro:: Defining and running keyboard macros.
403 * Keyboard Macro Ring:: Where previous keyboard macros are saved.
404 * Keyboard Macro Counter:: Inserting incrementing numbers in macros.
405 * Keyboard Macro Query:: Making keyboard macros do different things each time.
406 * Save Keyboard Macro:: Giving keyboard macros names; saving them in files.
407 * Edit Keyboard Macro:: Editing keyboard macros.
408 * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
413 * File Names:: How to type and edit file-name arguments.
414 * Visiting:: Visiting a file prepares Emacs to edit the file.
415 * Saving:: Saving makes your changes permanent.
416 * Reverting:: Reverting cancels all the changes not saved.
417 * Autorevert:: Auto Reverting non-file buffers.
418 * Auto Save:: Auto Save periodically protects against loss of data.
419 * File Aliases:: Handling multiple names for one file.
420 * Directories:: Creating, deleting, and listing file directories.
421 * Comparing Files:: Finding where two files differ.
422 * Diff Mode:: Editing diff output.
423 * Misc File Ops:: Other things you can do on files.
424 * Compressed Files:: Accessing compressed files.
425 * File Archives:: Operating on tar, zip, jar etc. archive files.
426 * Remote Files:: Accessing files on other sites.
427 * Quoted File Names:: Quoting special characters in file names.
428 * File Name Cache:: Completion against a list of files you often use.
429 * File Conveniences:: Convenience Features for Finding Files.
430 * Filesets:: Handling sets of files.
434 * Save Commands:: Commands for saving files.
435 * Backup:: How Emacs saves the old version of your file.
436 * Customize Save:: Customizing the saving of files.
437 * Interlocking:: How Emacs protects against simultaneous editing
438 of one file by two users.
439 * File Shadowing:: Copying files to "shadows" automatically.
440 * Time Stamps:: Emacs can update time stamps on saved files.
444 * Names: Backup Names. How backup files are named.
445 * Deletion: Backup Deletion. Emacs deletes excess numbered backups.
446 * Copying: Backup Copying. Backups can be made by copying or renaming.
448 Auto-Saving: Protection Against Disasters
450 * Files: Auto Save Files. The file where auto-saved changes are
451 actually made until you save the file.
452 * Control: Auto Save Control. Controlling when and how often to auto-save.
453 * Recover:: Recovering text from auto-save files.
455 Using Multiple Buffers
457 * Select Buffer:: Creating a new buffer or reselecting an old one.
458 * List Buffers:: Getting a list of buffers that exist.
459 * Misc Buffer:: Renaming; changing read-onliness; copying text.
460 * Kill Buffer:: Killing buffers you no longer need.
461 * Several Buffers:: How to go through the list of all buffers
462 and operate variously on several of them.
463 * Indirect Buffers:: An indirect buffer shares the text of another buffer.
464 * Buffer Convenience:: Convenience and customization features for
469 * Basic Window:: Introduction to Emacs windows.
470 * Split Window:: New windows are made by splitting existing windows.
471 * Other Window:: Moving to another window or doing something to it.
472 * Pop Up Window:: Finding a file or buffer in another window.
473 * Force Same Window:: Forcing certain buffers to appear in the selected
474 window rather than in another window.
475 * Change Window:: Deleting windows and changing their sizes.
476 * Window Convenience:: Convenience functions for window handling.
478 Frames and Graphical Displays
480 * Cut and Paste:: Mouse commands for cut and paste.
481 * Mouse References:: Using the mouse to select an item from a list.
482 * Menu Mouse Clicks:: Mouse clicks that bring up menus.
483 * Mode Line Mouse:: Mouse clicks on the mode line.
484 * Creating Frames:: Creating additional Emacs frames with various contents.
485 * Frame Commands:: Iconifying, deleting, and switching frames.
486 * Speedbar:: How to make and use a speedbar frame.
487 * Multiple Displays:: How one Emacs job can talk to several displays.
488 * Special Buffer Frames:: You can make certain buffers have their own frames.
489 * Frame Parameters:: Changing the colors and other modes of frames.
490 * Scroll Bars:: How to enable and disable scroll bars; how to use them.
491 * Wheeled Mice:: Using mouse wheels for scrolling.
492 * Drag and Drop:: Using drag and drop to open files and insert text.
493 * Menu Bars:: Enabling and disabling the menu bar.
494 * Tool Bars:: Enabling and disabling the tool bar.
495 * Dialog Boxes:: Controlling use of dialog boxes.
496 * Tooltips:: Showing "tooltips", AKA "balloon help" for active text.
497 * Mouse Avoidance:: Moving the mouse pointer out of the way.
498 * Non-Window Terminals:: Multiple frames on terminals that show only one.
499 * Text-Only Mouse:: Using the mouse in text-only terminals.
501 International Character Set Support
503 * International Chars:: Basic concepts of multibyte characters.
504 * Enabling Multibyte:: Controlling whether to use multibyte characters.
505 * Language Environments:: Setting things up for the language you use.
506 * Input Methods:: Entering text characters not on your keyboard.
507 * Select Input Method:: Specifying your choice of input methods.
508 * Multibyte Conversion:: How single-byte characters convert to multibyte.
509 * Coding Systems:: Character set conversion when you read and
510 write files, and so on.
511 * Recognize Coding:: How Emacs figures out which conversion to use.
512 * Specify Coding:: Specifying a file's coding system explicitly.
513 * Output Coding:: Choosing coding systems for output.
514 * Text Coding:: Choosing conversion to use for file text.
515 * Communication Coding:: Coding systems for interprocess communication.
516 * File Name Coding:: Coding systems for file @emph{names}.
517 * Terminal Coding:: Specifying coding systems for converting
518 terminal input and output.
519 * Fontsets:: Fontsets are collections of fonts
520 that cover the whole spectrum of characters.
521 * Defining Fontsets:: Defining a new fontset.
522 * Undisplayable Characters::When characters don't display.
523 * Unibyte Mode:: You can pick one European character set
524 to use without multibyte characters.
525 * Charsets:: How Emacs groups its internal character codes.
529 * Choosing Modes:: How major modes are specified or chosen.
533 * Indentation Commands:: Various commands and techniques for indentation.
534 * Tab Stops:: You can set arbitrary "tab stops" and then
535 indent to the next tab stop when you want to.
536 * Just Spaces:: You can request indentation using just spaces.
538 Commands for Human Languages
540 * Words:: Moving over and killing words.
541 * Sentences:: Moving over and killing sentences.
542 * Paragraphs:: Moving over paragraphs.
543 * Pages:: Moving over pages.
544 * Filling:: Filling or justifying text.
545 * Case:: Changing the case of text.
546 * Text Mode:: The major modes for editing text files.
547 * Outline Mode:: Editing outlines.
548 * TeX Mode:: Editing input to the formatter TeX.
549 * HTML Mode:: Editing HTML, SGML, and XML files.
550 * Nroff Mode:: Editing input to the formatter nroff.
551 * Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
552 * Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
556 * Auto Fill:: Auto Fill mode breaks long lines automatically.
557 * Refill:: Keeping paragraphs filled.
558 * Fill Commands:: Commands to refill paragraphs and center lines.
559 * Fill Prefix:: Filling paragraphs that are indented
560 or in a comment, etc.
561 * Adaptive Fill:: How Emacs can determine the fill prefix automatically.
562 * Longlines:: Editing text with very long lines.
566 * Format: Outline Format. What the text of an outline looks like.
567 * Motion: Outline Motion. Special commands for moving through
569 * Visibility: Outline Visibility. Commands to control what is visible.
570 * Views: Outline Views. Outlines and multiple views.
571 * Foldout:: Folding means zooming in on outlines.
575 * Editing: TeX Editing. Special commands for editing in TeX mode.
576 * LaTeX: LaTeX Editing. Additional commands for LaTeX input files.
577 * Printing: TeX Print. Commands for printing part of a file with TeX.
578 * Misc: TeX Misc. Customization of TeX mode, and related features.
580 Editing Formatted Text
582 * Requesting Formatted Text:: Entering and exiting Enriched mode.
583 * Hard and Soft Newlines:: There are two different kinds of newlines.
584 * Editing Format Info:: How to edit text properties.
585 * Faces: Format Faces. Bold, italic, underline, etc.
586 * Color: Format Colors. Changing the color of text.
587 * Indent: Format Indentation. Changing the left and right margins.
588 * Justification: Format Justification.
589 Centering, setting text flush with the
590 left or right margin, etc.
591 * Other: Format Properties. The "special" text properties submenu.
592 * Forcing Enriched Mode:: How to force use of Enriched mode.
594 Editing Text-based Tables
596 * Table Definition:: What is a text based table.
597 * Table Creation:: How to create a table.
598 * Table Recognition:: How to activate and deactivate tables.
599 * Cell Commands:: Cell-oriented commands in a table.
600 * Cell Justification:: Justifying cell contents.
601 * Row Commands:: Manipulating rows of table cell.
602 * Column Commands:: Manipulating columns of table cell.
603 * Fixed Width Mode:: Fixing cell width.
604 * Table Conversion:: Converting between plain text and tables.
605 * Measuring Tables:: Analyzing table dimension.
606 * Table Misc:: Table miscellany.
610 * Program Modes:: Major modes for editing programs.
611 * Defuns:: Commands to operate on major top-level parts
613 * Program Indent:: Adjusting indentation to show the nesting.
614 * Parentheses:: Commands that operate on parentheses.
615 * Comments:: Inserting, killing, and aligning comments.
616 * Documentation:: Getting documentation of functions you plan to call.
617 * Hideshow:: Displaying blocks selectively.
618 * Symbol Completion:: Completion on symbol names of your program or language.
619 * Glasses:: Making identifiersLikeThis more readable.
620 * Misc for Programs:: Other Emacs features useful for editing programs.
621 * C Modes:: Special commands of C, C++, Objective-C,
622 Java, and Pike modes.
623 * Asm Mode:: Asm mode and its special features.
624 * Fortran:: Fortran mode and its special features.
626 Top-Level Definitions, or Defuns
628 * Left Margin Paren:: An open-paren or similar opening delimiter
629 starts a defun if it is at the left margin.
630 * Moving by Defuns:: Commands to move over or mark a major definition.
631 * Imenu:: Making buffer indexes as menus.
632 * Which Function:: Which Function mode shows which function you are in.
634 Indentation for Programs
636 * Basic Indent:: Indenting a single line.
637 * Multi-line Indent:: Commands to reindent many lines at once.
638 * Lisp Indent:: Specifying how each Lisp function should be indented.
639 * C Indent:: Extra features for indenting C and related modes.
640 * Custom C Indent:: Controlling indentation style for C and related modes.
642 Commands for Editing with Parentheses
644 * Expressions:: Expressions with balanced parentheses.
645 * Moving by Parens:: Commands for moving up, down and across
646 in the structure of parentheses.
647 * Matching:: Insertion of a close-delimiter flashes matching open.
649 Manipulating Comments
651 * Comment Commands:: Inserting, killing, and aligning comments.
652 * Multi-Line Comments:: Commands for adding and editing multi-line comments.
653 * Options for Comments::Customizing the comment features.
657 * Info Lookup:: Looking up library functions and commands
659 * Man Page:: Looking up man pages of library functions and commands.
660 * Lisp Doc:: Looking up Emacs Lisp functions, etc.
664 * Motion in C:: Commands to move by C statements, etc.
665 * Electric C:: Colon and other chars can automatically reindent.
666 * Hungry Delete:: A more powerful DEL command.
667 * Other C Commands:: Filling comments, viewing expansion of macros,
668 and other neat features.
670 Compiling and Testing Programs
672 * Compilation:: Compiling programs in languages other
673 than Lisp (C, Pascal, etc.).
674 * Compilation Mode:: The mode for visiting compiler errors.
675 * Compilation Shell:: Customizing your shell properly
676 for use in the compilation buffer.
677 * Grep Searching:: Searching with grep.
678 * Flymake:: Finding syntax errors on the fly.
679 * Debuggers:: Running symbolic debuggers for non-Lisp programs.
680 * Executing Lisp:: Various modes for editing Lisp programs,
681 with different facilities for running
683 * Lisp Libraries:: Creating Lisp programs to run in Emacs.
684 * Lisp Eval:: Executing a single Lisp expression in Emacs.
685 * Lisp Interaction:: Executing Lisp in an Emacs buffer.
686 * External Lisp:: Communicating through Emacs with a separate Lisp.
688 Running Debuggers Under Emacs
690 * Starting GUD:: How to start a debugger subprocess.
691 * Debugger Operation:: Connection between the debugger and source buffers.
692 * Commands of GUD:: Key bindings for common commands.
693 * GUD Customization:: Defining your own commands for GUD.
694 * GDB Graphical Interface:: An enhanced mode that uses GDB features to
695 implement a graphical debugging environment through
698 Maintaining Large Programs
700 * Version Control:: Version control systems (RCS, CVS and SCCS).
701 * Change Log:: Maintaining a change history for your program.
702 * Tags:: Go directly to any function in your program in one
703 command. Tags remembers which file it is in.
704 * Emerge:: A convenient way of merging two versions of a program.
708 * Introduction to VC:: How version control works in general.
709 * VC Mode Line:: How the mode line shows version control status.
710 * Basic VC Editing:: How to edit a file under version control.
711 * Old Revisions:: Examining and comparing old revisions of files.
712 * Secondary VC Commands:: The commands used a little less frequently.
713 * Branches:: Multiple lines of development.
714 * Remote Repositories:: Efficient access to remote CVS servers.
715 * Revision Tags:: Symbolic names for revisions
716 * Miscellaneous VC:: Various other commands and features of VC.
717 * Customizing VC:: Variables that change VC's behavior.
721 * Tag Syntax:: Tag syntax for various types of code and text files.
722 * Create Tags Table:: Creating a tags table with @code{etags}.
723 * Etags Regexps:: Create arbitrary tags using regular expressions.
724 * Select Tags Table:: How to visit a tags table.
725 * Find Tag:: Commands to find the definition of a specific tag.
726 * Tags Search:: Using a tags table for searching and replacing.
727 * List Tags:: Listing and finding tags defined in a file.
731 * Abbrev Concepts:: Fundamentals of defined abbrevs.
732 * Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
733 * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
734 * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
735 * Saving Abbrevs:: Saving the entire list of abbrevs for another session.
736 * Dynamic Abbrevs:: Abbreviations for words already in the buffer.
737 * Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
742 * Basic Picture:: Basic concepts and simple commands of Picture Mode.
743 * Insert in Picture:: Controlling direction of cursor motion
744 after "self-inserting" characters.
745 * Tabs in Picture:: Various features for tab stops and indentation.
746 * Rectangles in Picture:: Clearing and superimposing rectangles.
751 * Mail Format:: Format of the mail being composed.
752 * Mail Headers:: Details of permitted mail header fields.
753 * Mail Aliases:: Abbreviating and grouping mail addresses.
754 * Mail Mode:: Special commands for editing mail being composed.
755 * Mail Amusements:: Distract the NSA's attention; add a fortune to a msg.
756 * Mail Methods:: Using alternative mail-composition methods.
758 Reading Mail with Rmail
760 * Rmail Basics:: Basic concepts of Rmail, and simple use.
761 * Rmail Scrolling:: Scrolling through a message.
762 * Rmail Motion:: Moving to another message.
763 * Rmail Deletion:: Deleting and expunging messages.
764 * Rmail Inbox:: How mail gets into the Rmail file.
765 * Rmail Files:: Using multiple Rmail files.
766 * Rmail Output:: Copying message out to files.
767 * Rmail Labels:: Classifying messages by labeling them.
768 * Rmail Attributes:: Certain standard labels, called attributes.
769 * Rmail Reply:: Sending replies to messages you are viewing.
770 * Rmail Summary:: Summaries show brief info on many messages.
771 * Rmail Sorting:: Sorting messages in Rmail.
772 * Rmail Display:: How Rmail displays a message; customization.
773 * Rmail Coding:: How Rmail handles decoding character sets.
774 * Rmail Editing:: Editing message text and headers in Rmail.
775 * Rmail Digest:: Extracting the messages from a digest message.
776 * Out of Rmail:: Converting an Rmail file to mailbox format.
777 * Rmail Rot13:: Reading messages encoded in the rot13 code.
778 * Movemail:: More details of fetching new mail.
779 * Remote Mailboxes:: Retrieving Mail from Remote Mailboxes.
780 * Other Mailbox Formats:: Retrieving Mail from Local Mailboxes in
783 Dired, the Directory Editor
785 * Dired Enter:: How to invoke Dired.
786 * Dired Navigation:: How to move in the Dired buffer.
787 * Dired Deletion:: Deleting files with Dired.
788 * Flagging Many Files:: Flagging files based on their names.
789 * Dired Visiting:: Other file operations through Dired.
790 * Marks vs Flags:: Flagging for deletion vs marking.
791 * Operating on Files:: How to copy, rename, print, compress, etc.
792 either one file or several files.
793 * Shell Commands in Dired:: Running a shell command on the marked files.
794 * Transforming File Names:: Using patterns to rename multiple files.
795 * Comparison in Dired:: Running `diff' by way of Dired.
796 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
797 * Subdir Switches:: Subdirectory switches in Dired.
798 * Subdirectory Motion:: Moving across subdirectories, and up and down.
799 * Hiding Subdirectories:: Making subdirectories visible or invisible.
800 * Dired Updating:: Discarding lines for files of no interest.
801 * Dired and Find:: Using `find' to choose the files for Dired.
802 * Wdired:: Operating on files by editing the Dired buffer.
803 * Image-Dired:: Viewing image thumbnails in Dired
804 * Misc Dired Features:: Various other features.
806 The Calendar and the Diary
808 * Calendar Motion:: Moving through the calendar; selecting a date.
809 * Scroll Calendar:: Bringing earlier or later months onto the screen.
810 * Counting Days:: How many days are there between two dates?
811 * General Calendar:: Exiting or recomputing the calendar.
812 * Writing Calendar Files:: Writing calendars to files of various formats.
813 * Holidays:: Displaying dates of holidays.
814 * Sunrise/Sunset:: Displaying local times of sunrise and sunset.
815 * Lunar Phases:: Displaying phases of the moon.
816 * Other Calendars:: Converting dates to other calendar systems.
817 * Diary:: Displaying events from your diary.
818 * Appointments:: Reminders when it's time to do something.
819 * Importing Diary:: Converting diary events to/from other formats.
820 * Daylight Saving:: How to specify when daylight saving time is active.
821 * Time Intervals:: Keeping track of time intervals.
822 * Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
824 Movement in the Calendar
826 * Calendar Unit Motion:: Moving by days, weeks, months, and years.
827 * Move to Beginning or End:: Moving to start/end of weeks, months, and years.
828 * Specified Dates:: Moving to the current date or another
831 Conversion To and From Other Calendars
833 * Calendar Systems:: The calendars Emacs understands
834 (aside from Gregorian).
835 * To Other Calendar:: Converting the selected date to various calendars.
836 * From Other Calendar:: Moving to a date specified in another calendar.
837 * Mayan Calendar:: Moving to a date specified in a Mayan calendar.
841 * Displaying the Diary:: Viewing diary entries and associated calendar dates.
842 * Format of Diary File:: Entering events in your diary.
843 * Date Formats:: Various ways you can specify dates.
844 * Adding to Diary:: Commands to create diary entries.
845 * Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc.
849 * Navigation:: Navigation inside DocView buffers.
850 * Searching:: Searching inside documents.
851 * Slicing:: Specifing which part of pages should be displayed.
852 * Conversion:: Influencing and triggering conversion.
856 * Buffers of Gnus:: The group, summary, and article buffers.
857 * Gnus Startup:: What you should know about starting Gnus.
858 * Summary of Gnus:: A short description of the basic Gnus commands.
860 Running Shell Commands from Emacs
862 * Single Shell:: How to run one shell command and return.
863 * Interactive Shell:: Permanent shell taking input via Emacs.
864 * Shell Mode:: Special Emacs commands used with permanent shell.
865 * Shell Prompts:: Two ways to recognize shell prompts.
866 * Shell History:: Repeating previous commands in a shell buffer.
867 * Directory Tracking:: Keeping track when the subshell changes directory.
868 * Shell Options:: Options for customizing Shell mode.
869 * Terminal emulator:: An Emacs window as a terminal emulator.
870 * Term Mode:: Special Emacs commands used in Term mode.
871 * Paging in Term:: Paging in the terminal emulator.
872 * Remote Host:: Connecting to another computer.
873 * Serial Terminal:: Connecting to a serial port.
875 Using Emacs as a Server
877 * Invoking emacsclient:: Connecting to the Emacs server.
878 * emacsclient Options:: Emacs client startup options.
882 * PostScript:: Printing buffers or regions as PostScript.
883 * PostScript Variables:: Customizing the PostScript printing commands.
884 * Printing Package:: An optional advanced printing interface.
886 Hyperlinking and Navigation Features
888 * Browse-URL:: Following URLs.
889 * Goto Address mode:: Activating URLs.
890 * FFAP:: Finding files etc. at point.
894 * Minor Modes:: Each minor mode is one feature you can turn on
895 independently of any others.
896 * Easy Customization:: Convenient way to browse and change user options.
897 * Variables:: Many Emacs commands examine Emacs variables
898 to decide what to do; by setting variables,
899 you can control their functioning.
900 * Key Bindings:: The keymaps say what command each key runs.
901 By changing them, you can "redefine keys".
902 * Syntax:: The syntax table controls how words and
903 expressions are parsed.
904 * Init File:: How to write common customizations in the
909 * Examining:: Examining or setting one variable's value.
910 * Hooks:: Hook variables let you specify programs for parts
911 of Emacs to run on particular occasions.
912 * Locals:: Per-buffer values of variables.
913 * File Variables:: How files can specify variable values.
915 Customizing Key Bindings
917 * Keymaps:: Generalities. The global keymap.
918 * Prefix Keymaps:: Keymaps for prefix keys.
919 * Local Keymaps:: Major and minor modes have their own keymaps.
920 * Minibuffer Maps:: The minibuffer uses its own local keymaps.
921 * Rebinding:: How to redefine one key's meaning conveniently.
922 * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}.
923 * Modifier Keys:: Using modifier keys in key bindings.
924 * Function Keys:: Rebinding terminal function keys.
925 * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on.
926 * Mouse Buttons:: Rebinding mouse buttons in Emacs.
927 * Disabling:: Disabling a command means confirmation is required
928 before it can be executed. This is done to protect
929 beginners from surprises.
931 The Init File, @file{~/.emacs}
933 * Init Syntax:: Syntax of constants in Emacs Lisp.
934 * Init Examples:: How to do some things with an init file.
935 * Terminal Init:: Each terminal type can have an init file.
936 * Find Init:: How Emacs finds the init file.
937 * Init Non-ASCII:: Using non-@acronym{ASCII} characters in an init file.
939 Dealing with Emacs Trouble
941 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
942 * Stuck Recursive:: `[...]' in mode line around the parentheses.
943 * Screen Garbled:: Garbage on the screen.
944 * Text Garbled:: Garbage in the text.
945 * Memory Full:: How to cope when you run out of memory.
946 * After a Crash:: Recovering editing in an Emacs session that crashed.
947 * Emergency Escape:: Emergency escape---
948 What to do if Emacs stops responding.
949 * Total Frustration:: When you are at your wits' end.
953 * Bug Criteria:: Have you really found a bug?
954 * Understanding Bug Reporting:: How to report a bug effectively.
955 * Checklist:: Steps to follow for a good bug report.
956 * Sending Patches:: How to send a patch for GNU Emacs.
958 Command Line Arguments for Emacs Invocation
960 * Action Arguments:: Arguments to visit files, load libraries,
962 * Initial Options:: Arguments that take effect while starting Emacs.
963 * Command Example:: Examples of using command line arguments.
964 * Resume Arguments:: Specifying arguments when you resume a running Emacs.
965 * Environment:: Environment variables that Emacs uses.
966 * Display X:: Changing the default display and using remote login.
967 * Font X:: Choosing a font for text, under X.
968 * Colors:: Choosing display colors.
969 * Window Size X:: Start-up window size, under X.
970 * Borders X:: Internal and external borders, under X.
971 * Title X:: Specifying the initial frame's title.
972 * Icons X:: Choosing what sort of icon to use, under X.
973 * Misc X:: Other display options.
975 Environment Variables
977 * General Variables:: Environment variables that all versions of Emacs use.
978 * Misc Variables:: Certain system specific variables.
979 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
981 X Options and Resources
983 * Resources:: Using X resources with Emacs (in general).
984 * Table of Resources:: Table of specific X resources that affect Emacs.
985 * Face Resources:: X resources for customizing faces.
986 * Lucid Resources:: X resources for Lucid menus.
987 * LessTif Resources:: X resources for LessTif and Motif menus.
988 * GTK resources:: Resources for GTK widgets.
990 Emacs and Mac OS / GNUstep
992 * Mac / GNUstep Basics:: Basic Emacs usage in Mac OS.
993 * Mac / GNUstep Events:: How window system events are handled.
994 * Mac / GNUstep Customization:: Customizations in Mac OS
995 * GNUstep Support:: Details on status of GNUstep support
997 Emacs and Microsoft Windows/MS-DOS
999 * Text and Binary:: Text files use CRLF to terminate lines.
1000 * Windows Files:: File-name conventions on Windows.
1001 * ls in Lisp:: Emulation of @code{ls} for Dired.
1002 * Windows HOME:: Where Emacs looks for your @file{.emacs}.
1003 * Windows Keyboard:: Windows-specific keyboard features.
1004 * Windows Mouse:: Windows-specific mouse features.
1005 * Windows Processes:: Running subprocesses on Windows.
1006 * Windows Printing:: How to specify the printer on MS-Windows.
1007 * Windows Misc:: Miscellaneous Windows features.
1008 * MS-DOS:: Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}).
1015 This manual documents the use and simple customization of the Emacs
1016 editor. Simple Emacs customizations do not require you to be a
1017 programmer, but if you are not interested in customizing, you can
1018 ignore the customization hints.
1020 This is primarily a reference manual, but can also be used as a
1021 primer. If you are new to Emacs, we recommend you start with
1022 the on-line, learn-by-doing tutorial, before reading the manual. To
1023 run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
1024 describes commands, tells you when to try them, and explains the
1027 On first reading, just skim chapters 1 and 2, which describe the
1028 notational conventions of the manual and the general appearance of the
1029 Emacs display screen. Note which questions are answered in these
1030 chapters, so you can refer back later. After reading chapter 4, you
1031 should practice the commands shown there. The next few chapters
1032 describe fundamental techniques and concepts that are used constantly.
1033 You need to understand them thoroughly, so experiment with them
1034 until you are fluent.
1036 Chapters 14 through 19 describe intermediate-level features that are
1037 useful for many kinds of editing. Chapter 20 and following chapters
1038 describe optional but useful features; read those chapters when you
1041 Read the Trouble chapter if Emacs does not seem to be working
1042 properly. It explains how to cope with several common problems
1043 (@pxref{Lossage}), as well as when and how to report Emacs bugs
1046 To find the documentation of a particular command, look in the index.
1047 Keys (character commands) and command names have separate indexes.
1048 There is also a glossary, with a cross reference for each term.
1050 This manual is available as a printed book and also as an Info file.
1051 The Info file is for on-line perusal with the Info program, which is
1052 the principal means of accessing on-line documentation in the GNU
1053 system. Both the Emacs Info file and an Info reader are included with
1054 GNU Emacs. The Info file and the printed book contain substantially
1055 the same text and are generated from the same source files, which are
1056 also distributed with GNU Emacs.
1058 GNU Emacs is a member of the Emacs editor family. There are many
1059 Emacs editors, all sharing common principles of organization. For
1060 information on the underlying philosophy of Emacs and the lessons
1061 learned from its development, see @cite{Emacs, the Extensible,
1062 Customizable Self-Documenting Display Editor}, available from
1063 @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1065 This edition of the manual is intended for use with GNU Emacs
1066 installed on GNU and Unix systems. GNU Emacs can also be used on
1067 MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems.
1068 Those systems use different file name syntax; in addition
1069 MS-DOS does not support all GNU Emacs features. @xref{Microsoft
1070 Windows}, for information about using Emacs on Windows.
1071 @xref{Mac OS}, for information about using Emacs on Macintosh.
1074 @node Distrib, Intro, Top, Top
1075 @unnumbered Distribution
1077 GNU Emacs is @dfn{free software}; this means that everyone is free to
1078 use it and free to redistribute it on certain conditions. GNU Emacs
1079 is not in the public domain; it is copyrighted and there are
1080 restrictions on its distribution, but these restrictions are designed
1081 to permit everything that a good cooperating citizen would want to do.
1082 What is not allowed is to try to prevent others from further sharing
1083 any version of GNU Emacs that they might get from you. The precise
1084 conditions are found in the GNU General Public License that comes with
1085 Emacs and also appears in this manual@footnote{This manual is itself
1086 covered by the GNU Free Documentation License. This license is
1087 similar in spirit to the General Public License, but is more suitable
1088 for documentation. @xref{GNU Free Documentation License}.}.
1091 One way to get a copy of GNU Emacs is from someone else who has it.
1092 You need not ask for our permission to do so, or tell any one else;
1093 just copy it. If you have access to the Internet, you can get the
1094 latest distribution version of GNU Emacs by anonymous FTP; see
1095 @url{http://www.gnu.org/software/emacs} on our website for more
1098 You may also receive GNU Emacs when you buy a computer. Computer
1099 manufacturers are free to distribute copies on the same terms that apply to
1100 everyone else. These terms require them to give you the full sources,
1101 including whatever changes they may have made, and to permit you to
1102 redistribute the GNU Emacs received from them under the usual terms of the
1103 General Public License. In other words, the program must be free for you
1104 when you get it, not just free for the manufacturer.
1106 You can also order copies of GNU Emacs from the Free Software
1107 Foundation. This is a convenient and reliable way to get a copy; it is
1108 also a good way to help fund our work. We also sell hardcopy versions
1109 of this manual and @cite{An Introduction to Programming in Emacs Lisp},
1110 by Robert J. Chassell. You can find an order form on our web site at
1111 @url{http://www.gnu.org/order/order.html}. For further information,
1115 Free Software Foundation
1116 51 Franklin Street, Fifth Floor
1117 Boston, MA 02110-1301
1121 The income from distribution fees goes to support the foundation's
1122 purpose: the development of new free software, and improvements to our
1123 existing programs including GNU Emacs.
1125 If you find GNU Emacs useful, please @strong{send a donation} to the
1126 Free Software Foundation to support our work. Donations to the Free
1127 Software Foundation are tax deductible in the US. If you use GNU Emacs
1128 at your workplace, please suggest that the company make a donation. If
1129 company policy is unsympathetic to the idea of donating to charity, you
1130 might instead suggest ordering a CD-ROM from the Foundation
1131 occasionally, or subscribing to periodic updates.
1134 @node Acknowledgments, Intro, Distrib, Top
1135 @unnumberedsec Acknowledgments
1137 Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1138 Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf
1139 Angeli, Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero,
1140 Eli Barzilay, Steven L.@: Baur, Jay Belanger, Alexander L.@: Belikoff,
1141 Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim Blandy,
1142 Johan Bockg@aa{}rd, Per Bothner, Terrence Brannon, Frank Bresz, Peter
1143 Breton, Emmanuel Briot, Kevin Broadey, Vincent Broman, David M.@:
1144 Brown, Georges Brun-Cottan, Joe Buehler, W@l{}odek Bzyl, Bill
1145 Carpenter, Per Cederqvist, Hans Chalupsky, Chong Yidong, Chris Chase,
1146 Bob Chassell, Andrew Choi, Sacha Chua, James Clark, Mike Clarkson,
1147 Glynn Clements, Andrew Csillag, Doug Cutting, Mathias Dahl, Satyaki
1148 Das, Michael DeCorte, Gary Delp, Matthieu Devin, Eri Ding, Jan
1149 Dj@"{a}rv, Carsten Dominik, Scott Draves, Benjamin Drieu, Viktor
1150 Dukhovni, John Eaton, Rolf Ebert, Paul Eggert, Stephen Eglen,
1151 Torbj@"orn Einarsson, Tsugutomo Enami, Hans Henrik Eriksen, Michael
1152 Ernst, Ata Etemadi, Frederick Farnbach, Oscar Figueiredo, Fred Fish,
1153 Karl Fogel, Gary Foster, Romain Francoise, Noah Friedman, Andreas
1154 Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@: Galbraith,
1155 Kevin Gallagher, Kevin Gallo, Juan Le@'{o}n Lahoz
1156 Garc@'{@dotless{i}}a, Howard Gayle, Stephen Gildea, Julien Gilles,
1157 David Gillespie, Bob Glickstein, Deepak Goel, Boris Goldowsky,
1158 Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann, Michael
1159 Gschwind, Henry Guillaume, Doug Gwyn, Ken'ichi Handa, Lars Hansen,
1160 Chris Hanson, K. Shane Hartman, John Heidemann, Jon K.@: Hellan,
1161 Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer, Manabu
1162 Higashida, Anders Holst, Jeffrey C.@: Honig, Tassilo Horn, Kurt
1163 Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen,
1164 Andrew Innes, Seiichiro Inoue, Pavel Janik, Paul Jarc, Ulf Jasper,
1165 Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, Arne
1166 J@o{}rgensen, Tomoji Kagatani, Brewster Kahle, Lute Kamstra, David
1167 Kastrup, David Kaufman, Henry Kautz, Taichi Kawabata, Howard Kaye,
1168 Michael Kifer, Richard King, Peter Kleiweg, Shuhei Kobayashi, Pavel
1169 Kobiakov, Larry K.@: Kolodney, David M.@: Koppelman, Koseki Yoshinori,
1170 Robert Krawitz, Sebastian Kremer, Ryszard Kubiak, Geoff Kuenning,
1171 David K@aa{}gedal, Daniel LaLiberte, Mario Lang, Aaron Larson, James
1172 R.@: Larus, Vinicius Jose Latorre, Werner Lemberg, Frederic Lepied,
1173 Peter Liljenberg, Lars Lindberg, Chris Lindblad, Anders Lindgren,
1174 Thomas Link, Juri Linkov, Francis Litterio, Emilio C. Lopes, Károly
1175 Lőrentey, Dave Love, Sascha L@"{u}decke, Eric Ludlam, Alan Mackenzie,
1176 Christopher J.@: Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann,
1177 Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin, Thomas
1178 May, Roland McGrath, Will Mengarini, David Megginson, Ben A. Mesander,
1179 Wayne Mesard, Brad Miller, Lawrence Mitchell, Richard Mlynarik, Gerd
1180 Moellmann, Stefan Monnier, Morioka Tomohiko, Keith Moore, Glenn
1181 Morris, Diane Murray, Sen Nagata, Erik Naggum, Thomas Neumann,
1182 Thien-Thi Nguyen, Mike Newton, Jurgen Nickelsen, Dan Nicolaescu,
1183 Hrvoje Niksic, Jeff Norden, Andrew Norman, Alexandre Oliva, Bob Olson,
1184 Michael Olson, Takaaki Ota, Pieter E.@: J.@: Pareit, David Pearson,
1185 Jeff Peck, Damon Anton Permezel, Tom Perrine, William M.@: Perry, Per
1186 Persson, Jens Petersen, Daniel Pfeiffer, Richard L.@: Pieri, Fred
1187 Pierresteguy, Christian Plaunt, David Ponce, Francesco A.@: Potorti,
1188 Michael D. Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin
1189 Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold, Alex Rezinsky,
1190 Rob Riepel, David Reitter, Adrian Robert, Nick Roberts, Roland B.@:
1191 Roberts, John Robinson, Danny Roozendaal, William Rosenblatt,
1192 Guillermo J.@: Rozas, Martin Rudalics, Ivar Rummelhoff, Jason Rumney,
1193 Wolfgang Rupprecht, Kevin Ryde, James B. Salem, Masahiko Sato, Jorgen
1194 Schaefer, Holger Schauer, William Schelter, Ralph Schleicher, Gregor
1195 Schmid, Michael Schmidt, Ronald S. Schnell, Philippe Schnoebelen, Jan
1196 Schormann, Alex Schroeder, Stephen Schoef, Raymond Scholz, Andreas
1197 Schwab, Randal Schwartz, Oliver Seidel, Manuel Serrano, Hovav Shacham,
1198 Stanislav Shalunov, Marc Shapiro, Richard Sharman, Olin Shivers, Espen
1199 Skoglund, Rick Sladkey, Lynn Slater, Chris Smith, David Smith, Paul
1200 D.@: Smith, Andre Spiegel, Michael Staats, William Sommerfeld, Michael
1201 Staats, Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson,
1202 Ken Stevens, Jonathan Stigelman, Martin Stjernholm, Kim F.@: Storm,
1203 Steve Strassman, Olaf Sylvester, Naoto Takahashi, Steven Tamm,
1204 Jean-Philippe Theberge, Jens T.@: Berger Thielemann, Spencer Thomas,
1205 Jim Thompson, Luc Teirlinck, Tom Tromey, Enami Tsugutomo, Eli
1206 Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil
1207 W.@: Van Dyke, Didier Verna, Ulrik Vieth, Geoffrey Voelker, Johan
1208 Vromans, Inge Wallin, John Paul Wallington, Colin Walters, Barry
1209 Warsaw, Morten Welinder, Joseph Brian Wells, Rodney Whitby, John
1210 Wiegley, Ed Wilkinson, Mike Williams, Bill Wohler, Steven A. Wood,
1211 Dale R.@: Worley, Francis J.@: Wright, Felix S. T. Wu, Tom Wurgler,
1212 Katsumi Yamaoka, Yamamoto Mitsuharu, Masatake Yamato, Jonathan Yavner,
1213 Ryan Yeske, Ilya Zakharevich, Milan Zamazal, Victor Zandy, Eli
1214 Zaretskii, Jamie Zawinski, Shenghuo Zhu, Ian T.@: Zimmermann, Reto
1215 Zimmermann, Neal Ziring, Teodor Zlatanov, and Detlev Zundel.
1218 @node Intro, Glossary, Distrib, Top
1219 @unnumbered Introduction
1221 You are reading about GNU Emacs, the GNU incarnation of the
1222 advanced, self-documenting, customizable, extensible editor Emacs.
1223 (The `G' in `GNU' is not silent.)
1225 We call Emacs @dfn{advanced} because it can do much more than simple
1226 insertion and deletion of text. It can control subprocesses, indent
1227 programs automatically, show two or more files at once, and more.
1228 Emacs editing commands operate in terms of characters, words, lines,
1229 sentences, paragraphs, and pages, as well as expressions and comments
1230 in various programming languages.
1232 @dfn{Self-documenting} means that at any time you can use special
1233 commands, known as @dfn{help commands}, to find out what your options
1234 are, or to find out what what any command does, or to find all the
1235 commands that pertain to a given topic. @xref{Help}.
1237 @dfn{Customizable} means that you can easily alter the behavior of
1238 Emacs commands in simple ways. For instance, if you use a programming
1239 language in which comments start with @samp{<**} and end with
1240 @samp{**>}, you can tell the Emacs comment manipulation commands to
1241 use those strings (@pxref{Comments}). To take another example, you
1242 can rebind the basic cursor motion commands (up, down, left and right)
1243 to any keys on the keyboard that you find comfortable.
1244 @xref{Customization}.
1246 @dfn{Extensible} means that you can go beyond simple customization
1247 and create entirely new commands. New commands are simply programs
1248 written in the Lisp language, which are run by Emacs's own Lisp
1249 interpreter. Existing commands can even be redefined in the middle of
1250 an editing session, without having to restart Emacs. Most of the
1251 editing commands in Emacs are written in Lisp; the few exceptions
1252 could have been written in Lisp but use C instead for efficiency.
1253 Writing an extension is programming, but non-programmers can use it
1254 afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1255 Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1258 @include screen.texi
1259 @include commands.texi
1260 @include entering.texi
1266 @include killing.texi
1268 @include display.texi
1269 @include search.texi
1271 @include kmacro.texi
1273 @include buffers.texi
1274 @include windows.texi
1275 @include frames.texi
1278 @include indent.texi
1280 @include programs.texi
1281 @include building.texi
1282 @include maintaining.texi
1283 @include abbrevs.texi
1285 @include picture-xtra.texi
1287 @include sending.texi
1290 @include calendar.texi
1292 @include custom.texi
1293 @include trouble.texi
1295 @node Copying, GNU Free Documentation License, Service, Top
1296 @appendix GNU GENERAL PUBLIC LICENSE
1299 @node GNU Free Documentation License, Emacs Invocation, Copying, Top
1300 @appendix GNU Free Documentation License
1301 @include doclicense.texi
1303 @include cmdargs.texi
1304 @include xresources.texi
1310 @include glossary.texi
1315 @c The Option Index is produced only in the on-line version,
1316 @c because the index entries related to command-line options
1317 @c tend to point to the same pages and all begin with a dash.
1318 @c This, and the need to keep the node links consistent, are
1319 @c the reasons for the funky @iftex/@ifnottex dance below.
1320 @c The Option Index is _not_ before Key Index, because that
1321 @c would require changes in the glossary.texi's @node line.
1322 @c It is not after Concept Index for similar reasons.
1325 @node Key Index, Command Index, Glossary, Top
1326 @unnumbered Key (Character) Index
1331 @node Key Index, Option Index, Glossary, Top
1332 @unnumbered Key (Character) Index
1335 @node Option Index, Command Index, Key Index, Top
1336 @unnumbered Command-Line Options Index
1339 @node Command Index, Variable Index, Option Index, Top
1340 @unnumbered Command and Function Index
1345 @node Command Index, Variable Index, Key Index, Top
1346 @unnumbered Command and Function Index
1350 @node Variable Index, Concept Index, Command Index, Top
1351 @unnumbered Variable Index
1354 @node Concept Index, Acknowledgments, Variable Index, Top
1355 @unnumbered Concept Index
1361 arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392