Standardize possessive apostrophe usage in manuals, docs, and comments
[bpt/emacs.git] / doc / emacs / emacs.texi
CommitLineData
5baee236 1\input texinfo @c -*- coding: iso-latin-1 -*-
8cf51b2c 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
f7a31f11 8@include emacsver.texi
8cf51b2c
GM
9
10@copying
11This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
12updated for Emacs version @value{EMACSVER}.
13
ae15b89b 14Copyright @copyright{} 1985-1987, 1993-2012 Free Software Foundation, Inc.
8cf51b2c
GM
15
16@quotation
17Permission is granted to copy, distribute and/or modify this document
4b121911 18under the terms of the GNU Free Documentation License, Version 1.3 or
8cf51b2c
GM
19any later version published by the Free Software Foundation; with the
20Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
21``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU
22Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
23license is included in the section entitled ``GNU Free Documentation
24License.''
25
8e65d46c
GM
26(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
27modify this GNU manual. Buying copies from the FSF supports it in
8cf51b2c
GM
28developing GNU and promoting software freedom.''
29@end quotation
30@end copying
31
63a329f8 32@documentencoding ISO-8859-1
6446548e 33
8cf51b2c
GM
34@dircategory Emacs
35@direntry
8838673e 36* Emacs: (emacs). The extensible self-documenting text editor.
8cf51b2c
GM
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.
b09d01da 42@c @smallbook
8cf51b2c
GM
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
8cf51b2c
GM
54\global\let\urlcolor=\Black % don't print links in grayscale
55\global\let\linkcolor=\Black
56@end ifset
57\global\hbadness=6666 % don't worry about not-too-underfull boxes
58@end tex
59
60@defcodeindex op
61@synindex pg cp
62
63@iftex
64@kbdinputstyle code
65
66@shorttitlepage GNU Emacs Manual
67@end iftex
68
69@titlepage
70@sp 6
71@center @titlefont{GNU Emacs Manual}
72@sp 4
73@center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
74@sp 5
75@center Richard Stallman
76@page
77@vskip 0pt plus 1filll
78@insertcopying
79
80@sp 2
81Published by the Free Software Foundation @*
8251 Franklin Street, Fifth Floor @*
83Boston, MA 02110-1301 USA @*
84ISBN 1-882114-86-8
85
86@sp 2
87Cover art by Etienne Suvasa.
88
89@end titlepage
90
91
92@summarycontents
93@contents
94
95
96@ifnottex
97@node Top, Distrib, (dir), (dir)
98@top The Emacs Editor
99
100Emacs is the extensible, customizable, self-documenting real-time
101display editor. This Info file describes how to edit with Emacs and
2d2f6581 102some of the ways to customize it; it corresponds to GNU Emacs version
8cf51b2c
GM
103@value{EMACSVER}.
104
105@ifinfo
2d2f6581
GM
106If you are reading this in Emacs, type @kbd{h} to read a basic
107introduction to the Info documentation system.
8cf51b2c
GM
108@end ifinfo
109
110For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
111Emacs Lisp Reference Manual}.
753ad1de
GM
112
113@insertcopying
8cf51b2c
GM
114@end ifnottex
115
2d2f6581
GM
116@c Note that the TeX version generates its own TOC, so the ifnottex's
117@c here are not really necessary.
8cf51b2c 118@menu
8838673e
GM
119* Distrib:: How to get the latest Emacs distribution.
120* Intro:: An introduction to Emacs concepts.
753ad1de 121@c Note that in the printed manual, the glossary and indices come last.
8838673e 122* Glossary:: Terms used in this manual.
8cf51b2c
GM
123
124Indexes (each index contains a large menu)
8838673e 125* Key Index:: An item for each standard Emacs key sequence.
8cf51b2c
GM
126* Option Index:: An item for every command-line option.
127* Command Index:: An item for each command name.
128* Variable Index:: An item for each documented variable.
129* Concept Index:: An item for each concept.
130
753ad1de
GM
131* Acknowledgments:: Major contributors to GNU Emacs.
132
8cf51b2c 133Important General Concepts
8838673e
GM
134* Screen:: How to interpret what you see on the screen.
135* User Input:: Kinds of input events (characters, buttons,
8cf51b2c 136 function keys).
8838673e 137* Keys:: Key sequences: what you type to request one
8cf51b2c 138 editing action.
8838673e 139* Commands:: Named functions run by key sequences to do editing.
8cf51b2c 140* Entering Emacs:: Starting Emacs from the shell.
8838673e 141* Exiting:: Stopping or killing Emacs.
8cf51b2c
GM
142
143Fundamental Editing Commands
8838673e
GM
144* Basic:: The most basic editing commands.
145* Minibuffer:: Entering arguments that are prompted for.
146* M-x:: Invoking commands by their names.
147* Help:: Commands for asking Emacs about its commands.
8cf51b2c
GM
148
149Important Text-Changing Commands
f584ca38 150* Mark:: The mark: how to delimit a "region" of text.
2d2f6581 151* Killing:: Killing (cutting) and yanking (copying) text.
8838673e
GM
152* Registers:: Saving a text string or a location in the buffer.
153* Display:: Controlling what text is displayed.
154* Search:: Finding or replacing occurrences of a string.
155* Fixit:: Commands especially useful for fixing typos.
6cfd0fa2 156* Keyboard Macros:: Recording a sequence of keystrokes to be replayed.
8cf51b2c
GM
157
158Major Structures of Emacs
8838673e
GM
159* Files:: All about handling files.
160* Buffers:: Multiple buffers; editing several files at once.
2d2f6581
GM
161* Windows:: Viewing multiple pieces of text in one frame.
162* Frames:: Using multiple ``windows'' on your display.
753ad1de 163* International:: Using non-@acronym{ASCII} character sets.
8cf51b2c
GM
164
165Advanced Features
44e97401 166* Modes:: Major and minor modes alter Emacs's basic behavior.
8838673e 167* Indentation:: Editing the white space at the beginnings of lines.
f404f8bc 168* Text:: Commands and modes for editing human languages.
8838673e
GM
169* Programs:: Commands and modes for editing programs.
170* Building:: Compiling, running and debugging programs.
8cf51b2c 171* Maintaining:: Features for maintaining large programs.
2d2f6581 172* Abbrevs:: Defining text abbreviations to reduce typing.
e0b1591b
CY
173* Dired:: Directory and file manager.
174* Calendar/Diary:: Calendar and diary facilities.
8cf51b2c 175* Sending Mail:: Sending mail in Emacs.
8838673e 176* Rmail:: Reading mail in Emacs.
6cfd0fa2 177* Gnus:: A flexible mail and news reader.
856ce114 178* Document View:: Viewing PDF, PS and DVI files.
8838673e 179* Shell:: Executing shell commands from Emacs.
6cfd0fa2 180* Emacs Server:: Using Emacs as an editing server.
8838673e
GM
181* Printing:: Printing hardcopies of buffers or regions.
182* Sorting:: Sorting lines, paragraphs or pages within Emacs.
f404f8bc
CY
183@ifnottex
184* Picture Mode:: Editing pictures made up of text characters.
185@end ifnottex
2d2f6581 186* Editing Binary Files:: Editing binary files with Hexl mode.
8cf51b2c 187* Saving Emacs Sessions:: Saving Emacs state from one session to the next.
f404f8bc 188* Recursive Edit:: Performing edits while "within another command".
8838673e 189* Emulation:: Emulating some other editors with Emacs.
8cf51b2c 190* Hyperlinking:: Following links in buffers.
8838673e 191* Amusements:: Various games and hacks.
d43f5a42 192* Packages:: Installing additional features.
8cf51b2c 193* Customization:: Modifying the behavior of Emacs.
8cf51b2c
GM
194
195Recovery from Problems
8838673e
GM
196* Quitting:: Quitting and aborting.
197* Lossage:: What to do if Emacs is hung or malfunctioning.
198* Bugs:: How and when to report a bug.
8cf51b2c 199* Contributing:: How to contribute improvements to Emacs.
8838673e 200* Service:: How to get help for your own Emacs needs.
8cf51b2c 201
753ad1de 202Appendices
8838673e
GM
203* Copying:: The GNU General Public License gives you permission
204 to redistribute GNU Emacs on certain terms;
205 it also explains that there is no warranty.
753ad1de
GM
206* GNU Free Documentation License:: The license for this documentation.
207* Emacs Invocation:: Hairy startup options.
208* X Resources:: X resources for customizing Emacs.
06848b82 209* Antinews:: Information about Emacs version 23.
753ad1de
GM
210* Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep.
211* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
8838673e 212* Manifesto:: What's GNU? Gnu's Not Unix!
753ad1de 213
8cf51b2c
GM
214@c Do NOT modify the following 3 lines! They must have this form to
215@c be correctly identified by `texinfo-multiple-files-update'. In
216@c particular, the detailed menu header line MUST be identical to the
217@c value of `texinfo-master-menu-header'. See texnfo-upd.el.
218
219@detailmenu
220 --- The Detailed Node Listing ---
221 ---------------------------------
222
c2fd0368 223Here are some other nodes which are really subnodes of the ones
8cf51b2c
GM
224already listed, mentioned here so you can get to them in one step:
225
226The Organization of the Screen
227
8838673e 228* Point:: The place in the text where editing commands operate.
8cf51b2c 229* Echo Area:: Short messages appear at the bottom of the screen.
8838673e 230* Mode Line:: Interpreting the mode line.
8cf51b2c
GM
231* Menu Bar:: How to use the menu bar.
232
233Basic Editing Commands
234
235* Inserting Text:: Inserting text by simply typing it.
753ad1de
GM
236* Moving Point:: Moving the cursor to the place where you want to
237 change something.
8838673e
GM
238* Erasing:: Deleting and killing text.
239* Basic Undo:: Undoing recent changes in the text.
8cf51b2c
GM
240* Basic Files:: Visiting, creating, and saving files.
241* Basic Help:: Asking what a character does.
8838673e 242* Blank Lines:: Making and deleting blank lines.
753ad1de 243* Continuation Lines:: How Emacs displays lines too wide for the screen.
b2b0776e 244* Position Info:: What line, row, or column is point on?
8838673e 245* Arguments:: Numeric arguments for repeating a command N times.
753ad1de 246* Repeating:: Repeating the previous command quickly.
8cf51b2c
GM
247
248The Minibuffer
249
250* Minibuffer File:: Entering file names with the minibuffer.
251* Minibuffer Edit:: How to edit in the minibuffer.
8838673e
GM
252* Completion:: An abbreviation facility for minibuffer input.
253* Minibuffer History:: Reusing recent minibuffer arguments.
254* Repetition:: Re-executing commands that used the minibuffer.
8d15c8db 255* Passwords:: Entering passwords in the echo area.
8cf51b2c
GM
256
257Completion
258
753ad1de
GM
259* Completion Example:: Examples of using completion.
260* Completion Commands:: A list of completion commands.
a70e06c1 261* Completion Exit:: Completion and minibuffer text submission.
27a16462 262* Completion Styles:: How completion matches are chosen.
753ad1de 263* Completion Options:: Options for completion.
8cf51b2c
GM
264
265Help
266
8838673e
GM
267* Help Summary:: Brief list of all Help commands.
268* Key Help:: Asking what a key does in Emacs.
269* Name Help:: Asking about a command, variable or function name.
270* Apropos:: Asking what pertains to a given topic.
8cf51b2c 271* Help Mode:: Special features of Help mode and Help buffers.
3dc62b2b 272* Package Keywords:: Finding Lisp libraries by keywords (topics).
8cf51b2c 273* Language Help:: Help relating to international language support.
8838673e 274* Misc Help:: Other help commands.
a7ef684b 275* Help Files:: Commands to display auxiliary help files.
753ad1de 276* Help Echo:: Help on active text and tooltips (`balloon help').
8cf51b2c
GM
277
278The Mark and the Region
279
8838673e
GM
280* Setting Mark:: Commands to set the mark.
281* Marking Objects:: Commands to put region around textual units.
282* Using Region:: Summary of ways to operate on contents of the region.
283* Mark Ring:: Previous mark positions saved so you can go back there.
02105f6b
CY
284* Global Mark Ring:: Previous mark positions in various buffers.
285* Shift Selection:: Using shifted cursor motion keys.
e1a3f5b1 286* Disabled Transient Mark:: Leaving regions unhighlighted by default.
8cf51b2c
GM
287
288Killing and Moving Text
289
2d2f6581
GM
290* Deletion and Killing:: Commands that remove text.
291* Yanking:: Recovering killed text. Moving text. (Pasting.)
292* Cut and Paste:: Clipboard and selections on graphical displays.
293* Accumulating Text:: Other ways of copying text.
294* Rectangles:: Operating on text in rectangular areas.
295* CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} to kill and yank.
296
297Deletion and Killing
298
8838673e
GM
299* Deletion:: Commands for deleting small amounts of text and
300 blank areas.
301* Killing by Lines:: How to kill entire lines of text at one time.
8cf51b2c 302* Other Kill Commands:: Commands to kill large regions of text and
8838673e 303 syntactic units such as words and sentences.
91ed7ea8 304* Kill Options:: Options that affect killing.
8cf51b2c
GM
305
306Yanking
307
50b063c3 308* Kill Ring:: Where killed text is stored.
8838673e 309* Earlier Kills:: Yanking something killed some time ago.
50b063c3 310* Appending Kills:: Several kills in a row all yank together.
8cf51b2c 311
4d45a8b7
CY
312Killing and Yanking on Graphical Displays
313
314* Clipboard:: How Emacs interacts with the system clipboard.
315* Primary Selection:: The temporarily selected text selection.
316* Secondary Selection:: Cutting without altering point and mark.
317
8cf51b2c
GM
318Registers
319
a30ed87b
LMI
320* Position Registers:: Saving positions in registers.
321* Text Registers:: Saving text in registers.
322* Rectangle Registers:: Saving rectangles in registers.
323* Configuration Registers:: Saving window configurations in registers.
324* Number Registers:: Numbers in registers.
325* File Registers:: File names in registers.
326* Bookmarks:: Bookmarks are like registers, but persistent.
8cf51b2c
GM
327
328Controlling the Display
329
8838673e 330* Scrolling:: Commands to move text up and down in a window.
e7a3ff06 331* Recentering:: A scrolling command that centers the current line.
8cf51b2c
GM
332* Auto Scrolling:: Redisplay scrolls text automatically when needed.
333* Horizontal Scrolling:: Moving text left and right in a window.
f404f8bc
CY
334* Narrowing:: Restricting display and editing to a portion
335 of the buffer.
a6326082 336* View Mode:: Viewing read-only buffers.
8cf51b2c 337* Follow Mode:: Follow mode lets two windows scroll as one.
8838673e 338* Faces:: How to change the display style using faces.
8863a584 339* Colors:: Specifying colors for faces.
44e97401 340* Standard Faces:: The main predefined faces.
d366bd53 341* Text Scale:: Increasing or decreasing text size in a buffer.
8cf51b2c
GM
342* Font Lock:: Minor mode for syntactic highlighting using faces.
343* Highlight Interactively:: Tell Emacs what text to highlight.
344* Fringes:: Enabling or disabling window fringes.
345* Displaying Boundaries:: Displaying top and bottom of the buffer.
2d2f6581 346* Useless Whitespace:: Showing possibly spurious trailing whitespace.
8cf51b2c
GM
347* Selective Display:: Hiding lines with lots of indentation.
348* Optional Mode Line:: Optional mode line display features.
349* Text Display:: How text characters are normally displayed.
350* Cursor Display:: Features for displaying the cursor.
351* Line Truncation:: Truncating lines to fit the screen width instead
352 of continuing them to multiple screen lines.
4c2e2be9 353* Visual Line Mode:: Word wrap and screen line-based editing.
8cf51b2c
GM
354* Display Custom:: Information on variables for customizing display.
355
356Searching and Replacement
357
8838673e 358* Incremental Search:: Search happens as you type the string.
8cf51b2c 359* Nonincremental Search:: Specify entire string and then search.
8838673e
GM
360* Word Search:: Search for sequence of words.
361* Regexp Search:: Search for match for a regexp.
362* Regexps:: Syntax of regular expressions.
8cf51b2c
GM
363* Regexp Backslash:: Regular expression constructs starting with `\'.
364* Regexp Example:: A complex regular expression explained.
8838673e
GM
365* Search Case:: To ignore case while searching, or not.
366* Replace:: Search, and replace some or all matches.
8cf51b2c
GM
367* Other Repeating Search:: Operating on all matches for some regexp.
368
369Incremental Search
370
371* Basic Isearch:: Basic incremental search commands.
372* Repeat Isearch:: Searching for the same string again.
373* Error in Isearch:: When your string is not found.
374* Special Isearch:: Special input in incremental search.
8cf51b2c
GM
375* Isearch Yank:: Commands that grab text into the search string
376 or else edit the search string.
8cf51b2c 377* Isearch Scroll:: Scrolling during an incremental search.
321e63fc 378* Isearch Minibuffer:: Incremental search of the minibuffer history.
8cf51b2c
GM
379
380Replacement Commands
381
382* Unconditional Replace:: Replacing all matches for a string.
8838673e 383* Regexp Replace:: Replacing all matches for a regexp.
8cf51b2c 384* Replacement and Case:: How replacements preserve case of letters.
8838673e 385* Query Replace:: How to use querying.
8cf51b2c
GM
386
387Commands for Fixing Typos
388
753ad1de 389* Undo:: The Undo commands.
8838673e 390* Transpose:: Exchanging two characters, words, lines, lists...
8cf51b2c 391* Fixing Case:: Correcting case of last word entered.
8838673e 392* Spelling:: Apply spelling checker to a word, or a whole file.
8cf51b2c
GM
393
394Keyboard Macros
395
396* Basic Keyboard Macro:: Defining and running keyboard macros.
397* Keyboard Macro Ring:: Where previous keyboard macros are saved.
398* Keyboard Macro Counter:: Inserting incrementing numbers in macros.
2d2f6581
GM
399* Keyboard Macro Query:: Making keyboard macros do different things each
400 time.
401* Save Keyboard Macro:: Giving keyboard macros names; saving them in
402 files.
8cf51b2c
GM
403* Edit Keyboard Macro:: Editing keyboard macros.
404* Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
405 macro.
406
407File Handling
408
409* File Names:: How to type and edit file-name arguments.
410* Visiting:: Visiting a file prepares Emacs to edit the file.
411* Saving:: Saving makes your changes permanent.
412* Reverting:: Reverting cancels all the changes not saved.
2d2f6581 413@ifnottex
8cf51b2c 414* Autorevert:: Auto Reverting non-file buffers.
2d2f6581 415@end ifnottex
8cf51b2c
GM
416* Auto Save:: Auto Save periodically protects against loss of data.
417* File Aliases:: Handling multiple names for one file.
8cf51b2c
GM
418* Directories:: Creating, deleting, and listing file directories.
419* Comparing Files:: Finding where two files differ.
753ad1de 420* Diff Mode:: Mode for editing file differences.
8cf51b2c
GM
421* Misc File Ops:: Other things you can do on files.
422* Compressed Files:: Accessing compressed files.
423* File Archives:: Operating on tar, zip, jar etc. archive files.
2d2f6581 424* Remote Files:: Accessing files on other machines.
8cf51b2c
GM
425* Quoted File Names:: Quoting special characters in file names.
426* File Name Cache:: Completion against a list of files you often use.
427* File Conveniences:: Convenience Features for Finding Files.
428* Filesets:: Handling sets of files.
429
430Saving Files
431
432* Save Commands:: Commands for saving files.
433* Backup:: How Emacs saves the old version of your file.
434* Customize Save:: Customizing the saving of files.
435* Interlocking:: How Emacs protects against simultaneous editing
436 of one file by two users.
437* File Shadowing:: Copying files to "shadows" automatically.
438* Time Stamps:: Emacs can update time stamps on saved files.
439
440Backup Files
441
8838673e
GM
442* Backup Names:: How backup files are named.
443* Backup Deletion:: Emacs deletes excess numbered backups.
444* Backup Copying:: Backups can be made by copying or renaming.
753ad1de 445
2d2f6581 446@ifnottex
753ad1de
GM
447Auto Reverting Non-File Buffers
448
449* Auto Reverting the Buffer Menu:: Auto Revert of the Buffer Menu.
450* Auto Reverting Dired:: Auto Revert of Dired buffers.
451* Supporting additional buffers:: How to add more Auto Revert support.
2d2f6581 452@end ifnottex
8cf51b2c
GM
453
454Auto-Saving: Protection Against Disasters
455
753ad1de
GM
456* Auto Save Files:: The file where auto-saved changes are
457 actually made until you save the file.
458* Auto Save Control:: Controlling when and how often to auto-save.
8838673e 459* Recover:: Recovering text from auto-save files.
8cf51b2c 460
8cf51b2c
GM
461Using Multiple Buffers
462
463* Select Buffer:: Creating a new buffer or reselecting an old one.
464* List Buffers:: Getting a list of buffers that exist.
8838673e
GM
465* Misc Buffer:: Renaming; changing read-onlyness; copying text.
466* Kill Buffer:: Killing buffers you no longer need.
8cf51b2c 467* Several Buffers:: How to go through the list of all buffers
8838673e 468 and operate variously on several of them.
8cf51b2c
GM
469* Indirect Buffers:: An indirect buffer shares the text of another buffer.
470* Buffer Convenience:: Convenience and customization features for
471 buffer handling.
472
753ad1de
GM
473Convenience Features and Customization of Buffer Handling
474
475* Uniquify:: Making buffer names unique with directory parts.
476* Iswitchb:: Switching between buffers with substrings.
477* Buffer Menus:: Configurable buffer menu.
478
8cf51b2c
GM
479Multiple Windows
480
481* Basic Window:: Introduction to Emacs windows.
482* Split Window:: New windows are made by splitting existing windows.
483* Other Window:: Moving to another window or doing something to it.
484* Pop Up Window:: Finding a file or buffer in another window.
8cf51b2c 485* Change Window:: Deleting windows and changing their sizes.
0a2132ba 486* Displaying Buffers:: How Emacs picks a window for displaying a buffer.
8cf51b2c
GM
487* Window Convenience:: Convenience functions for window handling.
488
2d2f6581
GM
489Displaying Buffers
490
491* Window Choice:: How @code{display-buffer} works.
492
8cf51b2c
GM
493Frames and Graphical Displays
494
4d45a8b7
CY
495* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
496* Word and Line Mouse:: Mouse commands for selecting whole words or lines.
8cf51b2c
GM
497* Mouse References:: Using the mouse to select an item from a list.
498* Menu Mouse Clicks:: Mouse clicks that bring up menus.
499* Mode Line Mouse:: Mouse clicks on the mode line.
500* Creating Frames:: Creating additional Emacs frames with various contents.
501* Frame Commands:: Iconifying, deleting, and switching frames.
d68eb23c 502* Fonts:: Changing the frame font.
8cf51b2c 503* Speedbar:: How to make and use a speedbar frame.
2d2f6581 504* Multiple Displays:: How one Emacs instance can talk to several displays.
8cf51b2c 505* Frame Parameters:: Changing the colors and other modes of frames.
8838673e 506* Scroll Bars:: How to enable and disable scroll bars; how to use them.
8cf51b2c 507* Drag and Drop:: Using drag and drop to open files and insert text.
8838673e 508* Menu Bars:: Enabling and disabling the menu bar.
8cf51b2c
GM
509* Tool Bars:: Enabling and disabling the tool bar.
510* Dialog Boxes:: Controlling use of dialog boxes.
753ad1de 511* Tooltips:: Displaying information at the current mouse position.
8cf51b2c
GM
512* Mouse Avoidance:: Moving the mouse pointer out of the way.
513* Non-Window Terminals:: Multiple frames on terminals that show only one.
514* Text-Only Mouse:: Using the mouse in text-only terminals.
515
516International Character Set Support
517
518* International Chars:: Basic concepts of multibyte characters.
519* Enabling Multibyte:: Controlling whether to use multibyte characters.
520* Language Environments:: Setting things up for the language you use.
521* Input Methods:: Entering text characters not on your keyboard.
522* Select Input Method:: Specifying your choice of input methods.
8cf51b2c
GM
523* Coding Systems:: Character set conversion when you read and
524 write files, and so on.
525* Recognize Coding:: How Emacs figures out which conversion to use.
526* Specify Coding:: Specifying a file's coding system explicitly.
527* Output Coding:: Choosing coding systems for output.
528* Text Coding:: Choosing conversion to use for file text.
529* Communication Coding:: Coding systems for interprocess communication.
530* File Name Coding:: Coding systems for file @emph{names}.
531* Terminal Coding:: Specifying coding systems for converting
532 terminal input and output.
533* Fontsets:: Fontsets are collections of fonts
534 that cover the whole spectrum of characters.
535* Defining Fontsets:: Defining a new fontset.
753ad1de 536* Modifying Fontsets:: Modifying an existing fontset.
8cf51b2c
GM
537* Undisplayable Characters::When characters don't display.
538* Unibyte Mode:: You can pick one European character set
539 to use without multibyte characters.
540* Charsets:: How Emacs groups its internal character codes.
2d2f6581 541* Bidirectional Editing:: Support for right-to-left scripts.
8cf51b2c 542
8875da1e 543Modes
8cf51b2c 544
8875da1e
CY
545* Major Modes:: Text mode vs. Lisp mode vs. C mode...
546* Minor Modes:: Each minor mode is a feature you can turn on
547 independently of any others.
548* Choosing Modes:: How modes are chosen when visiting files.
8cf51b2c
GM
549
550Indentation
551
6d262977
CY
552* Indentation Commands:: More commands for performing indentation.
553* Tab Stops:: Stop points for indentation in Text modes.
554* Just Spaces:: Using only space characters for indentation.
555* Indent Convenience:: Optional indentation features.
8cf51b2c
GM
556
557Commands for Human Languages
558
8838673e
GM
559* Words:: Moving over and killing words.
560* Sentences:: Moving over and killing sentences.
561* Paragraphs:: Moving over paragraphs.
562* Pages:: Moving over pages.
563* Filling:: Filling or justifying text.
564* Case:: Changing the case of text.
565* Text Mode:: The major modes for editing text files.
8cf51b2c 566* Outline Mode:: Editing outlines.
0ed49f93 567* Org Mode:: The Emacs organizer.
2d2f6581 568* TeX Mode:: Editing TeX and LaTeX files.
f67c5dd0 569* HTML Mode:: Editing HTML and SGML files.
2d2f6581 570* Nroff Mode:: Editing input to the nroff formatter.
8863a584
CY
571* Enriched Text:: Editing text ``enriched'' with fonts, colors, etc.
572* Text Based Tables:: Commands for editing text-based tables.
f404f8bc 573* Two-Column:: Splitting text columns into separate windows.
8cf51b2c
GM
574
575Filling Text
576
8838673e 577* Auto Fill:: Auto Fill mode breaks long lines automatically.
8cf51b2c 578* Fill Commands:: Commands to refill paragraphs and center lines.
8838673e 579* Fill Prefix:: Filling paragraphs that are indented
8cf51b2c
GM
580 or in a comment, etc.
581* Adaptive Fill:: How Emacs can determine the fill prefix automatically.
8cf51b2c
GM
582
583Outline Mode
584
753ad1de 585* Outline Format:: What the text of an outline looks like.
2d2f6581 586* Outline Motion:: Special commands for moving through outlines.
753ad1de
GM
587* Outline Visibility:: Commands to control what is visible.
588* Outline Views:: Outlines and multiple views.
589* Foldout:: Folding means zooming in on outlines.
8cf51b2c 590
2d2f6581
GM
591Org Mode
592
593* Org Organizer:: Managing TODO lists and agendas.
594* Org Authoring:: Exporting Org buffers to various formats.
595
8cf51b2c
GM
596@TeX{} Mode
597
753ad1de
GM
598* TeX Editing:: Special commands for editing in TeX mode.
599* LaTeX Editing:: Additional commands for LaTeX input files.
600* TeX Print:: Commands for printing part of a file with TeX.
601* TeX Misc:: Customization of TeX mode, and related features.
8cf51b2c 602
8863a584 603Editing Enriched Text
8cf51b2c 604
8863a584
CY
605* Enriched Mode:: Entering and exiting Enriched mode.
606* Hard and Soft Newlines:: There are two different kinds of newlines.
607* Editing Format Info:: How to edit text properties.
608* Enriched Faces:: Bold, italic, underline, etc.
609* Enriched Indentation:: Changing the left and right margins.
610* Enriched Justification:: Centering, setting text flush with the
611 left or right margin, etc.
612* Enriched Properties:: The "special" text properties submenu.
8cf51b2c 613
753ad1de
GM
614@c The automatic texinfo menu update inserts some duplicate items here
615@c (faces, colors, indentation, justification, properties), because
616@c they are listed in two menus. But we already have them above, no
617@c need to list them twice.
618
8cf51b2c
GM
619Editing Text-based Tables
620
621* Table Definition:: What is a text based table.
622* Table Creation:: How to create a table.
623* Table Recognition:: How to activate and deactivate tables.
624* Cell Commands:: Cell-oriented commands in a table.
625* Cell Justification:: Justifying cell contents.
a24bf23e 626* Table Rows and Columns:: Inserting and deleting rows and columns.
8cf51b2c 627* Table Conversion:: Converting between plain text and tables.
8cf51b2c
GM
628* Table Misc:: Table miscellany.
629
630Editing Programs
631
632* Program Modes:: Major modes for editing programs.
633* Defuns:: Commands to operate on major top-level parts
634 of a program.
635* Program Indent:: Adjusting indentation to show the nesting.
636* Parentheses:: Commands that operate on parentheses.
8838673e 637* Comments:: Inserting, killing, and aligning comments.
8cf51b2c
GM
638* Documentation:: Getting documentation of functions you plan to call.
639* Hideshow:: Displaying blocks selectively.
640* Symbol Completion:: Completion on symbol names of your program or language.
641* Glasses:: Making identifiersLikeThis more readable.
a42dbee1 642* Semantic:: Suite of editing tools based on source code parsing.
8cf51b2c
GM
643* Misc for Programs:: Other Emacs features useful for editing programs.
644* C Modes:: Special commands of C, C++, Objective-C,
2d2f6581 645 Java, IDL, Pike and AWK modes.
8cf51b2c 646* Asm Mode:: Asm mode and its special features.
2d2f6581 647@ifnottex
8cf51b2c 648* Fortran:: Fortran mode and its special features.
2d2f6581 649@end ifnottex
8cf51b2c
GM
650
651Top-Level Definitions, or Defuns
652
653* Left Margin Paren:: An open-paren or similar opening delimiter
654 starts a defun if it is at the left margin.
655* Moving by Defuns:: Commands to move over or mark a major definition.
656* Imenu:: Making buffer indexes as menus.
657* Which Function:: Which Function mode shows which function you are in.
658
659Indentation for Programs
660
8838673e 661* Basic Indent:: Indenting a single line.
8cf51b2c 662* Multi-line Indent:: Commands to reindent many lines at once.
8838673e
GM
663* Lisp Indent:: Specifying how each Lisp function should be indented.
664* C Indent:: Extra features for indenting C and related modes.
665* Custom C Indent:: Controlling indentation style for C and related modes.
8cf51b2c
GM
666
667Commands for Editing with Parentheses
668
669* Expressions:: Expressions with balanced parentheses.
670* Moving by Parens:: Commands for moving up, down and across
671 in the structure of parentheses.
8838673e 672* Matching:: Insertion of a close-delimiter flashes matching open.
8cf51b2c
GM
673
674Manipulating Comments
675
676* Comment Commands:: Inserting, killing, and aligning comments.
677* Multi-Line Comments:: Commands for adding and editing multi-line comments.
678* Options for Comments::Customizing the comment features.
679
680Documentation Lookup
681
2d2f6581
GM
682* Info Lookup:: Looking up library functions and commands in Info files.
683* Man Page:: Looking up man pages of library functions and commands.
684* Lisp Doc:: Looking up Emacs Lisp functions, etc.
8cf51b2c
GM
685
686C and Related Modes
687
688* Motion in C:: Commands to move by C statements, etc.
689* Electric C:: Colon and other chars can automatically reindent.
690* Hungry Delete:: A more powerful DEL command.
691* Other C Commands:: Filling comments, viewing expansion of macros,
692 and other neat features.
693
2d2f6581 694@ifnottex
753ad1de
GM
695Fortran Mode
696
8838673e
GM
697* Fortran Motion:: Moving point by statements or subprograms.
698* Fortran Indent:: Indentation commands for Fortran.
699* Fortran Comments:: Inserting and aligning comments.
700* Fortran Autofill:: Auto fill support for Fortran.
701* Fortran Columns:: Measuring columns for valid Fortran.
702* Fortran Abbrev:: Built-in abbrevs for Fortran keywords.
753ad1de
GM
703
704Fortran Indentation
705
706* ForIndent Commands:: Commands for indenting and filling Fortran.
707* ForIndent Cont:: How continuation lines indent.
708* ForIndent Num:: How line numbers auto-indent.
709* ForIndent Conv:: Conventions you must obey to avoid trouble.
710* ForIndent Vars:: Variables controlling Fortran indent style.
2d2f6581 711@end ifnottex
753ad1de 712
8cf51b2c
GM
713Compiling and Testing Programs
714
8838673e
GM
715* Compilation:: Compiling programs in languages other
716 than Lisp (C, Pascal, etc.).
8cf51b2c
GM
717* Compilation Mode:: The mode for visiting compiler errors.
718* Compilation Shell:: Customizing your shell properly
719 for use in the compilation buffer.
720* Grep Searching:: Searching with grep.
721* Flymake:: Finding syntax errors on the fly.
8838673e
GM
722* Debuggers:: Running symbolic debuggers for non-Lisp programs.
723* Executing Lisp:: Various modes for editing Lisp programs,
724 with different facilities for running
725 the Lisp programs.
29eabb8e 726* Lisp Libraries:: How Lisp programs are loaded into Emacs.
8838673e 727* Lisp Eval:: Executing a single Lisp expression in Emacs.
8cf51b2c 728* Lisp Interaction:: Executing Lisp in an Emacs buffer.
8838673e 729* External Lisp:: Communicating through Emacs with a separate Lisp.
8cf51b2c
GM
730
731Running Debuggers Under Emacs
732
8838673e
GM
733* Starting GUD:: How to start a debugger subprocess.
734* Debugger Operation:: Connection between the debugger and source buffers.
735* Commands of GUD:: Key bindings for common commands.
736* GUD Customization:: Defining your own commands for GUD.
8cf51b2c 737* GDB Graphical Interface:: An enhanced mode that uses GDB features to
2d2f6581 738 implement a graphical debugging environment.
8cf51b2c 739
753ad1de
GM
740GDB Graphical Interface
741
22ef1944 742* GDB User Interface Layout:: Control the number of displayed buffers.
691cf4a0
NR
743* Source Buffers:: Use the mouse in the fringe/margin to
744 control your program.
745* Breakpoints Buffer:: A breakpoint control panel.
746* Threads Buffer:: Displays your threads.
747* Stack Buffer:: Select a frame from the call stack.
0595bd7e 748* Other GDB Buffers:: Other buffers for controlling the GDB state.
691cf4a0
NR
749* Watch Expressions:: Monitor variable values in the speedbar.
750* Multithreaded Debugging:: Debugging programs with several threads.
753ad1de 751
8cf51b2c
GM
752Maintaining Large Programs
753
753ad1de 754* Version Control:: Using version control systems.
8838673e
GM
755* Change Log:: Maintaining a change history for your program.
756* Tags:: Go directly to any function in your program in one
757 command. Tags remembers which file it is in.
a42dbee1 758* EDE:: An integrated development environment for Emacs.
2d2f6581 759@ifnottex
8cf51b2c 760* Emerge:: A convenient way of merging two versions of a program.
2d2f6581 761@end ifnottex
8cf51b2c 762
1963ba49
CY
763Version Control
764
765* Introduction to VC:: How version control works in general.
766* VC Mode Line:: How the mode line shows version control status.
767* Basic VC Editing:: How to edit a file under version control.
1aaae3f3 768* Log Buffer:: Features available in log entry buffers.
9cff91f8 769* Registering:: Putting a file under version control.
753ad1de 770* Old Revisions:: Examining and comparing old versions.
9cff91f8
CY
771* VC Change Log:: Viewing the VC Change Log.
772* VC Undo:: Canceling changes before or after committing.
753ad1de 773* VC Directory Mode:: Listing files managed by version control.
1963ba49 774* Branches:: Multiple lines of development.
2d2f6581 775@ifnottex
1963ba49
CY
776* Miscellaneous VC:: Various other commands and features of VC.
777* Customizing VC:: Variables that change VC's behavior.
2d2f6581 778@end ifnottex
9cff91f8 779
753ad1de
GM
780Introduction to Version Control
781
782* Why Version Control?:: Understanding the problems it addresses.
783* Version Control Systems:: Supported version control back-end systems.
784* VCS Concepts:: Words and concepts related to version control.
1aaae3f3
CY
785* VCS Merging:: How file conflicts are handled.
786* VCS Changesets:: Changesets in version control.
787* VCS Repositories:: Where version control repositories are stored.
753ad1de
GM
788* Types of Log File:: The VCS log in contrast to the ChangeLog.
789
790Basic Editing under Version Control
791
792* VC With A Merging VCS:: Without locking: default mode for CVS.
793* VC With A Locking VCS:: RCS in its default mode, SCCS, and optionally CVS.
794* Advanced C-x v v:: Advanced features available with a prefix argument.
753ad1de 795
753ad1de
GM
796VC Directory Mode
797
798* VC Directory Buffer:: What the buffer looks like and means.
799* VC Directory Commands:: Commands to use in a VC directory buffer.
800
801Multiple Branches of a File
802
803* Switching Branches:: How to get to another existing branch.
2edef1a0 804* VC Pull:: Updating a branch from another branch.
753ad1de 805* Merging:: Transferring changes between branches.
2edef1a0 806* Creating Branches:: How to start a new branch.
753ad1de 807
2d2f6581 808@ifnottex
753ad1de
GM
809Miscellaneous Commands and Features of VC
810
811* Change Logs and VC:: Generating a change log file from log entries.
3d992aa0
CY
812* VC Delete/Rename:: Deleting and renaming version-controlled files.
813* Revision Tags:: Symbolic names for revisions.
753ad1de
GM
814* Version Headers:: Inserting version control headers into working files.
815
816Customizing VC
817
818* General VC Options:: Options that apply to multiple back ends.
819* RCS and SCCS:: Options for RCS and SCCS.
820* CVS Options:: Options for CVS.
2d2f6581 821@end ifnottex
753ad1de
GM
822
823Change Logs
824
825* Change Log Commands:: Commands for editing change log files.
826* Format of ChangeLog:: What the change log file looks like.
1963ba49 827
8cf51b2c
GM
828Tags Tables
829
8838673e
GM
830* Tag Syntax:: Tag syntax for various types of code and text files.
831* Create Tags Table:: Creating a tags table with @code{etags}.
8cf51b2c 832* Etags Regexps:: Create arbitrary tags using regular expressions.
8838673e
GM
833* Select Tags Table:: How to visit a tags table.
834* Find Tag:: Commands to find the definition of a specific tag.
835* Tags Search:: Using a tags table for searching and replacing.
836* List Tags:: Listing and finding tags defined in a file.
8cf51b2c 837
2d2f6581 838@ifnottex
753ad1de
GM
839Merging Files with Emerge
840
8838673e
GM
841* Overview of Emerge:: How to start Emerge. Basic concepts.
842* Submodes of Emerge:: Fast mode vs. Edit mode.
843 Skip Prefers mode and Auto Advance mode.
844* State of Difference:: You do the merge by specifying state A or B
845 for each difference.
846* Merge Commands:: Commands for selecting a difference,
847 changing states of differences, etc.
848* Exiting Emerge:: What to do when you've finished the merge.
849* Combining in Emerge:: How to keep both alternatives for a difference.
753ad1de 850* Fine Points of Emerge:: Miscellaneous issues.
2d2f6581 851@end ifnottex
753ad1de 852
8cf51b2c
GM
853Abbrevs
854
855* Abbrev Concepts:: Fundamentals of defined abbrevs.
856* Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
857* Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
858* Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
859* Saving Abbrevs:: Saving the entire list of abbrevs for another session.
860* Dynamic Abbrevs:: Abbreviations for words already in the buffer.
861* Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
862
863@ifnottex
864Editing Pictures
865
866* Basic Picture:: Basic concepts and simple commands of Picture Mode.
867* Insert in Picture:: Controlling direction of cursor motion
868 after "self-inserting" characters.
869* Tabs in Picture:: Various features for tab stops and indentation.
870* Rectangles in Picture:: Clearing and superimposing rectangles.
871@end ifnottex
872
8cf51b2c
GM
873Dired, the Directory Editor
874
8838673e 875* Dired Enter:: How to invoke Dired.
753ad1de 876* Dired Navigation:: Special motion commands in the Dired buffer.
8cf51b2c
GM
877* Dired Deletion:: Deleting files with Dired.
878* Flagging Many Files:: Flagging files based on their names.
879* Dired Visiting:: Other file operations through Dired.
8838673e
GM
880* Marks vs Flags:: Flagging for deletion vs marking.
881* Operating on Files:: How to copy, rename, print, compress, etc.
882 either one file or several files.
8cf51b2c
GM
883* Shell Commands in Dired:: Running a shell command on the marked files.
884* Transforming File Names:: Using patterns to rename multiple files.
8838673e 885* Comparison in Dired:: Running `diff' by way of Dired.
8cf51b2c 886* Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
2d2f6581 887@ifnottex
8cf51b2c 888* Subdir Switches:: Subdirectory switches in Dired.
2d2f6581 889@end ifnottex
8838673e 890* Subdirectory Motion:: Moving across subdirectories, and up and down.
8cf51b2c
GM
891* Hiding Subdirectories:: Making subdirectories visible or invisible.
892* Dired Updating:: Discarding lines for files of no interest.
8838673e 893* Dired and Find:: Using `find' to choose the files for Dired.
8cf51b2c 894* Wdired:: Operating on files by editing the Dired buffer.
753ad1de 895* Image-Dired:: Viewing image thumbnails in Dired.
8cf51b2c
GM
896* Misc Dired Features:: Various other features.
897
898The Calendar and the Diary
899
900* Calendar Motion:: Moving through the calendar; selecting a date.
901* Scroll Calendar:: Bringing earlier or later months onto the screen.
902* Counting Days:: How many days are there between two dates?
903* General Calendar:: Exiting or recomputing the calendar.
904* Writing Calendar Files:: Writing calendars to files of various formats.
905* Holidays:: Displaying dates of holidays.
906* Sunrise/Sunset:: Displaying local times of sunrise and sunset.
907* Lunar Phases:: Displaying phases of the moon.
908* Other Calendars:: Converting dates to other calendar systems.
909* Diary:: Displaying events from your diary.
8838673e 910* Appointments:: Reminders when it's time to do something.
8cf51b2c 911* Importing Diary:: Converting diary events to/from other formats.
2d2f6581 912* Daylight Saving:: How to specify when daylight saving time is active.
8cf51b2c 913* Time Intervals:: Keeping track of time intervals.
2d2f6581 914@ifnottex
8cf51b2c 915* Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
2d2f6581 916@end ifnottex
8cf51b2c
GM
917
918Movement in the Calendar
919
920* Calendar Unit Motion:: Moving by days, weeks, months, and years.
921* Move to Beginning or End:: Moving to start/end of weeks, months, and years.
8838673e
GM
922* Specified Dates:: Moving to the current date or another
923 specific date.
8cf51b2c
GM
924
925Conversion To and From Other Calendars
926
8838673e
GM
927* Calendar Systems:: The calendars Emacs understands
928 (aside from Gregorian).
929* To Other Calendar:: Converting the selected date to various calendars.
930* From Other Calendar:: Moving to a date specified in another calendar.
931* Mayan Calendar:: Moving to a date specified in a Mayan calendar.
8cf51b2c
GM
932
933The Diary
934
935* Displaying the Diary:: Viewing diary entries and associated calendar dates.
936* Format of Diary File:: Entering events in your diary.
8838673e
GM
937* Date Formats:: Various ways you can specify dates.
938* Adding to Diary:: Commands to create diary entries.
8cf51b2c
GM
939* Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc.
940
2d2f6581 941@ifnottex
753ad1de
GM
942Customizing the Calendar and Diary
943
944* Calendar Customizing:: Calendar layout and hooks.
945* Holiday Customizing:: Defining your own holidays.
946* Date Display Format:: Changing the format.
947* Time Display Format:: Changing the format.
948* Diary Customizing:: Defaults you can set.
949* Non-Gregorian Diary:: Diary entries based on other calendars.
806642d4
GM
950* Diary Display:: A choice of ways to display the diary.
951* Fancy Diary Display:: Sorting diary entries, using included diary files.
952* Sexp Diary Entries:: More flexible diary entries.
2d2f6581 953@end ifnottex
753ad1de
GM
954
955Document Viewing
3f6db393 956
b8ecfdfe
CY
957* DocView Navigation:: Navigating DocView buffers.
958* DocView Searching:: Searching inside documents.
959* DocView Slicing:: Specifying which part of a page is displayed.
960* DocView Conversion:: Influencing and triggering conversion.
3f6db393 961
e0b1591b
CY
962Sending Mail
963
964* Mail Format:: Format of the mail being composed.
965* Mail Headers:: Details of some standard mail header fields.
966* Mail Aliases:: Abbreviating and grouping mail addresses.
967* Mail Commands:: Special commands for editing mail being composed.
968* Mail Signature:: Adding a signature to every message.
969* Mail Amusements:: Distracting the NSA; adding fortune messages.
970* Mail Methods:: Using alternative mail-composition methods.
971
972Mail Commands
973
974* Mail Sending:: Commands to send the message.
975* Header Editing:: Commands to move to header fields and edit them.
976* Citing Mail:: Quoting a message you are replying to.
977* Mail Misc:: Attachments, spell checking, etc.
978
979Reading Mail with Rmail
980
981* Rmail Basics:: Basic concepts of Rmail, and simple use.
982* Rmail Scrolling:: Scrolling through a message.
983* Rmail Motion:: Moving to another message.
984* Rmail Deletion:: Deleting and expunging messages.
985* Rmail Inbox:: How mail gets into the Rmail file.
986* Rmail Files:: Using multiple Rmail files.
987* Rmail Output:: Copying message out to files.
988* Rmail Labels:: Classifying messages by labeling them.
989* Rmail Attributes:: Certain standard labels, called attributes.
990* Rmail Reply:: Sending replies to messages you are viewing.
991* Rmail Summary:: Summaries show brief info on many messages.
992* Rmail Sorting:: Sorting messages in Rmail.
993* Rmail Display:: How Rmail displays a message; customization.
994* Rmail Coding:: How Rmail handles decoding character sets.
995* Rmail Editing:: Editing message text and headers in Rmail.
996* Rmail Digest:: Extracting the messages from a digest message.
997* Rmail Rot13:: Reading messages encoded in the rot13 code.
998* Movemail:: More details of fetching new mail.
999* Remote Mailboxes:: Retrieving mail from remote mailboxes.
1000* Other Mailbox Formats:: Retrieving mail from local mailboxes in
1001 various formats.
1002
1003Rmail Summaries
1004
2d2f6581
GM
1005* Rmail Make Summary:: Making various sorts of summaries.
1006* Rmail Summary Edit:: Manipulating messages from the summary.
e0b1591b 1007
8cf51b2c
GM
1008Gnus
1009
8838673e
GM
1010* Buffers of Gnus:: The group, summary, and article buffers.
1011* Gnus Startup:: What you should know about starting Gnus.
b8ecfdfe
CY
1012* Gnus Group Buffer:: A short description of Gnus group commands.
1013* Gnus Summary Buffer:: A short description of Gnus summary commands.
8cf51b2c
GM
1014
1015Running Shell Commands from Emacs
1016
8838673e
GM
1017* Single Shell:: How to run one shell command and return.
1018* Interactive Shell:: Permanent shell taking input via Emacs.
1019* Shell Mode:: Special Emacs commands used with permanent shell.
8cf51b2c
GM
1020* Shell Prompts:: Two ways to recognize shell prompts.
1021* Shell History:: Repeating previous commands in a shell buffer.
1022* Directory Tracking:: Keeping track when the subshell changes directory.
1023* Shell Options:: Options for customizing Shell mode.
1024* Terminal emulator:: An Emacs window as a terminal emulator.
1025* Term Mode:: Special Emacs commands used in Term mode.
8838673e 1026* Remote Host:: Connecting to another computer.
37e5d54a 1027* Serial Terminal:: Connecting to a serial port.
8cf51b2c 1028
753ad1de
GM
1029Shell Command History
1030
1031* Shell Ring:: Fetching commands from the history list.
1032* Shell History Copying::Moving to a command and then copying it.
1033* History References:: Expanding @samp{!}-style history references.
1034
8cf51b2c
GM
1035Using Emacs as a Server
1036
e670e599
CY
1037* Invoking emacsclient:: Connecting to the Emacs server.
1038* emacsclient Options:: Emacs client startup options.
8cf51b2c
GM
1039
1040Printing Hard Copies
1041
8838673e 1042* PostScript:: Printing buffers or regions as PostScript.
8cf51b2c
GM
1043* PostScript Variables:: Customizing the PostScript printing commands.
1044* Printing Package:: An optional advanced printing interface.
1045
1046Hyperlinking and Navigation Features
1047
1048* Browse-URL:: Following URLs.
60d8d164 1049* Goto Address mode:: Activating URLs.
8cf51b2c
GM
1050* FFAP:: Finding files etc. at point.
1051
ddb54206
CY
1052Emacs Lisp Packages
1053
1054* Package Menu:: Buffer for viewing and managing packages.
1055* Package Installation:: Options for package installation.
1056* Package Files:: Where packages are installed.
1057
8cf51b2c
GM
1058Customization
1059
753ad1de 1060* Easy Customization:: Convenient way to browse and change settings.
8838673e
GM
1061* Variables:: Many Emacs commands examine Emacs variables
1062 to decide what to do; by setting variables,
1063 you can control their functioning.
6cfd0fa2 1064* Key Bindings:: Keymaps say what command each key runs.
f584ca38 1065 By changing them, you can "redefine" keys.
8838673e
GM
1066* Init File:: How to write common customizations in the
1067 @file{.emacs} file.
8cf51b2c 1068
753ad1de
GM
1069Easy Customization Interface
1070
b0d7d8af 1071* Customization Groups:: How settings are classified.
753ad1de
GM
1072* Browsing Custom:: Browsing and searching for settings.
1073* Changing a Variable:: How to edit an option's value and set the option.
b0d7d8af 1074* Saving Customizations:: Saving customizations for future Emacs sessions.
753ad1de 1075* Face Customization:: How to edit the attributes of a face.
b0d7d8af
CY
1076* Specific Customization:: Customizing specific settings or groups.
1077* Custom Themes:: Collections of customization settings.
1078* Creating Custom Themes:: How to create a new custom theme.
753ad1de 1079
8cf51b2c
GM
1080Variables
1081
8838673e
GM
1082* Examining:: Examining or setting one variable's value.
1083* Hooks:: Hook variables let you specify programs for parts
1084 of Emacs to run on particular occasions.
1085* Locals:: Per-buffer values of variables.
8cf51b2c 1086* File Variables:: How files can specify variable values.
753ad1de
GM
1087* Directory Variables:: How variable values can be specified by directory.
1088
1089Local Variables in Files
1090
1091* Specifying File Variables:: Specifying file local variables.
1092* Safe File Variables:: Making sure file local variables are safe.
8cf51b2c
GM
1093
1094Customizing Key Bindings
1095
1096* Keymaps:: Generalities. The global keymap.
1097* Prefix Keymaps:: Keymaps for prefix keys.
1098* Local Keymaps:: Major and minor modes have their own keymaps.
1099* Minibuffer Maps:: The minibuffer uses its own local keymaps.
1100* Rebinding:: How to redefine one key's meaning conveniently.
1101* Init Rebinding:: Rebinding keys with your init file, @file{.emacs}.
f049d162 1102* Modifier Keys:: Using modifier keys in key bindings.
8cf51b2c
GM
1103* Function Keys:: Rebinding terminal function keys.
1104* Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on.
1105* Mouse Buttons:: Rebinding mouse buttons in Emacs.
1106* Disabling:: Disabling a command means confirmation is required
1107 before it can be executed. This is done to protect
1108 beginners from surprises.
1109
1110The Init File, @file{~/.emacs}
1111
8838673e 1112* Init Syntax:: Syntax of constants in Emacs Lisp.
8cf51b2c
GM
1113* Init Examples:: How to do some things with an init file.
1114* Terminal Init:: Each terminal type can have an init file.
8838673e 1115* Find Init:: How Emacs finds the init file.
8cf51b2c
GM
1116* Init Non-ASCII:: Using non-@acronym{ASCII} characters in an init file.
1117
1118Dealing with Emacs Trouble
1119
1120* DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
1121* Stuck Recursive:: `[...]' in mode line around the parentheses.
1122* Screen Garbled:: Garbage on the screen.
1123* Text Garbled:: Garbage in the text.
1124* Memory Full:: How to cope when you run out of memory.
1125* After a Crash:: Recovering editing in an Emacs session that crashed.
c61ab18c 1126* Emergency Escape:: What to do if Emacs stops responding.
8cf51b2c
GM
1127
1128Reporting Bugs
1129
63e1eaa1 1130* Known Problems:: How to read about known problems and bugs.
8cf51b2c 1131* Bug Criteria:: Have you really found a bug?
8838673e
GM
1132* Understanding Bug Reporting:: How to report a bug effectively.
1133* Checklist:: Steps to follow for a good bug report.
1134* Sending Patches:: How to send a patch for GNU Emacs.
8cf51b2c
GM
1135
1136Command Line Arguments for Emacs Invocation
1137
8838673e
GM
1138* Action Arguments:: Arguments to visit files, load libraries,
1139 and call functions.
8cf51b2c
GM
1140* Initial Options:: Arguments that take effect while starting Emacs.
1141* Command Example:: Examples of using command line arguments.
8cf51b2c
GM
1142* Environment:: Environment variables that Emacs uses.
1143* Display X:: Changing the default display and using remote login.
8838673e 1144* Font X:: Choosing a font for text, under X.
8863a584 1145* Colors X:: Choosing display colors.
8cf51b2c 1146* Window Size X:: Start-up window size, under X.
8838673e 1147* Borders X:: Internal and external borders, under X.
8cf51b2c
GM
1148* Title X:: Specifying the initial frame's title.
1149* Icons X:: Choosing what sort of icon to use, under X.
1150* Misc X:: Other display options.
1151
1152Environment Variables
1153
8838673e
GM
1154* General Variables:: Environment variables that all versions of Emacs use.
1155* Misc Variables:: Certain system-specific variables.
8cf51b2c
GM
1156* MS-Windows Registry:: An alternative to the environment on MS-Windows.
1157
1158X Options and Resources
1159
1160* Resources:: Using X resources with Emacs (in general).
1161* Table of Resources:: Table of specific X resources that affect Emacs.
8cf51b2c
GM
1162* Lucid Resources:: X resources for Lucid menus.
1163* LessTif Resources:: X resources for LessTif and Motif menus.
1164* GTK resources:: Resources for GTK widgets.
1165
753ad1de
GM
1166GTK resources
1167
06848b82
CY
1168* GTK Resource Basics:: Basic usage of GTK+ resources.
1169* GTK Widget Names:: How GTK+ widgets are named.
1170* GTK Names in Emacs:: GTK+ widgets used by Emacs.
753ad1de
GM
1171* GTK styles:: What can be customized in a GTK widget.
1172
e93bc142 1173Emacs and Mac OS / GNUstep
8cf51b2c 1174
753ad1de
GM
1175* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS.
1176* Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS.
1177* Mac / GNUstep Events:: How window system events are handled.
1178* GNUstep Support:: Details on status of GNUstep support.
8cf51b2c
GM
1179
1180Emacs and Microsoft Windows/MS-DOS
1181
62d72a4a 1182* Windows Startup:: How to start Emacs on Windows.
8cf51b2c
GM
1183* Text and Binary:: Text files use CRLF to terminate lines.
1184* Windows Files:: File-name conventions on Windows.
1185* ls in Lisp:: Emulation of @code{ls} for Dired.
1186* Windows HOME:: Where Emacs looks for your @file{.emacs}.
1187* Windows Keyboard:: Windows-specific keyboard features.
1188* Windows Mouse:: Windows-specific mouse features.
1189* Windows Processes:: Running subprocesses on Windows.
1190* Windows Printing:: How to specify the printer on MS-Windows.
753ad1de 1191* Windows Fonts:: Specifying fonts on MS-Windows.
8cf51b2c 1192* Windows Misc:: Miscellaneous Windows features.
2d2f6581
GM
1193@ifnottex
1194* MS-DOS:: Using Emacs on MS-DOS.
753ad1de
GM
1195
1196Emacs and MS-DOS
1197
1198* MS-DOS Keyboard:: Keyboard conventions on MS-DOS.
1199* MS-DOS Mouse:: Mouse conventions on MS-DOS.
1200* MS-DOS Display:: Fonts, frames and display size on MS-DOS.
1201* MS-DOS File Names:: File name conventions on MS-DOS.
1202* MS-DOS Printing:: Printing specifics on MS-DOS.
1203* MS-DOS and MULE:: Support for internationalization on MS-DOS.
1204* MS-DOS Processes:: Running subprocesses on MS-DOS.
2d2f6581 1205@end ifnottex
753ad1de 1206
8cf51b2c
GM
1207@end detailmenu
1208@end menu
1209
1210@iftex
1211@unnumbered Preface
1212
1213 This manual documents the use and simple customization of the Emacs
1214editor. Simple Emacs customizations do not require you to be a
1215programmer, but if you are not interested in customizing, you can
1216ignore the customization hints.
1217
1218 This is primarily a reference manual, but can also be used as a
1219primer. If you are new to Emacs, we recommend you start with
753ad1de 1220the integrated, learn-by-doing tutorial, before reading the manual. To
8cf51b2c
GM
1221run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
1222describes commands, tells you when to try them, and explains the
2d2f6581 1223results. The tutorial is available in several languages.
8cf51b2c
GM
1224
1225 On first reading, just skim chapters 1 and 2, which describe the
1226notational conventions of the manual and the general appearance of the
1227Emacs display screen. Note which questions are answered in these
1228chapters, so you can refer back later. After reading chapter 4, you
1229should practice the commands shown there. The next few chapters
1230describe fundamental techniques and concepts that are used constantly.
1231You need to understand them thoroughly, so experiment with them
1232until you are fluent.
1233
1234 Chapters 14 through 19 describe intermediate-level features that are
1235useful for many kinds of editing. Chapter 20 and following chapters
1236describe optional but useful features; read those chapters when you
1237need them.
1238
753ad1de
GM
1239 Read the Common Problems chapter if Emacs does not seem to be
1240working properly. It explains how to cope with several common
2d2f6581
GM
1241problems (@pxref{Lossage,, Dealing with Emacs Trouble}), as well as
1242when and how to report Emacs bugs (@pxref{Bugs}).
8cf51b2c
GM
1243
1244 To find the documentation of a particular command, look in the index.
1245Keys (character commands) and command names have separate indexes.
1246There is also a glossary, with a cross reference for each term.
1247
1248 This manual is available as a printed book and also as an Info file.
2d2f6581
GM
1249The Info file is for reading from Emacs itself, or with the Info program.
1250Info is the principal format for documentation in the GNU system.
1251The Info file and the printed book contain substantially the same text
1252and are generated from the same source files, which are also
1253distributed with GNU Emacs.
8cf51b2c
GM
1254
1255 GNU Emacs is a member of the Emacs editor family. There are many
1256Emacs editors, all sharing common principles of organization. For
1257information on the underlying philosophy of Emacs and the lessons
1258learned from its development, see @cite{Emacs, the Extensible,
1259Customizable Self-Documenting Display Editor}, available from
1260@url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1261
2d2f6581 1262This version of the manual is mainly intended for use with GNU Emacs
7c2fb837 1263installed on GNU and Unix systems. GNU Emacs can also be used on
2d2f6581
GM
1264MS-DOS, Microsoft Windows, and Macintosh systems. The Info file
1265version of this manual contains some more information about using
1266Emacs on those systems. Those systems use different file name syntax;
1267in addition MS-DOS does not support all GNU Emacs features.
1268@xref{Microsoft Windows}, for information about using Emacs on
1269Windows. @xref{Mac OS / GNUstep}, for information about using Emacs
1270on Macintosh (and GNUstep).
8cf51b2c
GM
1271@end iftex
1272
1273@node Distrib, Intro, Top, Top
1274@unnumbered Distribution
1275
1276GNU Emacs is @dfn{free software}; this means that everyone is free to
ae15b89b 1277use it and free to redistribute it under certain conditions. GNU Emacs
8cf51b2c
GM
1278is not in the public domain; it is copyrighted and there are
1279restrictions on its distribution, but these restrictions are designed
1280to permit everything that a good cooperating citizen would want to do.
1281What is not allowed is to try to prevent others from further sharing
1282any version of GNU Emacs that they might get from you. The precise
1283conditions are found in the GNU General Public License that comes with
1284Emacs and also appears in this manual@footnote{This manual is itself
ae15b89b
GM
1285covered by the GNU Free Documentation License. This license is
1286similar in spirit to the General Public License, but is more suitable
1287for documentation. @xref{GNU Free Documentation License}.}.
1288@xref{Copying}.
8cf51b2c
GM
1289
1290One way to get a copy of GNU Emacs is from someone else who has it.
1291You need not ask for our permission to do so, or tell any one else;
1292just copy it. If you have access to the Internet, you can get the
1293latest distribution version of GNU Emacs by anonymous FTP; see
1294@url{http://www.gnu.org/software/emacs} on our website for more
1295information.
1296
1297You may also receive GNU Emacs when you buy a computer. Computer
1298manufacturers are free to distribute copies on the same terms that apply to
1299everyone else. These terms require them to give you the full sources,
1300including whatever changes they may have made, and to permit you to
1301redistribute the GNU Emacs received from them under the usual terms of the
1302General Public License. In other words, the program must be free for you
1303when you get it, not just free for the manufacturer.
1304
ae15b89b
GM
1305If you find GNU Emacs useful, please @strong{send a donation} to the
1306Free Software Foundation to support our work. Donations to the Free
1307Software Foundation are tax deductible in the US. If you use GNU Emacs
1308at your workplace, please suggest that the company make a donation.
1309For more information on how you can help, see
1310@url{http://www.gnu.org/help/help.html}.
1311
1312We also sell hardcopy versions of this manual and @cite{An
1313Introduction to Programming in Emacs Lisp}, by Robert J.@: Chassell.
1314You can visit our online store at @url{http://shop.fsf.org/}.
1315The income from sales goes to support the foundation's purpose: the
1316development of new free software, and improvements to our existing
1317programs including GNU Emacs.
1318
1319If you need to contact the Free Software Foundation, see
1320@url{http://www.fsf.org/about/contact/}, or write to
8cf51b2c
GM
1321
1322@display
1323Free Software Foundation
132451 Franklin Street, Fifth Floor
1325Boston, MA 02110-1301
1326USA
1327@end display
1328
8cf51b2c
GM
1329@iftex
1330@node Acknowledgments, Intro, Distrib, Top
1331@unnumberedsec Acknowledgments
1332
1333Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
80c3c4b9
GM
1334Abrahamsson, Jay K.@: Adams, Alon Albert, Michael Albinus, Nagy
1335