* mule.texi (Select Input Method): Fix typo.
[bpt/emacs.git] / doc / emacs / emacs.texi
CommitLineData
8cf51b2c
GM
1\input texinfo
2
92f9b43f 3@setfilename ../../info/emacs
8cf51b2c
GM
4@settitle GNU Emacs Manual
5
6@c The edition number appears in several places in this file
7@set EDITION Sixteenth
b336408c 8@set EMACSVER 23.0.93
8cf51b2c
GM
9
10@copying
11This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
12updated for Emacs version @value{EMACSVER}.
13
14Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997,
6ed161e1 151998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
3f548a7c 16Free Software Foundation, Inc.
8cf51b2c
GM
17
18@quotation
19Permission is granted to copy, distribute and/or modify this document
4b121911 20under the terms of the GNU Free Documentation License, Version 1.3 or
8cf51b2c
GM
21any later version published by the Free Software Foundation; with the
22Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
23``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
24Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
25license is included in the section entitled ``GNU Free Documentation
26License.''
27
8e65d46c
GM
28(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
29modify this GNU manual. Buying copies from the FSF supports it in
8cf51b2c
GM
30developing GNU and promoting software freedom.''
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@c set smallbook
43
44@ifset smallbook
45@smallbook
46@end ifset
47
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.
51@tex
52@ifset smallbook
53@fonttextsize 10
54@set EMACSVER 22
55\global\let\urlcolor=\Black % don't print links in grayscale
56\global\let\linkcolor=\Black
57@end ifset
58\global\hbadness=6666 % don't worry about not-too-underfull boxes
59@end tex
60
61@defcodeindex op
62@synindex pg cp
63
64@iftex
65@kbdinputstyle code
66
67@shorttitlepage GNU Emacs Manual
68@end iftex
69
70@titlepage
71@sp 6
72@center @titlefont{GNU Emacs Manual}
73@sp 4
74@center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
75@sp 5
76@center Richard Stallman
77@page
78@vskip 0pt plus 1filll
79@insertcopying
80
81@sp 2
82Published by the Free Software Foundation @*
8351 Franklin Street, Fifth Floor @*
84Boston, MA 02110-1301 USA @*
85ISBN 1-882114-86-8
86
87@sp 2
88Cover art by Etienne Suvasa.
89
90@end titlepage
91
92
93@summarycontents
94@contents
95
96
97@ifnottex
98@node Top, Distrib, (dir), (dir)
99@top The Emacs Editor
100
101Emacs is the extensible, customizable, self-documenting real-time
102display editor. This Info file describes how to edit with Emacs and
103some of how to customize it; it corresponds to GNU Emacs version
104@value{EMACSVER}.
105
106@ifinfo
107To learn more about the Info documentation system, type @kbd{h}, and
108Emacs will take you to a programmed instruction sequence for the Info
109commands.
110@end ifinfo
111
112For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
113Emacs Lisp Reference Manual}.
114@end ifnottex
115
116@ignore
117These subcategories have been deleted for simplicity
118and to avoid conflicts.
119Completion
120Backup Files
121Auto-Saving: Protection Against Disasters
370fded4 122Tags
8cf51b2c
GM
123Text Mode
124Outline Mode
125@TeX{} Mode
126Formatted Text
127Shell Command History
128
129The ones for Dired and Rmail have had the items turned into :: items
130to avoid conflicts.
131Also Running Shell Commands from Emacs
132and Sending Mail and Registers and Minibuffer.
133@end ignore
134
f43a822c
KB
135@insertcopying
136
8cf51b2c
GM
137@menu
138* Distrib:: How to get the latest Emacs distribution.
139* Copying:: The GNU General Public License gives you permission
140 to redistribute GNU Emacs on certain terms;
141 it also explains that there is no warranty.
142* GNU Free Documentation License:: The license for this documentation.
143* Intro:: An introduction to Emacs concepts.
3420c522 144* Glossary:: Terms used in this manual.
d74d846e 145* Antinews:: Information about Emacs version 22.
e93bc142 146* Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep.
8cf51b2c
GM
147* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
148* Manifesto:: What's GNU? Gnu's Not Unix!
149* Acknowledgments:: Major contributors to GNU Emacs.
150
151Indexes (each index contains a large menu)
152* Key Index:: An item for each standard Emacs key sequence.
153* Option Index:: An item for every command-line option.
154* Command Index:: An item for each command name.
155* Variable Index:: An item for each documented variable.
156* Concept Index:: An item for each concept.
157
158Important General Concepts
159* Screen:: How to interpret what you see on the screen.
160* User Input:: Kinds of input events (characters, buttons,
161 function keys).
162* Keys:: Key sequences: what you type to request one
163 editing action.
164* Commands:: Named functions run by key sequences to do editing.
8cf51b2c
GM
165* Entering Emacs:: Starting Emacs from the shell.
166* Exiting:: Stopping or killing Emacs.
167* Emacs Invocation:: Hairy startup options.
168
169Fundamental Editing Commands
170* Basic:: The most basic editing commands.
171* Minibuffer:: Entering arguments that are prompted for.
172* M-x:: Invoking commands by their names.
173* Help:: Commands for asking Emacs about its commands.
174
175Important Text-Changing Commands
176* Mark:: The mark: how to delimit a ``region'' of text.
177* Killing:: Killing (cutting) text.
178* Yanking:: Recovering killed text. Moving text. (Pasting.)
179* Accumulating Text:: Other ways of copying text.
180* Rectangles:: Operating on the text inside a rectangle on the screen.
181* Registers:: Saving a text string or a location in the buffer.
182* Display:: Controlling what text is displayed.
183* Search:: Finding or replacing occurrences of a string.
184* Fixit:: Commands especially useful for fixing typos.
185* Keyboard Macros:: A keyboard macro records a sequence of
186 keystrokes to be replayed with a single command.
187
188Major Structures of Emacs
189* Files:: All about handling files.
190* Buffers:: Multiple buffers; editing several files at once.
191* Windows:: Viewing two pieces of text at once.
192* Frames:: Running the same Emacs session in multiple X windows.
193* International:: Using non-@acronym{ASCII} character sets (the MULE features).
194
195Advanced Features
196* Major Modes:: Text mode vs. Lisp mode vs. C mode ...
197* Indentation:: Editing the white space at the beginnings of lines.
198* Text:: Commands and modes for editing English.
199* Programs:: Commands and modes for editing programs.
200* Building:: Compiling, running and debugging programs.
201* Maintaining:: Features for maintaining large programs.
202* Abbrevs:: How to define text abbreviations to reduce
203 the number of characters you must type.
204@ifnottex
205* Picture Mode:: Editing pictures made up of characters using
206 the quarter-plane screen model.
207@end ifnottex
208* Sending Mail:: Sending mail in Emacs.
209* Rmail:: Reading mail in Emacs.
210* Dired:: You can ``edit'' a directory to manage files in it.
211* Calendar/Diary:: The calendar and diary facilities.
1963ba49 212* Document View:: Viewing PDF, PS and DVI files.
8cf51b2c
GM
213* Gnus:: How to read netnews with Emacs.
214* Shell:: Executing shell commands from Emacs.
215* Emacs Server:: Using Emacs as an editing server for @code{mail}, etc.
216* Printing:: Printing hardcopies of buffers or regions.
217* Sorting:: Sorting lines, paragraphs or pages within Emacs.
218* Narrowing:: Restricting display and editing to a portion
219 of the buffer.
220* Two-Column:: Splitting apart columns to edit them
221 in side-by-side windows.
222* Editing Binary Files::Using Hexl mode to edit binary files.
223* Saving Emacs Sessions:: Saving Emacs state from one session to the next.
224* Recursive Edit:: A command can allow you to do editing
225 "within the command". This is called a
226 "recursive editing level".
227* Emulation:: Emulating some other editors with Emacs.
228* Hyperlinking:: Following links in buffers.
229* Dissociated Press:: Dissociating text for fun.
230* Amusements:: Various games and hacks.
231* Customization:: Modifying the behavior of Emacs.
232* X Resources:: X resources for customizing Emacs.
233
234Recovery from Problems
235* Quitting:: Quitting and aborting.
236* Lossage:: What to do if Emacs is hung or malfunctioning.
237* Bugs:: How and when to report a bug.
238* Contributing:: How to contribute improvements to Emacs.
239* Service:: How to get help for your own Emacs needs.
240
241@c Do NOT modify the following 3 lines! They must have this form to
242@c be correctly identified by `texinfo-multiple-files-update'. In
243@c particular, the detailed menu header line MUST be identical to the
244@c value of `texinfo-master-menu-header'. See texnfo-upd.el.
245
246@detailmenu
247 --- The Detailed Node Listing ---
248 ---------------------------------
249
250Here are some other nodes which are really inferiors of the ones
251already listed, mentioned here so you can get to them in one step:
252
253The Organization of the Screen
254
255* Point:: The place in the text where editing commands operate.
256* Echo Area:: Short messages appear at the bottom of the screen.
257* Mode Line:: Interpreting the mode line.
258* Menu Bar:: How to use the menu bar.
259
260Basic Editing Commands
261
262* Inserting Text:: Inserting text by simply typing it.
263* Moving Point:: How to move the cursor to the place where you want to
264 change something.
265* Erasing:: Deleting and killing text.
266* Basic Undo:: Undoing recent changes in the text.
267* Basic Files:: Visiting, creating, and saving files.
268* Basic Help:: Asking what a character does.
269* Blank Lines:: Commands to make or delete blank lines.
270* Continuation Lines:: Lines too wide for the screen.
271* Position Info:: What page, line, row, or column is point on?
272* Arguments:: Numeric arguments for repeating a command.
273* Repeating:: A short-cut for repeating the previous command.
274
275The Minibuffer
276
277* Minibuffer File:: Entering file names with the minibuffer.
278* Minibuffer Edit:: How to edit in the minibuffer.
279* Completion:: An abbreviation facility for minibuffer input.
280* Minibuffer History:: Reusing recent minibuffer arguments.
281* Repetition:: Re-executing commands that used the minibuffer.
8d15c8db 282* Passwords:: Entering passwords in the echo area.
8cf51b2c
GM
283
284Completion
285
286* Example: Completion Example. Examples of using completion.
287* Commands: Completion Commands. A list of completion commands.
288* Strict Completion:: Different types of completion.
289* Options: Completion Options. Options for completion.
290
291Help
292
293* Help Summary:: Brief list of all Help commands.
294* Key Help:: Asking what a key does in Emacs.
295* Name Help:: Asking about a command, variable or function name.
296* Apropos:: Asking what pertains to a given topic.
297* Help Mode:: Special features of Help mode and Help buffers.
298* Library Keywords:: Finding Lisp libraries by keywords (topics).
299* Language Help:: Help relating to international language support.
300* Misc Help:: Other help commands.
301* Help Files:: Commands to display pre-written help files.
302* Help Echo:: Help on active text and tooltips (`balloon help')
303
304The Mark and the Region
305
306* Setting Mark:: Commands to set the mark.
8cf51b2c 307* Marking Objects:: Commands to put region around textual units.
8583bd46 308* Using Region:: Summary of ways to operate on contents of the region.
02105f6b
CY
309* Mark Ring:: Previous mark positions saved so you can go back there.
310* Global Mark Ring:: Previous mark positions in various buffers.
311* Shift Selection:: Using shifted cursor motion keys.
8583bd46 312* Persistent Mark:: Keeping the mark active all the time.
8cf51b2c
GM
313
314Killing and Moving Text
315
316* Deletion:: Commands for deleting small amounts of text and
317 blank areas.
318* Killing by Lines:: How to kill entire lines of text at one time.
319* Other Kill Commands:: Commands to kill large regions of text and
320 syntactic units such as words and sentences.
321* CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy
322 and paste, with enhanced rectangle support.
323
324Yanking
325
326* Kill Ring:: Where killed text is stored. Basic yanking.
327* Appending Kills:: Several kills in a row all yank together.
328* Earlier Kills:: Yanking something killed some time ago.
329
330Registers
331
332* RegPos:: Saving positions in registers.
333* RegText:: Saving text in registers.
334* RegRect:: Saving rectangles in registers.
335* RegConfig:: Saving window configurations in registers.
336* RegNumbers:: Numbers in registers.
337* RegFiles:: File names in registers.
338* Bookmarks:: Bookmarks are like registers, but persistent.
339
340Controlling the Display
341
342* Scrolling:: Moving text up and down in a window.
343* Auto Scrolling:: Redisplay scrolls text automatically when needed.
344* Horizontal Scrolling:: Moving text left and right in a window.
345* Follow Mode:: Follow mode lets two windows scroll as one.
346* Faces:: How to change the display style using faces.
347* Standard Faces:: Emacs' predefined faces.
fa9f971a 348* Temporary Face Changes:: Commands to temporarily modify the default text face
8cf51b2c
GM
349* Font Lock:: Minor mode for syntactic highlighting using faces.
350* Highlight Interactively:: Tell Emacs what text to highlight.
351* Fringes:: Enabling or disabling window fringes.
352* Displaying Boundaries:: Displaying top and bottom of the buffer.
353* Useless Whitespace:: Showing possibly-spurious trailing whitespace.
354* Selective Display:: Hiding lines with lots of indentation.
355* Optional Mode Line:: Optional mode line display features.
356* Text Display:: How text characters are normally displayed.
357* Cursor Display:: Features for displaying the cursor.
358* Line Truncation:: Truncating lines to fit the screen width instead
359 of continuing them to multiple screen lines.
4c2e2be9 360* Visual Line Mode:: Word wrap and screen line-based editing.
8cf51b2c
GM
361* Display Custom:: Information on variables for customizing display.
362
363Searching and Replacement
364
365* Incremental Search:: Search happens as you type the string.
366* Nonincremental Search:: Specify entire string and then search.
367* Word Search:: Search for sequence of words.
368* Regexp Search:: Search for match for a regexp.
369* Regexps:: Syntax of regular expressions.
370* Regexp Backslash:: Regular expression constructs starting with `\'.
371* Regexp Example:: A complex regular expression explained.
372* Search Case:: To ignore case while searching, or not.
373* Replace:: Search, and replace some or all matches.
374* Other Repeating Search:: Operating on all matches for some regexp.
375
376Incremental Search
377
378* Basic Isearch:: Basic incremental search commands.
379* Repeat Isearch:: Searching for the same string again.
380* Error in Isearch:: When your string is not found.
381* Special Isearch:: Special input in incremental search.
8cf51b2c
GM
382* Isearch Yank:: Commands that grab text into the search string
383 or else edit the search string.
8cf51b2c 384* Isearch Scroll:: Scrolling during an incremental search.
321e63fc 385* Isearch Minibuffer:: Incremental search of the minibuffer history.
8cf51b2c
GM
386* Slow Isearch:: Incremental search features for slow terminals.
387
388Replacement Commands
389
390* Unconditional Replace:: Replacing all matches for a string.
391* Regexp Replace:: Replacing all matches for a regexp.
392* Replacement and Case:: How replacements preserve case of letters.
393* Query Replace:: How to use querying.
394
395Commands for Fixing Typos
396
397* Undo:: Full details of Emacs undo commands.
8cf51b2c
GM
398* Transpose:: Exchanging two characters, words, lines, lists...
399* Fixing Case:: Correcting case of last word entered.
400* Spelling:: Apply spelling checker to a word or a whole buffer.
401
402Keyboard Macros
403
404* Basic Keyboard Macro:: Defining and running keyboard macros.
405* Keyboard Macro Ring:: Where previous keyboard macros are saved.
406* Keyboard Macro Counter:: Inserting incrementing numbers in macros.
407* Keyboard Macro Query:: Making keyboard macros do different things each time.
408* Save Keyboard Macro:: Giving keyboard macros names; saving them in files.
409* Edit Keyboard Macro:: Editing keyboard macros.
410* Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
411 macro.
412
413File Handling
414
415* File Names:: How to type and edit file-name arguments.
416* Visiting:: Visiting a file prepares Emacs to edit the file.
417* Saving:: Saving makes your changes permanent.
418* Reverting:: Reverting cancels all the changes not saved.
419* Autorevert:: Auto Reverting non-file buffers.
420* Auto Save:: Auto Save periodically protects against loss of data.
421* File Aliases:: Handling multiple names for one file.
8cf51b2c
GM
422* Directories:: Creating, deleting, and listing file directories.
423* Comparing Files:: Finding where two files differ.
424* Diff Mode:: Editing diff output.
425* Misc File Ops:: Other things you can do on files.
426* Compressed Files:: Accessing compressed files.
427* File Archives:: Operating on tar, zip, jar etc. archive files.
428* Remote Files:: Accessing files on other sites.
429* Quoted File Names:: Quoting special characters in file names.
430* File Name Cache:: Completion against a list of files you often use.
431* File Conveniences:: Convenience Features for Finding Files.
432* Filesets:: Handling sets of files.
433
434Saving Files
435
436* Save Commands:: Commands for saving files.
437* Backup:: How Emacs saves the old version of your file.
438* Customize Save:: Customizing the saving of files.
439* Interlocking:: How Emacs protects against simultaneous editing
440 of one file by two users.
441* File Shadowing:: Copying files to "shadows" automatically.
442* Time Stamps:: Emacs can update time stamps on saved files.
443
444Backup Files
445
8cf51b2c
GM
446* Names: Backup Names. How backup files are named.
447* Deletion: Backup Deletion. Emacs deletes excess numbered backups.
448* Copying: Backup Copying. Backups can be made by copying or renaming.
449
450Auto-Saving: Protection Against Disasters
451
452* Files: Auto Save Files. The file where auto-saved changes are
453 actually made until you save the file.
454* Control: Auto Save Control. Controlling when and how often to auto-save.
455* Recover:: Recovering text from auto-save files.
456
8cf51b2c
GM
457Using Multiple Buffers
458
459* Select Buffer:: Creating a new buffer or reselecting an old one.
460* List Buffers:: Getting a list of buffers that exist.
461* Misc Buffer:: Renaming; changing read-onliness; copying text.
462* Kill Buffer:: Killing buffers you no longer need.
463* Several Buffers:: How to go through the list of all buffers
464 and operate variously on several of them.
465* Indirect Buffers:: An indirect buffer shares the text of another buffer.
466* Buffer Convenience:: Convenience and customization features for
467 buffer handling.
468
469Multiple Windows
470
471* Basic Window:: Introduction to Emacs windows.
472* Split Window:: New windows are made by splitting existing windows.
473* Other Window:: Moving to another window or doing something to it.
474* Pop Up Window:: Finding a file or buffer in another window.
475* Force Same Window:: Forcing certain buffers to appear in the selected
476 window rather than in another window.
477* Change Window:: Deleting windows and changing their sizes.
478* Window Convenience:: Convenience functions for window handling.
479
480Frames and Graphical Displays
481
482* Cut and Paste:: Mouse commands for cut and paste.
483* Mouse References:: Using the mouse to select an item from a list.
484* Menu Mouse Clicks:: Mouse clicks that bring up menus.
485* Mode Line Mouse:: Mouse clicks on the mode line.
486* Creating Frames:: Creating additional Emacs frames with various contents.
487* Frame Commands:: Iconifying, deleting, and switching frames.
488* Speedbar:: How to make and use a speedbar frame.
489* Multiple Displays:: How one Emacs job can talk to several displays.
490* Special Buffer Frames:: You can make certain buffers have their own frames.
491* Frame Parameters:: Changing the colors and other modes of frames.
492* Scroll Bars:: How to enable and disable scroll bars; how to use them.
493* Wheeled Mice:: Using mouse wheels for scrolling.
494* Drag and Drop:: Using drag and drop to open files and insert text.
495* Menu Bars:: Enabling and disabling the menu bar.
496* Tool Bars:: Enabling and disabling the tool bar.
497* Dialog Boxes:: Controlling use of dialog boxes.
498* Tooltips:: Showing "tooltips", AKA "balloon help" for active text.
499* Mouse Avoidance:: Moving the mouse pointer out of the way.
500* Non-Window Terminals:: Multiple frames on terminals that show only one.
501* Text-Only Mouse:: Using the mouse in text-only terminals.
502
503International Character Set Support
504
505* International Chars:: Basic concepts of multibyte characters.
506* Enabling Multibyte:: Controlling whether to use multibyte characters.
507* Language Environments:: Setting things up for the language you use.
508* Input Methods:: Entering text characters not on your keyboard.
509* Select Input Method:: Specifying your choice of input methods.
8cf51b2c
GM
510* Coding Systems:: Character set conversion when you read and
511 write files, and so on.
512* Recognize Coding:: How Emacs figures out which conversion to use.
513* Specify Coding:: Specifying a file's coding system explicitly.
514* Output Coding:: Choosing coding systems for output.
515* Text Coding:: Choosing conversion to use for file text.
516* Communication Coding:: Coding systems for interprocess communication.
517* File Name Coding:: Coding systems for file @emph{names}.
518* Terminal Coding:: Specifying coding systems for converting
519 terminal input and output.
520* Fontsets:: Fontsets are collections of fonts
521 that cover the whole spectrum of characters.
522* Defining Fontsets:: Defining a new fontset.
523* Undisplayable Characters::When characters don't display.
524* Unibyte Mode:: You can pick one European character set
525 to use without multibyte characters.
526* Charsets:: How Emacs groups its internal character codes.
527
528Major Modes
529
530* Choosing Modes:: How major modes are specified or chosen.
531
532Indentation
533
534* Indentation Commands:: Various commands and techniques for indentation.
535* Tab Stops:: You can set arbitrary "tab stops" and then
536 indent to the next tab stop when you want to.
537* Just Spaces:: You can request indentation using just spaces.
538
539Commands for Human Languages
540
541* Words:: Moving over and killing words.
542* Sentences:: Moving over and killing sentences.
543* Paragraphs:: Moving over paragraphs.
544* Pages:: Moving over pages.
545* Filling:: Filling or justifying text.
546* Case:: Changing the case of text.
547* Text Mode:: The major modes for editing text files.
548* Outline Mode:: Editing outlines.
549* TeX Mode:: Editing input to the formatter TeX.
550* HTML Mode:: Editing HTML, SGML, and XML files.
551* Nroff Mode:: Editing input to the formatter nroff.
552* Formatted Text:: Editing formatted text directly in WYSIWYG fashion.
553* Text Based Tables:: Editing text-based tables in WYSIWYG fashion.
554
555Filling Text
556
557* Auto Fill:: Auto Fill mode breaks long lines automatically.
558* Refill:: Keeping paragraphs filled.
559* Fill Commands:: Commands to refill paragraphs and center lines.
560* Fill Prefix:: Filling paragraphs that are indented
561 or in a comment, etc.
562* Adaptive Fill:: How Emacs can determine the fill prefix automatically.
563* Longlines:: Editing text with very long lines.
564
565Outline Mode
566
567* Format: Outline Format. What the text of an outline looks like.
568* Motion: Outline Motion. Special commands for moving through
569 outlines.
570* Visibility: Outline Visibility. Commands to control what is visible.
571* Views: Outline Views. Outlines and multiple views.
572* Foldout:: Folding means zooming in on outlines.
573
574@TeX{} Mode
575
576* Editing: TeX Editing. Special commands for editing in TeX mode.
577* LaTeX: LaTeX Editing. Additional commands for LaTeX input files.
578* Printing: TeX Print. Commands for printing part of a file with TeX.
579* Misc: TeX Misc. Customization of TeX mode, and related features.
580
581Editing Formatted Text
582
583* Requesting Formatted Text:: Entering and exiting Enriched mode.
584* Hard and Soft Newlines:: There are two different kinds of newlines.
585* Editing Format Info:: How to edit text properties.
586* Faces: Format Faces. Bold, italic, underline, etc.
587* Color: Format Colors. Changing the color of text.
588* Indent: Format Indentation. Changing the left and right margins.
589* Justification: Format Justification.
590 Centering, setting text flush with the
591 left or right margin, etc.
592* Other: Format Properties. The "special" text properties submenu.
593* Forcing Enriched Mode:: How to force use of Enriched mode.
594
595Editing Text-based Tables
596
597* Table Definition:: What is a text based table.
598* Table Creation:: How to create a table.
599* Table Recognition:: How to activate and deactivate tables.
600* Cell Commands:: Cell-oriented commands in a table.
601* Cell Justification:: Justifying cell contents.
602* Row Commands:: Manipulating rows of table cell.
603* Column Commands:: Manipulating columns of table cell.
604* Fixed Width Mode:: Fixing cell width.
605* Table Conversion:: Converting between plain text and tables.
606* Measuring Tables:: Analyzing table dimension.
607* Table Misc:: Table miscellany.
608
609Editing Programs
610
611* Program Modes:: Major modes for editing programs.
612* Defuns:: Commands to operate on major top-level parts
613 of a program.
614* Program Indent:: Adjusting indentation to show the nesting.
615* Parentheses:: Commands that operate on parentheses.
616* Comments:: Inserting, killing, and aligning comments.
617* Documentation:: Getting documentation of functions you plan to call.
618* Hideshow:: Displaying blocks selectively.
619* Symbol Completion:: Completion on symbol names of your program or language.
620* Glasses:: Making identifiersLikeThis more readable.
621* Misc for Programs:: Other Emacs features useful for editing programs.
622* C Modes:: Special commands of C, C++, Objective-C,
623 Java, and Pike modes.
624* Asm Mode:: Asm mode and its special features.
625* Fortran:: Fortran mode and its special features.
626
627Top-Level Definitions, or Defuns
628
629* Left Margin Paren:: An open-paren or similar opening delimiter
630 starts a defun if it is at the left margin.
631* Moving by Defuns:: Commands to move over or mark a major definition.
632* Imenu:: Making buffer indexes as menus.
633* Which Function:: Which Function mode shows which function you are in.
634
635Indentation for Programs
636
637* Basic Indent:: Indenting a single line.
638* Multi-line Indent:: Commands to reindent many lines at once.
639* Lisp Indent:: Specifying how each Lisp function should be indented.
640* C Indent:: Extra features for indenting C and related modes.
641* Custom C Indent:: Controlling indentation style for C and related modes.
642
643Commands for Editing with Parentheses
644
645* Expressions:: Expressions with balanced parentheses.
646* Moving by Parens:: Commands for moving up, down and across
647 in the structure of parentheses.
648* Matching:: Insertion of a close-delimiter flashes matching open.
649
650Manipulating Comments
651
652* Comment Commands:: Inserting, killing, and aligning comments.
653* Multi-Line Comments:: Commands for adding and editing multi-line comments.
654* Options for Comments::Customizing the comment features.
655
656Documentation Lookup
657
658* Info Lookup:: Looking up library functions and commands
659 in Info files.
660* Man Page:: Looking up man pages of library functions and commands.
661* Lisp Doc:: Looking up Emacs Lisp functions, etc.
662
663C and Related Modes
664
665* Motion in C:: Commands to move by C statements, etc.
666* Electric C:: Colon and other chars can automatically reindent.
667* Hungry Delete:: A more powerful DEL command.
668* Other C Commands:: Filling comments, viewing expansion of macros,
669 and other neat features.
670
671Compiling and Testing Programs
672
673* Compilation:: Compiling programs in languages other
674 than Lisp (C, Pascal, etc.).
675* Compilation Mode:: The mode for visiting compiler errors.
676* Compilation Shell:: Customizing your shell properly
677 for use in the compilation buffer.
678* Grep Searching:: Searching with grep.
679* Flymake:: Finding syntax errors on the fly.
680* Debuggers:: Running symbolic debuggers for non-Lisp programs.
681* Executing Lisp:: Various modes for editing Lisp programs,
682 with different facilities for running
683 the Lisp programs.
684* Lisp Libraries:: Creating Lisp programs to run in Emacs.
685* Lisp Eval:: Executing a single Lisp expression in Emacs.
686* Lisp Interaction:: Executing Lisp in an Emacs buffer.
687* External Lisp:: Communicating through Emacs with a separate Lisp.
688
689Running Debuggers Under Emacs
690
691* Starting GUD:: How to start a debugger subprocess.
692* Debugger Operation:: Connection between the debugger and source buffers.
693* Commands of GUD:: Key bindings for common commands.
694* GUD Customization:: Defining your own commands for GUD.
695* GDB Graphical Interface:: An enhanced mode that uses GDB features to
696 implement a graphical debugging environment through
697 Emacs.
698
699Maintaining Large Programs
700
1963ba49 701* Version Control:: Version control systems (RCS, CVS and SCCS).
8cf51b2c 702* Change Log:: Maintaining a change history for your program.
4d120d6a 703* Tags:: Go directly to any function in your program in one
8cf51b2c
GM
704 command. Tags remembers which file it is in.
705* Emerge:: A convenient way of merging two versions of a program.
706
1963ba49
CY
707Version Control
708
709* Introduction to VC:: How version control works in general.
710* VC Mode Line:: How the mode line shows version control status.
711* Basic VC Editing:: How to edit a file under version control.
712* Old Revisions:: Examining and comparing old revisions of files.
713* Secondary VC Commands:: The commands used a little less frequently.
714* Branches:: Multiple lines of development.
715* Remote Repositories:: Efficient access to remote CVS servers.
716* Revision Tags:: Symbolic names for revisions
717* Miscellaneous VC:: Various other commands and features of VC.
718* Customizing VC:: Variables that change VC's behavior.
719
8cf51b2c
GM
720Tags Tables
721
722* Tag Syntax:: Tag syntax for various types of code and text files.
723* Create Tags Table:: Creating a tags table with @code{etags}.
724* Etags Regexps:: Create arbitrary tags using regular expressions.
725* Select Tags Table:: How to visit a tags table.
726* Find Tag:: Commands to find the definition of a specific tag.
727* Tags Search:: Using a tags table for searching and replacing.
728* List Tags:: Listing and finding tags defined in a file.
729
730Abbrevs
731
732* Abbrev Concepts:: Fundamentals of defined abbrevs.
733* Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
734* Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
735* Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
736* Saving Abbrevs:: Saving the entire list of abbrevs for another session.
737* Dynamic Abbrevs:: Abbreviations for words already in the buffer.
738* Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
739
740@ifnottex
741Editing Pictures
742
743* Basic Picture:: Basic concepts and simple commands of Picture Mode.
744* Insert in Picture:: Controlling direction of cursor motion
745 after "self-inserting" characters.
746* Tabs in Picture:: Various features for tab stops and indentation.
747* Rectangles in Picture:: Clearing and superimposing rectangles.
748@end ifnottex
749
750Sending Mail
751
752* Mail Format:: Format of the mail being composed.
753* Mail Headers:: Details of permitted mail header fields.
754* Mail Aliases:: Abbreviating and grouping mail addresses.
755* Mail Mode:: Special commands for editing mail being composed.
756* Mail Amusements:: Distract the NSA's attention; add a fortune to a msg.
757* Mail Methods:: Using alternative mail-composition methods.
758
759Reading Mail with Rmail
760
761* Rmail Basics:: Basic concepts of Rmail, and simple use.
762* Rmail Scrolling:: Scrolling through a message.
763* Rmail Motion:: Moving to another message.
764* Rmail Deletion:: Deleting and expunging messages.
765* Rmail Inbox:: How mail gets into the Rmail file.
766* Rmail Files:: Using multiple Rmail files.
767* Rmail Output:: Copying message out to files.
768* Rmail Labels:: Classifying messages by labeling them.
769* Rmail Attributes:: Certain standard labels, called attributes.
770* Rmail Reply:: Sending replies to messages you are viewing.
771* Rmail Summary:: Summaries show brief info on many messages.
772* Rmail Sorting:: Sorting messages in Rmail.
773* Rmail Display:: How Rmail displays a message; customization.
774* Rmail Coding:: How Rmail handles decoding character sets.
775* Rmail Editing:: Editing message text and headers in Rmail.
776* Rmail Digest:: Extracting the messages from a digest message.
8cf51b2c
GM
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
781 Various Formats
782
783Dired, the Directory Editor
784
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.
805
806The Calendar and the Diary
807
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.
823
824Movement in the Calendar
825
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
829 specific date.
830
831Conversion To and From Other Calendars
832
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.
838
839The Diary
840
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.
846
3f6db393
CY
847Document View
848
849* Navigation:: Navigation inside DocView buffers.
850* Searching:: Searching inside documents.
851* Slicing:: Specifing which part of pages should be displayed.
fa687b02 852* Conversion:: Influencing and triggering conversion.
3f6db393 853
8cf51b2c
GM
854Gnus
855
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.
859
860Running Shell Commands from Emacs
861
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.
37e5d54a 873* Serial Terminal:: Connecting to a serial port.
8cf51b2c
GM
874
875Using Emacs as a Server
876
e670e599
CY
877* Invoking emacsclient:: Connecting to the Emacs server.
878* emacsclient Options:: Emacs client startup options.
8cf51b2c
GM
879
880Printing Hard Copies
881
882* PostScript:: Printing buffers or regions as PostScript.
883* PostScript Variables:: Customizing the PostScript printing commands.
884* Printing Package:: An optional advanced printing interface.
885
886Hyperlinking and Navigation Features
887
888* Browse-URL:: Following URLs.
60d8d164 889* Goto Address mode:: Activating URLs.
8cf51b2c
GM
890* FFAP:: Finding files etc. at point.
891
892Customization
893
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
905 @file{.emacs} file.
906
907Variables
908
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.
914
915Customizing Key Bindings
916
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}.
f049d162 923* Modifier Keys:: Using modifier keys in key bindings.
8cf51b2c
GM
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.
930
931The Init File, @file{~/.emacs}
932
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.
938
939Dealing with Emacs Trouble
940
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.
950
951Reporting Bugs
952
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.
957
958Command Line Arguments for Emacs Invocation
959
960* Action Arguments:: Arguments to visit files, load libraries,
961 and call functions.
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.
974
975Environment Variables
976
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.
980
981X Options and Resources
982
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.
989
e93bc142 990Emacs and Mac OS / GNUstep
8cf51b2c 991
e93bc142
AR
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
8cf51b2c
GM
996
997Emacs and Microsoft Windows/MS-DOS
998
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}).
1009@end detailmenu
1010@end menu
1011
1012@iftex
1013@unnumbered Preface
1014
1015 This manual documents the use and simple customization of the Emacs
1016editor. Simple Emacs customizations do not require you to be a
1017programmer, but if you are not interested in customizing, you can
1018ignore the customization hints.
1019
1020 This is primarily a reference manual, but can also be used as a
1021primer. If you are new to Emacs, we recommend you start with
1022the on-line, learn-by-doing tutorial, before reading the manual. To
1023run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
1024describes commands, tells you when to try them, and explains the
1025results.
1026
1027 On first reading, just skim chapters 1 and 2, which describe the
1028notational conventions of the manual and the general appearance of the
1029Emacs display screen. Note which questions are answered in these
1030chapters, so you can refer back later. After reading chapter 4, you
1031should practice the commands shown there. The next few chapters
1032describe fundamental techniques and concepts that are used constantly.
1033You need to understand them thoroughly, so experiment with them
1034until you are fluent.
1035
1036 Chapters 14 through 19 describe intermediate-level features that are
1037useful for many kinds of editing. Chapter 20 and following chapters
1038describe optional but useful features; read those chapters when you
1039need them.
1040
1041 Read the Trouble chapter if Emacs does not seem to be working
1042properly. It explains how to cope with several common problems
1043(@pxref{Lossage}), as well as when and how to report Emacs bugs
1044(@pxref{Bugs}).
1045
1046 To find the documentation of a particular command, look in the index.
1047Keys (character commands) and command names have separate indexes.
1048There is also a glossary, with a cross reference for each term.
1049
1050 This manual is available as a printed book and also as an Info file.
1051The Info file is for on-line perusal with the Info program, which is
1052the principal means of accessing on-line documentation in the GNU
1053system. Both the Emacs Info file and an Info reader are included with
1054GNU Emacs. The Info file and the printed book contain substantially
1055the same text and are generated from the same source files, which are
1056also distributed with GNU Emacs.
1057
1058 GNU Emacs is a member of the Emacs editor family. There are many
1059Emacs editors, all sharing common principles of organization. For
1060information on the underlying philosophy of Emacs and the lessons
1061learned from its development, see @cite{Emacs, the Extensible,
1062Customizable Self-Documenting Display Editor}, available from
1063@url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1064
1065This edition of the manual is intended for use with GNU Emacs
7c2fb837 1066installed on GNU and Unix systems. GNU Emacs can also be used on
8cf51b2c 1067MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems.
7c2fb837
DN
1068Those systems use different file name syntax; in addition
1069MS-DOS does not support all GNU Emacs features. @xref{Microsoft
8cf51b2c 1070Windows}, for information about using Emacs on Windows.
7c2fb837 1071@xref{Mac OS}, for information about using Emacs on Macintosh.
8cf51b2c
GM
1072@end iftex
1073
1074@node Distrib, Intro, Top, Top
1075@unnumbered Distribution
1076
1077GNU Emacs is @dfn{free software}; this means that everyone is free to
1078use it and free to redistribute it on certain conditions. GNU Emacs
1079is not in the public domain; it is copyrighted and there are
1080restrictions on its distribution, but these restrictions are designed
1081to permit everything that a good cooperating citizen would want to do.
1082What is not allowed is to try to prevent others from further sharing
1083any version of GNU Emacs that they might get from you. The precise
1084conditions are found in the GNU General Public License that comes with
1085Emacs and also appears in this manual@footnote{This manual is itself
f43a822c
KB
1086covered by the GNU Free Documentation License (see the reverse title
1087page in the printed manual or view the full source for online formats
1088to see the precise conditions). This license is similar in spirit to
1089the General Public License, but is more suitable for documentation.
1090@xref{GNU Free Documentation License}.}. @xref{Copying}.
8cf51b2c
GM
1091
1092One way to get a copy of GNU Emacs is from someone else who has it.
1093You need not ask for our permission to do so, or tell any one else;
1094just copy it. If you have access to the Internet, you can get the
1095latest distribution version of GNU Emacs by anonymous FTP; see
1096@url{http://www.gnu.org/software/emacs} on our website for more
1097information.
1098
1099You may also receive GNU Emacs when you buy a computer. Computer
1100manufacturers are free to distribute copies on the same terms that apply to
1101everyone else. These terms require them to give you the full sources,
1102including whatever changes they may have made, and to permit you to
1103redistribute the GNU Emacs received from them under the usual terms of the
1104General Public License. In other words, the program must be free for you
1105when you get it, not just free for the manufacturer.
1106
1107You can also order copies of GNU Emacs from the Free Software
1108Foundation. This is a convenient and reliable way to get a copy; it is
1109also a good way to help fund our work. We also sell hardcopy versions
1110of this manual and @cite{An Introduction to Programming in Emacs Lisp},
1111by Robert J. Chassell. You can find an order form on our web site at
1112@url{http://www.gnu.org/order/order.html}. For further information,
1113write to
1114
1115@display
1116Free Software Foundation
111751 Franklin Street, Fifth Floor
1118Boston, MA 02110-1301
1119USA
1120@end display
1121
1122The income from distribution fees goes to support the foundation's
1123purpose: the development of new free software, and improvements to our
1124existing programs including GNU Emacs.
1125
1126If you find GNU Emacs useful, please @strong{send a donation} to the
1127Free Software Foundation to support our work. Donations to the Free
1128Software Foundation are tax deductible in the US. If you use GNU Emacs
1129at your workplace, please suggest that the company make a donation. If
1130company policy is unsympathetic to the idea of donating to charity, you
1131might instead suggest ordering a CD-ROM from the Foundation
1132occasionally, or subscribing to periodic updates.
1133
1134@iftex
1135@node Acknowledgments, Intro, Distrib, Top
1136@unnumberedsec Acknowledgments
1137
1138Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
7db0c8df
CY
1139Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf
1140Angeli, Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero,
1141Eli Barzilay, Steven L.@: Baur, Jay Belanger, Alexander L.@: Belikoff,
1142Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim Blandy,
1143Johan Bockg@aa{}rd, Per Bothner, Terrence Brannon, Frank Bresz, Peter
1144Breton, Emmanuel Briot, Kevin Broadey, Vincent Broman, David M.@:
1145Brown, Georges Brun-Cottan, Joe Buehler, W@l{}odek Bzyl, Bill
1146Carpenter, Per Cederqvist, Hans Chalupsky, Chong Yidong, Chris Chase,
1147Bob Chassell, Andrew Choi, Sacha Chua, James Clark, Mike Clarkson,
1148Glynn Clements, Andrew Csillag, Doug Cutting, Mathias Dahl, Satyaki
1149Das, Michael DeCorte, Gary Delp, Matthieu Devin, Eri Ding, Jan
1150Dj@"{a}rv, Carsten Dominik, Scott Draves, Benjamin Drieu, Viktor
1151Dukhovni, John Eaton, Rolf Ebert, Paul Eggert, Stephen Eglen,
1152Torbj@"orn Einarsson, Tsugutomo Enami, Hans Henrik Eriksen, Michael
1153Ernst, Ata Etemadi, Frederick Farnbach, Oscar Figueiredo, Fred Fish,
1154Karl Fogel, Gary Foster, Romain Francoise, Noah Friedman, Andreas
1155Fuchs, Hallvard Furuseth, Keith Gabryelski, Peter S.@: Galbraith,
1156Kevin Gallagher, Kevin Gallo, Juan Le@'{o}n Lahoz
1157Garc@'{@dotless{i}}a, Howard Gayle, Stephen Gildea, Julien Gilles,
1158David Gillespie, Bob Glickstein, Deepak Goel, Boris Goldowsky,
1159Michelangelo Grigni, Odd Gripenstam, Kai Gro@ss{}johann, Michael
1160Gschwind, Henry Guillaume, Doug Gwyn, Ken'ichi Handa, Lars Hansen,
1161Chris Hanson, K. Shane Hartman, John Heidemann, Jon K.@: Hellan,
1162Jesper Harder, Magnus Henoch, Markus Heritsch, Karl Heuer, Manabu
1163Higashida, Anders Holst, Jeffrey C.@: Honig, Tassilo Horn, Kurt
1164Hornik, Tom Houlder, Joakim Hove, Denis Howe, Lars Ingebrigtsen,
1165Andrew Innes, Seiichiro Inoue, Pavel Janik, Paul Jarc, Ulf Jasper,
1166Michael K. Johnson, Kyle Jones, Terry Jones, Simon Josefsson, Arne
1167J@o{}rgensen, Tomoji Kagatani, Brewster Kahle, Lute Kamstra, David
1168Kastrup, David Kaufman, Henry Kautz, Taichi Kawabata, Howard Kaye,
1169Michael Kifer, Richard King, Peter Kleiweg, Shuhei Kobayashi, Pavel
1170Kobiakov, Larry K.@: Kolodney, David M.@: Koppelman, Koseki Yoshinori,
1171Robert Krawitz, Sebastian Kremer, Ryszard Kubiak, Geoff Kuenning,
1172David K@aa{}gedal, Daniel LaLiberte, Mario Lang, Aaron Larson, James
1173R.@: Larus, Vinicius Jose Latorre, Werner Lemberg, Frederic Lepied,
1174Peter Liljenberg, Lars Lindberg, Chris Lindblad, Anders Lindgren,
1175Thomas Link, Juri Linkov, Francis Litterio, Emilio C. Lopes, Károly
1176Lőrentey, Dave Love, Sascha L@"{u}decke, Eric Ludlam, Alan Mackenzie,
1177Christopher J.@: Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann,
1178Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin, Thomas
1179May, Roland McGrath, Will Mengarini, David Megginson, Ben A. Mesander,
1180Wayne Mesard, Brad Miller, Lawrence Mitchell, Richard Mlynarik, Gerd
1181Moellmann, Stefan Monnier, Morioka Tomohiko, Keith Moore, Glenn
1182Morris, Diane Murray, Sen Nagata, Erik Naggum, Thomas Neumann,
1183Thien-Thi Nguyen, Mike Newton, Jurgen Nickelsen, Dan Nicolaescu,
1184Hrvoje Niksic, Jeff Norden, Andrew Norman, Alexandre Oliva, Bob Olson,
1185Michael Olson, Takaaki Ota, Pieter E.@: J.@: Pareit, David Pearson,
1186Jeff Peck, Damon Anton Permezel, Tom Perrine, William M.@: Perry, Per
1187Persson, Jens Petersen, Daniel Pfeiffer, Richard L.@: Pieri, Fred
1188Pierresteguy, Christian Plaunt, David Ponce, Francesco A.@: Potorti,
1189Michael D. Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin
1190Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold, Alex Rezinsky,
1191Rob Riepel, David Reitter, Adrian Robert, Nick Roberts, Roland B.@:
1192Roberts, John Robinson, Danny Roozendaal, William Rosenblatt,
1193Guillermo J.@: Rozas, Martin Rudalics, Ivar Rummelhoff, Jason Rumney,
1194Wolfgang Rupprecht, Kevin Ryde, James B. Salem, Masahiko Sato, Jorgen
1195Schaefer, Holger Schauer, William Schelter, Ralph Schleicher, Gregor
1196Schmid, Michael Schmidt, Ronald S. Schnell, Philippe Schnoebelen, Jan
1197Schormann, Alex Schroeder, Stephen Schoef, Raymond Scholz, Andreas
1198Schwab, Randal Schwartz, Oliver Seidel, Manuel Serrano, Hovav Shacham,
1199Stanislav Shalunov, Marc Shapiro, Richard Sharman, Olin Shivers, Espen
1200Skoglund, Rick Sladkey, Lynn Slater, Chris Smith, David Smith, Paul
1201D.@: Smith, Andre Spiegel, Michael Staats, William Sommerfeld, Michael
1202Staats, Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson,
1203Ken Stevens, Jonathan Stigelman, Martin Stjernholm, Kim F.@: Storm,
1204Steve Strassman, Olaf Sylvester, Naoto Takahashi, Steven Tamm,
1205Jean-Philippe Theberge, Jens T.@: Berger Thielemann, Spencer Thomas,
1206Jim Thompson, Luc Teirlinck, Tom Tromey, Enami Tsugutomo, Eli
1207Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil
1208W.@: Van Dyke, Didier Verna, Ulrik Vieth, Geoffrey Voelker, Johan
1209Vromans, Inge Wallin, John Paul Wallington, Colin Walters, Barry
1210Warsaw, Morten Welinder, Joseph Brian Wells, Rodney Whitby, John
1211Wiegley, Ed Wilkinson, Mike Williams, Bill Wohler, Steven A. Wood,
1212Dale R.@: Worley, Francis J.@: Wright, Felix S. T. Wu, Tom Wurgler,
1213Katsumi Yamaoka, Yamamoto Mitsuharu, Masatake Yamato, Jonathan Yavner,
1214Ryan Yeske, Ilya Zakharevich, Milan Zamazal, Victor Zandy, Eli
1215Zaretskii, Jamie Zawinski, Shenghuo Zhu, Ian T.@: Zimmermann, Reto
1216Zimmermann, Neal Ziring, Teodor Zlatanov, and Detlev Zundel.
8cf51b2c
GM
1217@end iftex
1218
1219@node Intro, Glossary, Distrib, Top
1220@unnumbered Introduction
1221
1222 You are reading about GNU Emacs, the GNU incarnation of the
1223advanced, self-documenting, customizable, extensible editor Emacs.
1224(The `G' in `GNU' is not silent.)
1225
332b5b9a
CY
1226 We call Emacs @dfn{advanced} because it can do much more than simple
1227insertion and deletion of text. It can control subprocesses, indent
1228programs automatically, show two or more files at once, and more.
1229Emacs editing commands operate in terms of characters, words, lines,
1230sentences, paragraphs, and pages, as well as expressions and comments
1231in various programming languages.
1232
1233 @dfn{Self-documenting} means that at any time you can use special
1234commands, known as @dfn{help commands}, to find out what your options
867d4bb3 1235are, or to find out what any command does, or to find all the
332b5b9a
CY
1236commands that pertain to a given topic. @xref{Help}.
1237
1238 @dfn{Customizable} means that you can easily alter the behavior of
1239Emacs commands in simple ways. For instance, if you use a programming
1240language in which comments start with @samp{<**} and end with
1241@samp{**>}, you can tell the Emacs comment manipulation commands to
1242use those strings (@pxref{Comments}). To take another example, you
1243can rebind the basic cursor motion commands (up, down, left and right)
1244to any keys on the keyboard that you find comfortable.
1245@xref{Customization}.
8cf51b2c
GM
1246
1247 @dfn{Extensible} means that you can go beyond simple customization
332b5b9a
CY
1248and create entirely new commands. New commands are simply programs
1249written in the Lisp language, which are run by Emacs's own Lisp
1250interpreter. Existing commands can even be redefined in the middle of
1251an editing session, without having to restart Emacs. Most of the
1252editing commands in Emacs are written in Lisp; the few exceptions
8cf51b2c
GM
1253could have been written in Lisp but use C instead for efficiency.
1254Writing an extension is programming, but non-programmers can use it
1255afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1256Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1257Lisp programming.
1258
8cf51b2c
GM
1259@include screen.texi
1260@include commands.texi
1261@include entering.texi
1262@include basic.texi
1263@include mini.texi
1264@include m-x.texi
1265@include help.texi
1266@include mark.texi
1267@include killing.texi
1268@include regs.texi
1269@include display.texi
1270@include search.texi
1271@include fixit.texi
1272@include kmacro.texi
1273@include files.texi
1274@include buffers.texi
1275@include windows.texi
1276@include frames.texi
1277@include mule.texi
1278@include major.texi
1279@include indent.texi
1280@include text.texi
1281@include programs.texi
1282@include building.texi
1283@include maintaining.texi
1284@include abbrevs.texi
1285@ifnottex
1286@include picture-xtra.texi
1287@end ifnottex
1288@include sending.texi
1289@include rmail.texi
1290@include dired.texi
1291@include calendar.texi
1292@include misc.texi
1293@include custom.texi
1294@include trouble.texi
1295
1296@node Copying, GNU Free Documentation License, Service, Top
1297@appendix GNU GENERAL PUBLIC LICENSE
1298@include gpl.texi
1299
1300@node GNU Free Documentation License, Emacs Invocation, Copying, Top
1301@appendix GNU Free Documentation License
1302@include doclicense.texi
1303
1304@include cmdargs.texi
1305@include xresources.texi
1306
1307@include anti.texi
1308@include macos.texi
1309@include msdog.texi
1310@include gnu.texi
1311@include glossary.texi
1312@ifnottex
1313@include ack.texi
1314@end ifnottex
1315
1316@c The Option Index is produced only in the on-line version,
1317@c because the index entries related to command-line options
1318@c tend to point to the same pages and all begin with a dash.
1319@c This, and the need to keep the node links consistent, are
1320@c the reasons for the funky @iftex/@ifnottex dance below.
1321@c The Option Index is _not_ before Key Index, because that
1322@c would require changes in the glossary.texi's @node line.
1323@c It is not after Concept Index for similar reasons.
1324
1325@iftex
1326@node Key Index, Command Index, Glossary, Top
1327@unnumbered Key (Character) Index
1328@printindex ky
1329@end iftex
1330
1331@ifnottex
1332@node Key Index, Option Index, Glossary, Top
1333@unnumbered Key (Character) Index
1334@printindex ky
1335
1336@node Option Index, Command Index, Key Index, Top
1337@unnumbered Command-Line Options Index
1338@printindex op
1339
1340@node Command Index, Variable Index, Option Index, Top
1341@unnumbered Command and Function Index
1342@printindex fn
1343@end ifnottex
1344
1345@iftex
1346@node Command Index, Variable Index, Key Index, Top
1347@unnumbered Command and Function Index
1348@printindex fn
1349@end iftex
1350
1351@node Variable Index, Concept Index, Command Index, Top
1352@unnumbered Variable Index
1353@printindex vr
1354
1355@node Concept Index, Acknowledgments, Variable Index, Top
1356@unnumbered Concept Index
1357@printindex cp
1358
1359@bye
1360
1361@ignore
1362 arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392
1363@end ignore