remove `declare' macro
[bpt/emacs.git] / doc / emacs / emacs.texi
CommitLineData
681ebc33 1\input texinfo @c -*- coding: utf-8 -*-
8cf51b2c 2
29993416 3@setfilename ../../info/emacs.info
8cf51b2c
GM
4@settitle GNU Emacs Manual
5
bbba8869
GM
6@c The edition number appears in more than one place in this file
7@c I don't really know what it means...
8@c For example, it has said "Sixteenth" since sometime in the Emacs 22
9@c series, all through 23, and into 24. So it is not very useful IMO,
10@c and offers nothing that EMACSVER does not. I guess it relates
11@c mainly to the published book sold by the FSF. Hence no longer
12@c bother including it except iftex. Really, I think it should not be
13@c here at all (since anyone can make a pdf version), but should just
14@c be something added by the FSF during the publishing process.
15@c Also, the lispref uses a float (3.0), whereas this uses an ordinal,
16@c so the format is not even consistent.
166bc0c8 17@set EDITION Seventeenth
f7a31f11 18@include emacsver.texi
8cf51b2c
GM
19
20@copying
bbba8869 21@iftex
8cf51b2c 22This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@*
bbba8869
GM
23@end iftex
24@ifnottex
25This is the @cite{GNU Emacs Manual},
26@end ifnottex
8cf51b2c
GM
27updated for Emacs version @value{EMACSVER}.
28
6bc383b1 29Copyright @copyright{} 1985--1987, 1993--2014 Free Software Foundation, Inc.
8cf51b2c
GM
30
31@quotation
32Permission is granted to copy, distribute and/or modify this document
4b121911 33under the terms of the GNU Free Documentation License, Version 1.3 or
8cf51b2c
GM
34any later version published by the Free Software Foundation; with the
35Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and
551a89e1 36``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover Texts being ``A GNU
8cf51b2c
GM
37Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
38license is included in the section entitled ``GNU Free Documentation
39License.''
40
8e65d46c
GM
41(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
42modify this GNU manual. Buying copies from the FSF supports it in
8cf51b2c
GM
43developing GNU and promoting software freedom.''
44@end quotation
45@end copying
46
681ebc33 47@documentencoding UTF-8
6446548e 48
8cf51b2c
GM
49@dircategory Emacs
50@direntry
f9405d87 51* Emacs: (emacs). The extensible self-documenting text editor.
8cf51b2c
GM
52@end direntry
53
54@c in general, keep the following line commented out, unless doing a
55@c copy of this manual that will be published. The manual should go
56@c onto the distribution in the full, 8.5 x 11" size.
84f4a531 57@c @set smallbook
8cf51b2c
GM
58
59@ifset smallbook
60@smallbook
61@end ifset
62
63@c per rms and peterb, use 10pt fonts for the main text, mostly to
64@c save on paper cost.
65@c Do this inside @tex for now, so current makeinfo does not complain.
66@tex
67@ifset smallbook
68@fonttextsize 10
8cf51b2c
GM
69@end ifset
70\global\hbadness=6666 % don't worry about not-too-underfull boxes
71@end tex
72
73@defcodeindex op
74@synindex pg cp
75
76@iftex
77@kbdinputstyle code
78
79@shorttitlepage GNU Emacs Manual
80@end iftex
81
82@titlepage
83@sp 6
84@center @titlefont{GNU Emacs Manual}
85@sp 4
86@center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}.
87@sp 5
1a72be46 88@center Richard Stallman et al.
8cf51b2c
GM
89@page
90@vskip 0pt plus 1filll
91@insertcopying
92
93@sp 2
94Published by the Free Software Foundation @*
9551 Franklin Street, Fifth Floor @*
96Boston, MA 02110-1301 USA @*
0c51ff6d 97ISBN 978-0-9831592-4-7
8cf51b2c
GM
98
99@sp 2
166bc0c8 100Cover art by Etienne Suvasa; cover design by Matt Lee.
8cf51b2c
GM
101
102@end titlepage
103
104
105@summarycontents
106@contents
107
108
109@ifnottex
abb9615e 110@node Top
8cf51b2c
GM
111@top The Emacs Editor
112
113Emacs is the extensible, customizable, self-documenting real-time
c0765905 114display editor. This manual describes how to edit with Emacs and
2d2f6581 115some of the ways to customize it; it corresponds to GNU Emacs version
8cf51b2c
GM
116@value{EMACSVER}.
117
4899e078 118@c See `manual-html-mono' and `manual-html-node' in admin/admin.el.
c0765905
GM
119@ifset WWW_GNU_ORG
120@html
121The homepage for GNU Emacs is at
122<a href="/software/emacs/">http://www.gnu.org/software/emacs/</a>.<br>
123To view this manual in other formats, click
124<a href="/software/emacs/manual/emacs.html">here</a>.<br>
125You can also purchase a printed copy from the
126<a href="http://shop.fsf.org/product/emacs-manual/">FSF store</a>.
127@end html
128@end ifset
129
8cf51b2c 130@ifinfo
2d2f6581
GM
131If you are reading this in Emacs, type @kbd{h} to read a basic
132introduction to the Info documentation system.
8cf51b2c
GM
133@end ifinfo
134
135For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The
136Emacs Lisp Reference Manual}.
753ad1de
GM
137
138@insertcopying
8cf51b2c
GM
139@end ifnottex
140
2d2f6581
GM
141@c Note that the TeX version generates its own TOC, so the ifnottex's
142@c here are not really necessary.
8cf51b2c 143@menu
8838673e
GM
144* Distrib:: How to get the latest Emacs distribution.
145* Intro:: An introduction to Emacs concepts.
753ad1de 146
8cf51b2c 147Important General Concepts
8838673e
GM
148* Screen:: How to interpret what you see on the screen.
149* User Input:: Kinds of input events (characters, buttons,
8cf51b2c 150 function keys).
8838673e 151* Keys:: Key sequences: what you type to request one
8cf51b2c 152 editing action.
8838673e 153* Commands:: Named functions run by key sequences to do editing.
8cf51b2c 154* Entering Emacs:: Starting Emacs from the shell.
8838673e 155* Exiting:: Stopping or killing Emacs.
8cf51b2c
GM
156
157Fundamental Editing Commands
8838673e
GM
158* Basic:: The most basic editing commands.
159* Minibuffer:: Entering arguments that are prompted for.
160* M-x:: Invoking commands by their names.
161* Help:: Commands for asking Emacs about its commands.
8cf51b2c
GM
162
163Important Text-Changing Commands
f584ca38 164* Mark:: The mark: how to delimit a "region" of text.
2d2f6581 165* Killing:: Killing (cutting) and yanking (copying) text.
8838673e
GM
166* Registers:: Saving a text string or a location in the buffer.
167* Display:: Controlling what text is displayed.
168* Search:: Finding or replacing occurrences of a string.
169* Fixit:: Commands especially useful for fixing typos.
6cfd0fa2 170* Keyboard Macros:: Recording a sequence of keystrokes to be replayed.
8cf51b2c
GM
171
172Major Structures of Emacs
8838673e
GM
173* Files:: All about handling files.
174* Buffers:: Multiple buffers; editing several files at once.
2d2f6581 175* Windows:: Viewing multiple pieces of text in one frame.
775b55af 176* Frames:: Using multiple "windows" on your display.
753ad1de 177* International:: Using non-@acronym{ASCII} character sets.
8cf51b2c
GM
178
179Advanced Features
44e97401 180* Modes:: Major and minor modes alter Emacs's basic behavior.
8838673e 181* Indentation:: Editing the white space at the beginnings of lines.
f404f8bc 182* Text:: Commands and modes for editing human languages.
8838673e
GM
183* Programs:: Commands and modes for editing programs.
184* Building:: Compiling, running and debugging programs.
8cf51b2c 185* Maintaining:: Features for maintaining large programs.
2d2f6581 186* Abbrevs:: Defining text abbreviations to reduce typing.
e0b1591b
CY
187* Dired:: Directory and file manager.
188* Calendar/Diary:: Calendar and diary facilities.
8cf51b2c 189* Sending Mail:: Sending mail in Emacs.
8838673e 190* Rmail:: Reading mail in Emacs.
6cfd0fa2 191* Gnus:: A flexible mail and news reader.
856ce114 192* Document View:: Viewing PDF, PS and DVI files.
548a1b28 193* EWW:: A web browser in Emacs.
8838673e 194* Shell:: Executing shell commands from Emacs.
6cfd0fa2 195* Emacs Server:: Using Emacs as an editing server.
8838673e
GM
196* Printing:: Printing hardcopies of buffers or regions.
197* Sorting:: Sorting lines, paragraphs or pages within Emacs.
f404f8bc
CY
198@ifnottex
199* Picture Mode:: Editing pictures made up of text characters.
200@end ifnottex
2d2f6581 201* Editing Binary Files:: Editing binary files with Hexl mode.
8cf51b2c 202* Saving Emacs Sessions:: Saving Emacs state from one session to the next.
f404f8bc 203* Recursive Edit:: Performing edits while "within another command".
8cf51b2c 204* Hyperlinking:: Following links in buffers.
8838673e 205* Amusements:: Various games and hacks.
d43f5a42 206* Packages:: Installing additional features.
8cf51b2c 207* Customization:: Modifying the behavior of Emacs.
8cf51b2c
GM
208
209Recovery from Problems
8838673e
GM
210* Quitting:: Quitting and aborting.
211* Lossage:: What to do if Emacs is hung or malfunctioning.
212* Bugs:: How and when to report a bug.
8cf51b2c 213* Contributing:: How to contribute improvements to Emacs.
8838673e 214* Service:: How to get help for your own Emacs needs.
8cf51b2c 215
753ad1de 216Appendices
8838673e
GM
217* Copying:: The GNU General Public License gives you permission
218 to redistribute GNU Emacs on certain terms;
219 it also explains that there is no warranty.
753ad1de
GM
220* GNU Free Documentation License:: The license for this documentation.
221* Emacs Invocation:: Hairy startup options.
222* X Resources:: X resources for customizing Emacs.
06848b82 223* Antinews:: Information about Emacs version 23.
753ad1de
GM
224* Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep.
225* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
8838673e 226* Manifesto:: What's GNU? Gnu's Not Unix!
753ad1de 227
6edc3d28
CY
228* Glossary:: Terms used in this manual.
229@ifnottex
230* Acknowledgments:: Major contributors to GNU Emacs.
231@end ifnottex
232
233Indexes (each index contains a large menu)
234* Key Index:: An item for each standard Emacs key sequence.
235* Option Index:: An item for every command-line option.
236* Command Index:: An item for each command name.
237* Variable Index:: An item for each documented variable.
238* Concept Index:: An item for each concept.
239
8cf51b2c
GM
240@c Do NOT modify the following 3 lines! They must have this form to
241@c be correctly identified by `texinfo-multiple-files-update'. In
242@c particular, the detailed menu header line MUST be identical to the
243@c value of `texinfo-master-menu-header'. See texnfo-upd.el.
244
245@detailmenu
246 --- The Detailed Node Listing ---
247 ---------------------------------
248
c2fd0368 249Here are some other nodes which are really subnodes of the ones
8cf51b2c
GM
250already listed, mentioned here so you can get to them in one step:
251
252The Organization of the Screen
253
8838673e 254* Point:: The place in the text where editing commands operate.
8cf51b2c 255* Echo Area:: Short messages appear at the bottom of the screen.
8838673e 256* Mode Line:: Interpreting the mode line.
8cf51b2c
GM
257* Menu Bar:: How to use the menu bar.
258
259Basic Editing Commands
260
261* Inserting Text:: Inserting text by simply typing it.
753ad1de
GM
262* Moving Point:: Moving the cursor to the place where you want to
263 change something.
8838673e
GM
264* Erasing:: Deleting and killing text.
265* Basic Undo:: Undoing recent changes in the text.
8cf51b2c
GM
266* Basic Files:: Visiting, creating, and saving files.
267* Basic Help:: Asking what a character does.
8838673e 268* Blank Lines:: Making and deleting blank lines.
753ad1de 269* Continuation Lines:: How Emacs displays lines too wide for the screen.
b2b0776e 270* Position Info:: What line, row, or column is point on?
8838673e 271* Arguments:: Numeric arguments for repeating a command N times.
753ad1de 272* Repeating:: Repeating the previous command quickly.
8cf51b2c
GM
273
274The Minibuffer
275
7d806bfe 276* Basic Minibuffer:: Basic usage of the minibuffer.
8cf51b2c
GM
277* Minibuffer File:: Entering file names with the minibuffer.
278* Minibuffer Edit:: How to edit in the minibuffer.
8838673e
GM
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.
48de8b12 283* Yes or No Prompts:: Replying yes or no in the echo area.
8cf51b2c
GM
284
285Completion
286
753ad1de
GM
287* Completion Example:: Examples of using completion.
288* Completion Commands:: A list of completion commands.
a70e06c1 289* Completion Exit:: Completion and minibuffer text submission.
27a16462 290* Completion Styles:: How completion matches are chosen.
753ad1de 291* Completion Options:: Options for completion.
8cf51b2c
GM
292
293Help
294
8838673e
GM
295* Help Summary:: Brief list of all Help commands.
296* Key Help:: Asking what a key does in Emacs.
297* Name Help:: Asking about a command, variable or function name.
298* Apropos:: Asking what pertains to a given topic.
8cf51b2c 299* Help Mode:: Special features of Help mode and Help buffers.
3dc62b2b 300* Package Keywords:: Finding Lisp libraries by keywords (topics).
8cf51b2c 301* Language Help:: Help relating to international language support.
8838673e 302* Misc Help:: Other help commands.
a7ef684b 303* Help Files:: Commands to display auxiliary help files.
775b55af 304* Help Echo:: Help on active text and tooltips ("balloon help").
8cf51b2c
GM
305
306The Mark and the Region
307
8838673e
GM
308* Setting Mark:: Commands to set the mark.
309* Marking Objects:: Commands to put region around textual units.
310* Using Region:: Summary of ways to operate on contents of the region.
311* Mark Ring:: Previous mark positions saved so you can go back there.
02105f6b
CY
312* Global Mark Ring:: Previous mark positions in various buffers.
313* Shift Selection:: Using shifted cursor motion keys.
e1a3f5b1 314* Disabled Transient Mark:: Leaving regions unhighlighted by default.
8cf51b2c
GM
315
316Killing and Moving Text
317
2d2f6581 318* Deletion and Killing:: Commands that remove text.
a4289d0e 319* Yanking:: Commands that insert text.
2d2f6581 320* Cut and Paste:: Clipboard and selections on graphical displays.
a4289d0e 321* Accumulating Text:: Other methods to add text to the buffer.
2d2f6581 322* Rectangles:: Operating on text in rectangular areas.
a4289d0e 323* CUA Bindings:: Using @kbd{C-x}/@kbd{C-c}/@kbd{C-v} to kill and yank.
2d2f6581
GM
324
325Deletion and Killing
326
8838673e
GM
327* Deletion:: Commands for deleting small amounts of text and
328 blank areas.
329* Killing by Lines:: How to kill entire lines of text at one time.
8cf51b2c 330* Other Kill Commands:: Commands to kill large regions of text and
8838673e 331 syntactic units such as words and sentences.
91ed7ea8 332* Kill Options:: Options that affect killing.
8cf51b2c
GM
333
334Yanking
335
50b063c3 336* Kill Ring:: Where killed text is stored.
8838673e 337* Earlier Kills:: Yanking something killed some time ago.
50b063c3 338* Appending Kills:: Several kills in a row all yank together.
8cf51b2c 339
a4289d0e 340"Cut and Paste" Operations on Graphical Displays
4d45a8b7 341
a4289d0e 342* Clipboard:: How Emacs uses the system clipboard.
4d45a8b7
CY
343* Primary Selection:: The temporarily selected text selection.
344* Secondary Selection:: Cutting without altering point and mark.
345
8cf51b2c
GM
346Registers
347
ced5cc29
XF
348* Position Registers:: Saving positions in registers.
349* Text Registers:: Saving text in registers.
350* Rectangle Registers:: Saving rectangles in registers.
351* Configuration Registers:: Saving window configurations in registers.
352* Number Registers:: Numbers in registers.
353* File Registers:: File names in registers.
354* Keyboard Macro Registers:: Keyboard macros in registers.
355* Bookmarks:: Bookmarks are like registers, but persistent.
8cf51b2c
GM
356
357Controlling the Display
358
8838673e 359* Scrolling:: Commands to move text up and down in a window.
a4289d0e 360* Recentering:: A scroll command that centers the current line.
8cf51b2c
GM
361* Auto Scrolling:: Redisplay scrolls text automatically when needed.
362* Horizontal Scrolling:: Moving text left and right in a window.
f404f8bc
CY
363* Narrowing:: Restricting display and editing to a portion
364 of the buffer.
a6326082 365* View Mode:: Viewing read-only buffers.
8cf51b2c 366* Follow Mode:: Follow mode lets two windows scroll as one.
8838673e 367* Faces:: How to change the display style using faces.
8863a584 368* Colors:: Specifying colors for faces.
44e97401 369* Standard Faces:: The main predefined faces.
d366bd53 370* Text Scale:: Increasing or decreasing text size in a buffer.
8cf51b2c
GM
371* Font Lock:: Minor mode for syntactic highlighting using faces.
372* Highlight Interactively:: Tell Emacs what text to highlight.
373* Fringes:: Enabling or disabling window fringes.
374* Displaying Boundaries:: Displaying top and bottom of the buffer.
2d2f6581 375* Useless Whitespace:: Showing possibly spurious trailing whitespace.
8cf51b2c
GM
376* Selective Display:: Hiding lines with lots of indentation.
377* Optional Mode Line:: Optional mode line display features.
378* Text Display:: How text characters are normally displayed.
379* Cursor Display:: Features for displaying the cursor.
380* Line Truncation:: Truncating lines to fit the screen width instead
381 of continuing them to multiple screen lines.
4c2e2be9 382* Visual Line Mode:: Word wrap and screen line-based editing.
8cf51b2c
GM
383* Display Custom:: Information on variables for customizing display.
384
385Searching and Replacement
386
8838673e 387* Incremental Search:: Search happens as you type the string.
8cf51b2c 388* Nonincremental Search:: Specify entire string and then search.
8838673e 389* Word Search:: Search for sequence of words.
05b621a6 390* Symbol Search:: Search for a source code symbol.
8838673e
GM
391* Regexp Search:: Search for match for a regexp.
392* Regexps:: Syntax of regular expressions.
8cf51b2c
GM
393* Regexp Backslash:: Regular expression constructs starting with `\'.
394* Regexp Example:: A complex regular expression explained.
8838673e
GM
395* Search Case:: To ignore case while searching, or not.
396* Replace:: Search, and replace some or all matches.
8cf51b2c
GM
397* Other Repeating Search:: Operating on all matches for some regexp.
398
399Incremental Search
400
80fa505f
AM
401* Basic Isearch:: Basic incremental search commands.
402* Repeat Isearch:: Searching for the same string again.
403* Error in Isearch:: When your string is not found.
404* Special Isearch:: Special input in incremental search.
405* Isearch Yank:: Commands that grab text into the search string
406 or else edit the search string.
407* Not Exiting Isearch:: Prefix argument and scrolling commands.
408* Isearch Minibuffer:: Incremental search of the minibuffer history.
8cf51b2c
GM
409
410Replacement Commands
411
412* Unconditional Replace:: Replacing all matches for a string.
8838673e 413* Regexp Replace:: Replacing all matches for a regexp.
8cf51b2c 414* Replacement and Case:: How replacements preserve case of letters.
8838673e 415* Query Replace:: How to use querying.
8cf51b2c
GM
416
417Commands for Fixing Typos
418
753ad1de 419* Undo:: The Undo commands.
8838673e 420* Transpose:: Exchanging two characters, words, lines, lists...
8cf51b2c 421* Fixing Case:: Correcting case of last word entered.
8838673e 422* Spelling:: Apply spelling checker to a word, or a whole file.
8cf51b2c
GM
423
424Keyboard Macros
425
426* Basic Keyboard Macro:: Defining and running keyboard macros.
427* Keyboard Macro Ring:: Where previous keyboard macros are saved.
428* Keyboard Macro Counter:: Inserting incrementing numbers in macros.
2d2f6581
GM
429* Keyboard Macro Query:: Making keyboard macros do different things each
430 time.
431* Save Keyboard Macro:: Giving keyboard macros names; saving them in
432 files.
8cf51b2c
GM
433* Edit Keyboard Macro:: Editing keyboard macros.
434* Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard
435 macro.
436
437File Handling
438
439* File Names:: How to type and edit file-name arguments.
440* Visiting:: Visiting a file prepares Emacs to edit the file.
441* Saving:: Saving makes your changes permanent.
442* Reverting:: Reverting cancels all the changes not saved.
2d2f6581 443@ifnottex
8cf51b2c 444* Autorevert:: Auto Reverting non-file buffers.
2d2f6581 445@end ifnottex
8cf51b2c
GM
446* Auto Save:: Auto Save periodically protects against loss of data.
447* File Aliases:: Handling multiple names for one file.
8cf51b2c
GM
448* Directories:: Creating, deleting, and listing file directories.
449* Comparing Files:: Finding where two files differ.
753ad1de 450* Diff Mode:: Mode for editing file differences.
8cf51b2c
GM
451* Misc File Ops:: Other things you can do on files.
452* Compressed Files:: Accessing compressed files.
453* File Archives:: Operating on tar, zip, jar etc. archive files.
2d2f6581 454* Remote Files:: Accessing files on other machines.
8cf51b2c
GM
455* Quoted File Names:: Quoting special characters in file names.
456* File Name Cache:: Completion against a list of files you often use.
457* File Conveniences:: Convenience Features for Finding Files.
458* Filesets:: Handling sets of files.
459
460Saving Files
461
462* Save Commands:: Commands for saving files.
463* Backup:: How Emacs saves the old version of your file.
464* Customize Save:: Customizing the saving of files.
465* Interlocking:: How Emacs protects against simultaneous editing
466 of one file by two users.
467* File Shadowing:: Copying files to "shadows" automatically.
468* Time Stamps:: Emacs can update time stamps on saved files.
469
470Backup Files
471
8838673e
GM
472* Backup Names:: How backup files are named.
473* Backup Deletion:: Emacs deletes excess numbered backups.
474* Backup Copying:: Backups can be made by copying or renaming.
753ad1de 475
2d2f6581 476@ifnottex
753ad1de
GM
477Auto Reverting Non-File Buffers
478
479* Auto Reverting the Buffer Menu:: Auto Revert of the Buffer Menu.
480* Auto Reverting Dired:: Auto Revert of Dired buffers.
481* Supporting additional buffers:: How to add more Auto Revert support.
2d2f6581 482@end ifnottex
8cf51b2c
GM
483
484Auto-Saving: Protection Against Disasters
485
753ad1de
GM
486* Auto Save Files:: The file where auto-saved changes are
487 actually made until you save the file.
488* Auto Save Control:: Controlling when and how often to auto-save.
8838673e 489* Recover:: Recovering text from auto-save files.
8cf51b2c 490
8cf51b2c
GM
491Using Multiple Buffers
492
493* Select Buffer:: Creating a new buffer or reselecting an old one.
494* List Buffers:: Getting a list of buffers that exist.
ae93878a 495* Misc Buffer:: Renaming; changing read-only status; copying text.
8838673e 496* Kill Buffer:: Killing buffers you no longer need.
8cf51b2c 497* Several Buffers:: How to go through the list of all buffers
8838673e 498 and operate variously on several of them.
8cf51b2c
GM
499* Indirect Buffers:: An indirect buffer shares the text of another buffer.
500* Buffer Convenience:: Convenience and customization features for
501 buffer handling.
502
753ad1de
GM
503Convenience Features and Customization of Buffer Handling
504
505* Uniquify:: Making buffer names unique with directory parts.
ba25559e 506* Icomplete:: Fast minibuffer selection.
753ad1de
GM
507* Buffer Menus:: Configurable buffer menu.
508
8cf51b2c
GM
509Multiple Windows
510
511* Basic Window:: Introduction to Emacs windows.
512* Split Window:: New windows are made by splitting existing windows.
513* Other Window:: Moving to another window or doing something to it.
514* Pop Up Window:: Finding a file or buffer in another window.
8cf51b2c 515* Change Window:: Deleting windows and changing their sizes.
0a2132ba 516* Displaying Buffers:: How Emacs picks a window for displaying a buffer.
8cf51b2c
GM
517* Window Convenience:: Convenience functions for window handling.
518
a4289d0e 519Displaying a Buffer in a Window
2d2f6581
GM
520
521* Window Choice:: How @code{display-buffer} works.
522
8cf51b2c
GM
523Frames and Graphical Displays
524
4d45a8b7
CY
525* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
526* Word and Line Mouse:: Mouse commands for selecting whole words or lines.
8cf51b2c
GM
527* Mouse References:: Using the mouse to select an item from a list.
528* Menu Mouse Clicks:: Mouse clicks that bring up menus.
529* Mode Line Mouse:: Mouse clicks on the mode line.
530* Creating Frames:: Creating additional Emacs frames with various contents.
531* Frame Commands:: Iconifying, deleting, and switching frames.
d68eb23c 532* Fonts:: Changing the frame font.
8cf51b2c 533* Speedbar:: How to make and use a speedbar frame.
2d2f6581 534* Multiple Displays:: How one Emacs instance can talk to several displays.
8cf51b2c 535* Frame Parameters:: Changing the colors and other modes of frames.
8838673e 536* Scroll Bars:: How to enable and disable scroll bars; how to use them.
8cf51b2c 537* Drag and Drop:: Using drag and drop to open files and insert text.
8838673e 538* Menu Bars:: Enabling and disabling the menu bar.
8cf51b2c
GM
539* Tool Bars:: Enabling and disabling the tool bar.
540* Dialog Boxes:: Controlling use of dialog boxes.
753ad1de 541* Tooltips:: Displaying information at the current mouse position.
a4289d0e 542* Mouse Avoidance:: Preventing the mouse pointer from obscuring text.
8cf51b2c 543* Non-Window Terminals:: Multiple frames on terminals that show only one.
0be641c0 544* Text-Only Mouse:: Using the mouse in text terminals.
8cf51b2c
GM
545
546International Character Set Support
547
548* International Chars:: Basic concepts of multibyte characters.
8cf51b2c
GM
549* Language Environments:: Setting things up for the language you use.
550* Input Methods:: Entering text characters not on your keyboard.
551* Select Input Method:: Specifying your choice of input methods.
8cf51b2c
GM
552* Coding Systems:: Character set conversion when you read and
553 write files, and so on.
554* Recognize Coding:: How Emacs figures out which conversion to use.
555* Specify Coding:: Specifying a file's coding system explicitly.
556* Output Coding:: Choosing coding systems for output.
557* Text Coding:: Choosing conversion to use for file text.
558* Communication Coding:: Coding systems for interprocess communication.
559* File Name Coding:: Coding systems for file @emph{names}.
560* Terminal Coding:: Specifying coding systems for converting
561 terminal input and output.
562* Fontsets:: Fontsets are collections of fonts
563 that cover the whole spectrum of characters.
564* Defining Fontsets:: Defining a new fontset.
753ad1de 565* Modifying Fontsets:: Modifying an existing fontset.
8cf51b2c
GM
566* Undisplayable Characters::When characters don't display.
567* Unibyte Mode:: You can pick one European character set
568 to use without multibyte characters.
569* Charsets:: How Emacs groups its internal character codes.
2d2f6581 570* Bidirectional Editing:: Support for right-to-left scripts.
8cf51b2c 571
a4289d0e 572Major and Minor Modes
8cf51b2c 573
8875da1e
CY
574* Major Modes:: Text mode vs. Lisp mode vs. C mode...
575* Minor Modes:: Each minor mode is a feature you can turn on
576 independently of any others.
577* Choosing Modes:: How modes are chosen when visiting files.
8cf51b2c
GM
578
579Indentation
580
6d262977
CY
581* Indentation Commands:: More commands for performing indentation.
582* Tab Stops:: Stop points for indentation in Text modes.
583* Just Spaces:: Using only space characters for indentation.
584* Indent Convenience:: Optional indentation features.
8cf51b2c
GM
585
586Commands for Human Languages
587
8838673e
GM
588* Words:: Moving over and killing words.
589* Sentences:: Moving over and killing sentences.
590* Paragraphs:: Moving over paragraphs.
591* Pages:: Moving over pages.
592* Filling:: Filling or justifying text.
593* Case:: Changing the case of text.
594* Text Mode:: The major modes for editing text files.
8cf51b2c 595* Outline Mode:: Editing outlines.
0ed49f93 596* Org Mode:: The Emacs organizer.
2d2f6581 597* TeX Mode:: Editing TeX and LaTeX files.
f67c5dd0 598* HTML Mode:: Editing HTML and SGML files.
2d2f6581 599* Nroff Mode:: Editing input to the nroff formatter.
775b55af 600* Enriched Text:: Editing text "enriched" with fonts, colors, etc.
8863a584 601* Text Based Tables:: Commands for editing text-based tables.
f404f8bc 602* Two-Column:: Splitting text columns into separate windows.
8cf51b2c
GM
603
604Filling Text
605
8838673e 606* Auto Fill:: Auto Fill mode breaks long lines automatically.
8cf51b2c 607* Fill Commands:: Commands to refill paragraphs and center lines.
8838673e 608* Fill Prefix:: Filling paragraphs that are indented
8cf51b2c
GM
609 or in a comment, etc.
610* Adaptive Fill:: How Emacs can determine the fill prefix automatically.
8cf51b2c
GM
611
612Outline Mode
613
753ad1de 614* Outline Format:: What the text of an outline looks like.
2d2f6581 615* Outline Motion:: Special commands for moving through outlines.
753ad1de
GM
616* Outline Visibility:: Commands to control what is visible.
617* Outline Views:: Outlines and multiple views.
618* Foldout:: Folding means zooming in on outlines.
8cf51b2c 619
2d2f6581
GM
620Org Mode
621
622* Org Organizer:: Managing TODO lists and agendas.
623* Org Authoring:: Exporting Org buffers to various formats.
624
8cf51b2c
GM
625@TeX{} Mode
626
753ad1de
GM
627* TeX Editing:: Special commands for editing in TeX mode.
628* LaTeX Editing:: Additional commands for LaTeX input files.
629* TeX Print:: Commands for printing part of a file with TeX.
630* TeX Misc:: Customization of TeX mode, and related features.
8cf51b2c 631
a4289d0e 632Enriched Text
8cf51b2c 633
8863a584
CY
634* Enriched Mode:: Entering and exiting Enriched mode.
635* Hard and Soft Newlines:: There are two different kinds of newlines.
636* Editing Format Info:: How to edit text properties.
637* Enriched Faces:: Bold, italic, underline, etc.
638* Enriched Indentation:: Changing the left and right margins.
639* Enriched Justification:: Centering, setting text flush with the
640 left or right margin, etc.
641* Enriched Properties:: The "special" text properties submenu.
8cf51b2c 642
753ad1de
GM
643@c The automatic texinfo menu update inserts some duplicate items here
644@c (faces, colors, indentation, justification, properties), because
645@c they are listed in two menus. But we already have them above, no
646@c need to list them twice.
647
8cf51b2c
GM
648Editing Text-based Tables
649
650* Table Definition:: What is a text based table.
651* Table Creation:: How to create a table.
652* Table Recognition:: How to activate and deactivate tables.
653* Cell Commands:: Cell-oriented commands in a table.
654* Cell Justification:: Justifying cell contents.
a24bf23e 655* Table Rows and Columns:: Inserting and deleting rows and columns.
8cf51b2c 656* Table Conversion:: Converting between plain text and tables.
8cf51b2c
GM
657* Table Misc:: Table miscellany.
658
659Editing Programs
660
661* Program Modes:: Major modes for editing programs.
662* Defuns:: Commands to operate on major top-level parts
663 of a program.
664* Program Indent:: Adjusting indentation to show the nesting.
665* Parentheses:: Commands that operate on parentheses.
8838673e 666* Comments:: Inserting, killing, and aligning comments.
8cf51b2c
GM
667* Documentation:: Getting documentation of functions you plan to call.
668* Hideshow:: Displaying blocks selectively.
669* Symbol Completion:: Completion on symbol names of your program or language.
6995e5d0 670* MixedCase Words:: Dealing with identifiersLikeThis.
a42dbee1 671* Semantic:: Suite of editing tools based on source code parsing.
8cf51b2c
GM
672* Misc for Programs:: Other Emacs features useful for editing programs.
673* C Modes:: Special commands of C, C++, Objective-C,
2d2f6581 674 Java, IDL, Pike and AWK modes.
8cf51b2c 675* Asm Mode:: Asm mode and its special features.
2d2f6581 676@ifnottex
8cf51b2c 677* Fortran:: Fortran mode and its special features.
2d2f6581 678@end ifnottex
8cf51b2c
GM
679
680Top-Level Definitions, or Defuns
681
682* Left Margin Paren:: An open-paren or similar opening delimiter
683 starts a defun if it is at the left margin.
684* Moving by Defuns:: Commands to move over or mark a major definition.
685* Imenu:: Making buffer indexes as menus.
686* Which Function:: Which Function mode shows which function you are in.
687
688Indentation for Programs
689
8838673e 690* Basic Indent:: Indenting a single line.
8cf51b2c 691* Multi-line Indent:: Commands to reindent many lines at once.
8838673e
GM
692* Lisp Indent:: Specifying how each Lisp function should be indented.
693* C Indent:: Extra features for indenting C and related modes.
694* Custom C Indent:: Controlling indentation style for C and related modes.
8cf51b2c
GM
695
696Commands for Editing with Parentheses
697
698* Expressions:: Expressions with balanced parentheses.
699* Moving by Parens:: Commands for moving up, down and across
700 in the structure of parentheses.
8838673e 701* Matching:: Insertion of a close-delimiter flashes matching open.
8cf51b2c
GM
702
703Manipulating Comments
704
705* Comment Commands:: Inserting, killing, and aligning comments.
706* Multi-Line Comments:: Commands for adding and editing multi-line comments.
707* Options for Comments::Customizing the comment features.
708
709Documentation Lookup
710
2d2f6581
GM
711* Info Lookup:: Looking up library functions and commands in Info files.
712* Man Page:: Looking up man pages of library functions and commands.
713* Lisp Doc:: Looking up Emacs Lisp functions, etc.
8cf51b2c
GM
714
715C and Related Modes
716
717* Motion in C:: Commands to move by C statements, etc.
718* Electric C:: Colon and other chars can automatically reindent.
719* Hungry Delete:: A more powerful DEL command.
720* Other C Commands:: Filling comments, viewing expansion of macros,
721 and other neat features.
722
2d2f6581 723@ifnottex
753ad1de
GM
724Fortran Mode
725
8838673e
GM
726* Fortran Motion:: Moving point by statements or subprograms.
727* Fortran Indent:: Indentation commands for Fortran.
728* Fortran Comments:: Inserting and aligning comments.
729* Fortran Autofill:: Auto fill support for Fortran.
730* Fortran Columns:: Measuring columns for valid Fortran.
731* Fortran Abbrev:: Built-in abbrevs for Fortran keywords.
753ad1de
GM
732
733Fortran Indentation
734
735* ForIndent Commands:: Commands for indenting and filling Fortran.
736* ForIndent Cont:: How continuation lines indent.
737* ForIndent Num:: How line numbers auto-indent.
738* ForIndent Conv:: Conventions you must obey to avoid trouble.
739* ForIndent Vars:: Variables controlling Fortran indent style.
2d2f6581 740@end ifnottex
753ad1de 741
8cf51b2c
GM
742Compiling and Testing Programs
743
8838673e
GM
744* Compilation:: Compiling programs in languages other
745 than Lisp (C, Pascal, etc.).
8cf51b2c
GM
746* Compilation Mode:: The mode for visiting compiler errors.
747* Compilation Shell:: Customizing your shell properly
748 for use in the compilation buffer.
749* Grep Searching:: Searching with grep.
750* Flymake:: Finding syntax errors on the fly.
8838673e
GM
751* Debuggers:: Running symbolic debuggers for non-Lisp programs.
752* Executing Lisp:: Various modes for editing Lisp programs,
753 with different facilities for running
754 the Lisp programs.
29eabb8e 755* Lisp Libraries:: How Lisp programs are loaded into Emacs.
8838673e 756* Lisp Eval:: Executing a single Lisp expression in Emacs.
8cf51b2c 757* Lisp Interaction:: Executing Lisp in an Emacs buffer.
8838673e 758* External Lisp:: Communicating through Emacs with a separate Lisp.
8cf51b2c
GM
759
760Running Debuggers Under Emacs
761
8838673e
GM
762* Starting GUD:: How to start a debugger subprocess.
763* Debugger Operation:: Connection between the debugger and source buffers.
764* Commands of GUD:: Key bindings for common commands.
765* GUD Customization:: Defining your own commands for GUD.
8cf51b2c 766* GDB Graphical Interface:: An enhanced mode that uses GDB features to
2d2f6581 767 implement a graphical debugging environment.
8cf51b2c 768
753ad1de
GM
769GDB Graphical Interface
770
22ef1944 771* GDB User Interface Layout:: Control the number of displayed buffers.
691cf4a0
NR
772* Source Buffers:: Use the mouse in the fringe/margin to
773 control your program.
774* Breakpoints Buffer:: A breakpoint control panel.
775* Threads Buffer:: Displays your threads.
776* Stack Buffer:: Select a frame from the call stack.
0595bd7e 777* Other GDB Buffers:: Other buffers for controlling the GDB state.
691cf4a0
NR
778* Watch Expressions:: Monitor variable values in the speedbar.
779* Multithreaded Debugging:: Debugging programs with several threads.
753ad1de 780
8cf51b2c
GM
781Maintaining Large Programs
782
753ad1de 783* Version Control:: Using version control systems.
8838673e
GM
784* Change Log:: Maintaining a change history for your program.
785* Tags:: Go directly to any function in your program in one
786 command. Tags remembers which file it is in.
a42dbee1 787* EDE:: An integrated development environment for Emacs.
2d2f6581 788@ifnottex
8cf51b2c 789* Emerge:: A convenient way of merging two versions of a program.
2d2f6581 790@end ifnottex
8cf51b2c 791
1963ba49
CY
792Version Control
793
794* Introduction to VC:: How version control works in general.
795* VC Mode Line:: How the mode line shows version control status.
796* Basic VC Editing:: How to edit a file under version control.
1aaae3f3 797* Log Buffer:: Features available in log entry buffers.
9cff91f8 798* Registering:: Putting a file under version control.
753ad1de 799* Old Revisions:: Examining and comparing old versions.
9cff91f8
CY
800* VC Change Log:: Viewing the VC Change Log.
801* VC Undo:: Canceling changes before or after committing.
d5065cca 802* VC Ignore:: Ignore files under version control system.
753ad1de 803* VC Directory Mode:: Listing files managed by version control.
1963ba49 804* Branches:: Multiple lines of development.
2d2f6581 805@ifnottex
1963ba49
CY
806* Miscellaneous VC:: Various other commands and features of VC.
807* Customizing VC:: Variables that change VC's behavior.
2d2f6581 808@end ifnottex
9cff91f8 809
753ad1de
GM
810Introduction to Version Control
811
812* Why Version Control?:: Understanding the problems it addresses.
813* Version Control Systems:: Supported version control back-end systems.
814* VCS Concepts:: Words and concepts related to version control.
1aaae3f3 815* VCS Merging:: How file conflicts are handled.
a4289d0e 816* VCS Changesets:: How changes are grouped.
1aaae3f3 817* VCS Repositories:: Where version control repositories are stored.
753ad1de
GM
818* Types of Log File:: The VCS log in contrast to the ChangeLog.
819
820Basic Editing under Version Control
821
822* VC With A Merging VCS:: Without locking: default mode for CVS.
823* VC With A Locking VCS:: RCS in its default mode, SCCS, and optionally CVS.
824* Advanced C-x v v:: Advanced features available with a prefix argument.
753ad1de 825
753ad1de
GM
826VC Directory Mode
827
828* VC Directory Buffer:: What the buffer looks like and means.
829* VC Directory Commands:: Commands to use in a VC directory buffer.
830
a4289d0e 831Version Control Branches
753ad1de
GM
832
833* Switching Branches:: How to get to another existing branch.
a4289d0e 834* VC Pull:: Updating the contents of a branch.
753ad1de 835* Merging:: Transferring changes between branches.
2edef1a0 836* Creating Branches:: How to start a new branch.
753ad1de 837
2d2f6581 838@ifnottex
753ad1de
GM
839Miscellaneous Commands and Features of VC
840
841* Change Logs and VC:: Generating a change log file from log entries.
3d992aa0
CY
842* VC Delete/Rename:: Deleting and renaming version-controlled files.
843* Revision Tags:: Symbolic names for revisions.
753ad1de
GM
844* Version Headers:: Inserting version control headers into working files.
845
846Customizing VC
847
848* General VC Options:: Options that apply to multiple back ends.
849* RCS and SCCS:: Options for RCS and SCCS.
850* CVS Options:: Options for CVS.
2d2f6581 851@end ifnottex
753ad1de
GM
852
853Change Logs
854
855* Change Log Commands:: Commands for editing change log files.
856* Format of ChangeLog:: What the change log file looks like.
1963ba49 857
8cf51b2c
GM
858Tags Tables
859
8838673e 860* Tag Syntax:: Tag syntax for various types of code and text files.
a4289d0e 861* Create Tags Table:: Creating a tags table with @command{etags}.
8cf51b2c 862* Etags Regexps:: Create arbitrary tags using regular expressions.
8838673e
GM
863* Select Tags Table:: How to visit a tags table.
864* Find Tag:: Commands to find the definition of a specific tag.
865* Tags Search:: Using a tags table for searching and replacing.
a4289d0e 866* List Tags:: Using tags for completion, and listing them.
8cf51b2c 867
2d2f6581 868@ifnottex
753ad1de
GM
869Merging Files with Emerge
870
8838673e
GM
871* Overview of Emerge:: How to start Emerge. Basic concepts.
872* Submodes of Emerge:: Fast mode vs. Edit mode.
873 Skip Prefers mode and Auto Advance mode.
874* State of Difference:: You do the merge by specifying state A or B
875 for each difference.
876* Merge Commands:: Commands for selecting a difference,
877 changing states of differences, etc.
878* Exiting Emerge:: What to do when you've finished the merge.
879* Combining in Emerge:: How to keep both alternatives for a difference.
753ad1de 880* Fine Points of Emerge:: Miscellaneous issues.
2d2f6581 881@end ifnottex
753ad1de 882
8cf51b2c
GM
883Abbrevs
884
885* Abbrev Concepts:: Fundamentals of defined abbrevs.
886* Defining Abbrevs:: Defining an abbrev, so it will expand when typed.
887* Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
888* Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs.
889* Saving Abbrevs:: Saving the entire list of abbrevs for another session.
890* Dynamic Abbrevs:: Abbreviations for words already in the buffer.
891* Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling.
892
893@ifnottex
894Editing Pictures
895
896* Basic Picture:: Basic concepts and simple commands of Picture Mode.
897* Insert in Picture:: Controlling direction of cursor motion
898 after "self-inserting" characters.
899* Tabs in Picture:: Various features for tab stops and indentation.
900* Rectangles in Picture:: Clearing and superimposing rectangles.
901@end ifnottex
902
8cf51b2c
GM
903Dired, the Directory Editor
904
8838673e 905* Dired Enter:: How to invoke Dired.
753ad1de 906* Dired Navigation:: Special motion commands in the Dired buffer.
8cf51b2c
GM
907* Dired Deletion:: Deleting files with Dired.
908* Flagging Many Files:: Flagging files based on their names.
909* Dired Visiting:: Other file operations through Dired.
8838673e
GM
910* Marks vs Flags:: Flagging for deletion vs marking.
911* Operating on Files:: How to copy, rename, print, compress, etc.
912 either one file or several files.
8cf51b2c
GM
913* Shell Commands in Dired:: Running a shell command on the marked files.
914* Transforming File Names:: Using patterns to rename multiple files.
53eced6d 915* Comparison in Dired:: Running @code{diff} by way of Dired.
8cf51b2c 916* Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
2d2f6581 917@ifnottex
8cf51b2c 918* Subdir Switches:: Subdirectory switches in Dired.
2d2f6581 919@end ifnottex
8838673e 920* Subdirectory Motion:: Moving across subdirectories, and up and down.
8cf51b2c
GM
921* Hiding Subdirectories:: Making subdirectories visible or invisible.
922* Dired Updating:: Discarding lines for files of no interest.
53eced6d 923* Dired and Find:: Using @code{find} to choose the files for Dired.
8cf51b2c 924* Wdired:: Operating on files by editing the Dired buffer.
753ad1de 925* Image-Dired:: Viewing image thumbnails in Dired.
8cf51b2c
GM
926* Misc Dired Features:: Various other features.
927
928The Calendar and the Diary
929
930* Calendar Motion:: Moving through the calendar; selecting a date.
931* Scroll Calendar:: Bringing earlier or later months onto the screen.
932* Counting Days:: How many days are there between two dates?
933* General Calendar:: Exiting or recomputing the calendar.
934* Writing Calendar Files:: Writing calendars to files of various formats.
935* Holidays:: Displaying dates of holidays.
936* Sunrise/Sunset:: Displaying local times of sunrise and sunset.
937* Lunar Phases:: Displaying phases of the moon.
938* Other Calendars:: Converting dates to other calendar systems.
939* Diary:: Displaying events from your diary.
8838673e 940* Appointments:: Reminders when it's time to do something.
8cf51b2c 941* Importing Diary:: Converting diary events to/from other formats.
2d2f6581 942* Daylight Saving:: How to specify when daylight saving time is active.
8cf51b2c 943* Time Intervals:: Keeping track of time intervals.
2d2f6581 944@ifnottex
8cf51b2c 945* Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
2d2f6581 946@end ifnottex
8cf51b2c
GM
947
948Movement in the Calendar
949
950* Calendar Unit Motion:: Moving by days, weeks, months, and years.
951* Move to Beginning or End:: Moving to start/end of weeks, months, and years.
8838673e
GM
952* Specified Dates:: Moving to the current date or another
953 specific date.
8cf51b2c
GM
954
955Conversion To and From Other Calendars
956
8838673e
GM
957* Calendar Systems:: The calendars Emacs understands
958 (aside from Gregorian).
959* To Other Calendar:: Converting the selected date to various calendars.
960* From Other Calendar:: Moving to a date specified in another calendar.
8cf51b2c
GM
961
962The Diary
963
964* Displaying the Diary:: Viewing diary entries and associated calendar dates.
965* Format of Diary File:: Entering events in your diary.
8838673e
GM
966* Date Formats:: Various ways you can specify dates.
967* Adding to Diary:: Commands to create diary entries.
8cf51b2c
GM
968* Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc.
969
2d2f6581 970@ifnottex
4695c850 971More advanced features of the Calendar and Diary
753ad1de
GM
972
973* Calendar Customizing:: Calendar layout and hooks.
974* Holiday Customizing:: Defining your own holidays.
65b36413 975* Mayan Calendar:: Moving to a date specified in a Mayan calendar.
753ad1de
GM
976* Date Display Format:: Changing the format.
977* Time Display Format:: Changing the format.
978* Diary Customizing:: Defaults you can set.
979* Non-Gregorian Diary:: Diary entries based on other calendars.
806642d4
GM
980* Diary Display:: A choice of ways to display the diary.
981* Fancy Diary Display:: Sorting diary entries, using included diary files.
982* Sexp Diary Entries:: More flexible diary entries.
2d2f6581 983@end ifnottex
753ad1de 984
e0b1591b
CY
985Sending Mail
986
a4289d0e 987* Mail Format:: Format of a mail message.
e0b1591b
CY
988* Mail Headers:: Details of some standard mail header fields.
989* Mail Aliases:: Abbreviating and grouping mail addresses.
990* Mail Commands:: Special commands for editing mail being composed.
991* Mail Signature:: Adding a signature to every message.
992* Mail Amusements:: Distracting the NSA; adding fortune messages.
993* Mail Methods:: Using alternative mail-composition methods.
994
995Mail Commands
996
997* Mail Sending:: Commands to send the message.
998* Header Editing:: Commands to move to header fields and edit them.
999* Citing Mail:: Quoting a message you are replying to.
1000* Mail Misc:: Attachments, spell checking, etc.
1001
1002Reading Mail with Rmail
1003
1004* Rmail Basics:: Basic concepts of Rmail, and simple use.
1005* Rmail Scrolling:: Scrolling through a message.
1006* Rmail Motion:: Moving to another message.
1007* Rmail Deletion:: Deleting and expunging messages.
1008* Rmail Inbox:: How mail gets into the Rmail file.
1009* Rmail Files:: Using multiple Rmail files.
1010* Rmail Output:: Copying message out to files.
1011* Rmail Labels:: Classifying messages by labeling them.
1012* Rmail Attributes:: Certain standard labels, called attributes.
1013* Rmail Reply:: Sending replies to messages you are viewing.
1014* Rmail Summary:: Summaries show brief info on many messages.
1015* Rmail Sorting:: Sorting messages in Rmail.
1016* Rmail Display:: How Rmail displays a message; customization.
1017* Rmail Coding:: How Rmail handles decoding character sets.
1018* Rmail Editing:: Editing message text and headers in Rmail.
1019* Rmail Digest:: Extracting the messages from a digest message.
1020* Rmail Rot13:: Reading messages encoded in the rot13 code.
1021* Movemail:: More details of fetching new mail.
1022* Remote Mailboxes:: Retrieving mail from remote mailboxes.
1023* Other Mailbox Formats:: Retrieving mail from local mailboxes in
1024 various formats.
1025
1026Rmail Summaries
1027
2d2f6581
GM
1028* Rmail Make Summary:: Making various sorts of summaries.
1029* Rmail Summary Edit:: Manipulating messages from the summary.
e0b1591b 1030
8cf51b2c
GM
1031Gnus
1032
8838673e
GM
1033* Buffers of Gnus:: The group, summary, and article buffers.
1034* Gnus Startup:: What you should know about starting Gnus.
b8ecfdfe
CY
1035* Gnus Group Buffer:: A short description of Gnus group commands.
1036* Gnus Summary Buffer:: A short description of Gnus summary commands.
8cf51b2c 1037
a4289d0e
GM
1038Document Viewing
1039
1040* DocView Navigation:: Navigating DocView buffers.
1041* DocView Searching:: Searching inside documents.
1042* DocView Slicing:: Specifying which part of a page is displayed.
1043* DocView Conversion:: Influencing and triggering conversion.
1044
8cf51b2c
GM
1045Running Shell Commands from Emacs
1046
8838673e
GM
1047* Single Shell:: How to run one shell command and return.
1048* Interactive Shell:: Permanent shell taking input via Emacs.
1049* Shell Mode:: Special Emacs commands used with permanent shell.
8cf51b2c
GM
1050* Shell Prompts:: Two ways to recognize shell prompts.
1051* Shell History:: Repeating previous commands in a shell buffer.
1052* Directory Tracking:: Keeping track when the subshell changes directory.
1053* Shell Options:: Options for customizing Shell mode.
1054* Terminal emulator:: An Emacs window as a terminal emulator.
1055* Term Mode:: Special Emacs commands used in Term mode.
8838673e 1056* Remote Host:: Connecting to another computer.
37e5d54a 1057* Serial Terminal:: Connecting to a serial port.
8cf51b2c 1058
753ad1de
GM
1059Shell Command History
1060
1061* Shell Ring:: Fetching commands from the history list.
1062* Shell History Copying::Moving to a command and then copying it.
1063* History References:: Expanding @samp{!}-style history references.
1064
8cf51b2c
GM
1065Using Emacs as a Server
1066
e670e599
CY
1067* Invoking emacsclient:: Connecting to the Emacs server.
1068* emacsclient Options:: Emacs client startup options.
8cf51b2c
GM
1069
1070Printing Hard Copies
1071
8838673e 1072* PostScript:: Printing buffers or regions as PostScript.
8cf51b2c
GM
1073* PostScript Variables:: Customizing the PostScript printing commands.
1074* Printing Package:: An optional advanced printing interface.
1075
1076Hyperlinking and Navigation Features
1077
1078* Browse-URL:: Following URLs.
60d8d164 1079* Goto Address mode:: Activating URLs.
8cf51b2c
GM
1080* FFAP:: Finding files etc. at point.
1081
ddb54206
CY
1082Emacs Lisp Packages
1083
1084* Package Menu:: Buffer for viewing and managing packages.
1085* Package Installation:: Options for package installation.
1086* Package Files:: Where packages are installed.
1087
8cf51b2c
GM
1088Customization
1089
753ad1de 1090* Easy Customization:: Convenient way to browse and change settings.
8838673e
GM
1091* Variables:: Many Emacs commands examine Emacs variables
1092 to decide what to do; by setting variables,
1093 you can control their functioning.
a4289d0e 1094* Key Bindings:: The keymaps say what command each key runs.
f584ca38 1095 By changing them, you can "redefine" keys.
8838673e 1096* Init File:: How to write common customizations in the
a4289d0e 1097 initialization file.
8cf51b2c 1098
753ad1de
GM
1099Easy Customization Interface
1100
b0d7d8af 1101* Customization Groups:: How settings are classified.
753ad1de
GM
1102* Browsing Custom:: Browsing and searching for settings.
1103* Changing a Variable:: How to edit an option's value and set the option.
b0d7d8af 1104* Saving Customizations:: Saving customizations for future Emacs sessions.
753ad1de 1105* Face Customization:: How to edit the attributes of a face.
b0d7d8af
CY
1106* Specific Customization:: Customizing specific settings or groups.
1107* Custom Themes:: Collections of customization settings.
1108* Creating Custom Themes:: How to create a new custom theme.
753ad1de 1109
8cf51b2c
GM
1110Variables
1111
8838673e
GM
1112* Examining:: Examining or setting one variable's value.
1113* Hooks:: Hook variables let you specify programs for parts
1114 of Emacs to run on particular occasions.
1115* Locals:: Per-buffer values of variables.
8cf51b2c 1116* File Variables:: How files can specify variable values.
753ad1de
GM
1117* Directory Variables:: How variable values can be specified by directory.
1118
1119Local Variables in Files
1120
1121* Specifying File Variables:: Specifying file local variables.
1122* Safe File Variables:: Making sure file local variables are safe.
8cf51b2c
GM
1123
1124Customizing Key Bindings
1125
1126* Keymaps:: Generalities. The global keymap.
1127* Prefix Keymaps:: Keymaps for prefix keys.
1128* Local Keymaps:: Major and minor modes have their own keymaps.
1129* Minibuffer Maps:: The minibuffer uses its own local keymaps.
1130* Rebinding:: How to redefine one key's meaning conveniently.
a4289d0e 1131* Init Rebinding:: Rebinding keys with your initialization file.
f049d162 1132* Modifier Keys:: Using modifier keys in key bindings.
8cf51b2c
GM
1133* Function Keys:: Rebinding terminal function keys.
1134* Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on.
1135* Mouse Buttons:: Rebinding mouse buttons in Emacs.
1136* Disabling:: Disabling a command means confirmation is required
1137 before it can be executed. This is done to protect
1138 beginners from surprises.
1139
a4289d0e 1140The Emacs Initialization File
8cf51b2c 1141
8838673e 1142* Init Syntax:: Syntax of constants in Emacs Lisp.
8cf51b2c
GM
1143* Init Examples:: How to do some things with an init file.
1144* Terminal Init:: Each terminal type can have an init file.
8838673e 1145* Find Init:: How Emacs finds the init file.
8cf51b2c
GM
1146* Init Non-ASCII:: Using non-@acronym{ASCII} characters in an init file.
1147
1148Dealing with Emacs Trouble
1149
1150* DEL Does Not Delete:: What to do if @key{DEL} doesn't delete.
1151* Stuck Recursive:: `[...]' in mode line around the parentheses.
1152* Screen Garbled:: Garbage on the screen.
1153* Text Garbled:: Garbage in the text.
1154* Memory Full:: How to cope when you run out of memory.
cf29dd84 1155* Crashing:: What Emacs does when it crashes.
8cf51b2c 1156* After a Crash:: Recovering editing in an Emacs session that crashed.
c61ab18c 1157* Emergency Escape:: What to do if Emacs stops responding.
8cf51b2c
GM
1158
1159Reporting Bugs
1160
63e1eaa1 1161* Known Problems:: How to read about known problems and bugs.
8cf51b2c 1162* Bug Criteria:: Have you really found a bug?
8838673e
GM
1163* Understanding Bug Reporting:: How to report a bug effectively.
1164* Checklist:: Steps to follow for a good bug report.
1165* Sending Patches:: How to send a patch for GNU Emacs.
8cf51b2c
GM
1166
1167Command Line Arguments for Emacs Invocation
1168
8838673e
GM
1169* Action Arguments:: Arguments to visit files, load libraries,
1170 and call functions.
8cf51b2c
GM
1171* Initial Options:: Arguments that take effect while starting Emacs.
1172* Command Example:: Examples of using command line arguments.
8cf51b2c
GM
1173* Environment:: Environment variables that Emacs uses.
1174* Display X:: Changing the default display and using remote login.
8838673e 1175* Font X:: Choosing a font for text, under X.
8863a584 1176* Colors X:: Choosing display colors.
8cf51b2c 1177* Window Size X:: Start-up window size, under X.
8838673e 1178* Borders X:: Internal and external borders, under X.
8cf51b2c
GM
1179* Title X:: Specifying the initial frame's title.
1180* Icons X:: Choosing what sort of icon to use, under X.
1181* Misc X:: Other display options.
1182
1183Environment Variables
1184
8838673e
GM
1185* General Variables:: Environment variables that all versions of Emacs use.
1186* Misc Variables:: Certain system-specific variables.
8cf51b2c
GM
1187* MS-Windows Registry:: An alternative to the environment on MS-Windows.
1188
1189X Options and Resources
1190
1191* Resources:: Using X resources with Emacs (in general).
1192* Table of Resources:: Table of specific X resources that affect Emacs.
8cf51b2c 1193* Lucid Resources:: X resources for Lucid menus.
5d85cfe6 1194* Motif Resources:: X resources for Motif and LessTif menus.
8cf51b2c
GM
1195* GTK resources:: Resources for GTK widgets.
1196
753ad1de
GM
1197GTK resources
1198
06848b82
CY
1199* GTK Resource Basics:: Basic usage of GTK+ resources.
1200* GTK Widget Names:: How GTK+ widgets are named.
a4289d0e 1201* GTK Names in Emacs:: GTK widgets used by Emacs.
753ad1de
GM
1202* GTK styles:: What can be customized in a GTK widget.
1203
e93bc142 1204Emacs and Mac OS / GNUstep
8cf51b2c 1205
753ad1de
GM
1206* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS.
1207* Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS.
1208* Mac / GNUstep Events:: How window system events are handled.
1209* GNUstep Support:: Details on status of GNUstep support.
8cf51b2c
GM
1210
1211Emacs and Microsoft Windows/MS-DOS
1212
62d72a4a 1213* Windows Startup:: How to start Emacs on Windows.
8cf51b2c
GM
1214* Text and Binary:: Text files use CRLF to terminate lines.
1215* Windows Files:: File-name conventions on Windows.
1216* ls in Lisp:: Emulation of @code{ls} for Dired.
a4289d0e
GM
1217* Windows HOME:: Where Emacs looks for your @file{.emacs} and
1218 where it starts up.
8cf51b2c
GM
1219* Windows Keyboard:: Windows-specific keyboard features.
1220* Windows Mouse:: Windows-specific mouse features.
1221* Windows Processes:: Running subprocesses on Windows.
1222* Windows Printing:: How to specify the printer on MS-Windows.
753ad1de 1223* Windows Fonts:: Specifying fonts on MS-Windows.
8cf51b2c 1224* Windows Misc:: Miscellaneous Windows features.
2d2f6581
GM
1225@ifnottex
1226* MS-DOS:: Using Emacs on MS-DOS.
753ad1de
GM
1227
1228Emacs and MS-DOS
1229
1230* MS-DOS Keyboard:: Keyboard conventions on MS-DOS.
1231* MS-DOS Mouse:: Mouse conventions on MS-DOS.
1232* MS-DOS Display:: Fonts, frames and display size on MS-DOS.
1233* MS-DOS File Names:: File name conventions on MS-DOS.
1234* MS-DOS Printing:: Printing specifics on MS-DOS.
1235* MS-DOS and MULE:: Support for internationalization on MS-DOS.
1236* MS-DOS Processes:: Running subprocesses on MS-DOS.
2d2f6581 1237@end ifnottex
753ad1de 1238
8cf51b2c
GM
1239@end detailmenu
1240@end menu
1241
1242@iftex
1243@unnumbered Preface
1244
1245 This manual documents the use and simple customization of the Emacs
1246editor. Simple Emacs customizations do not require you to be a
1247programmer, but if you are not interested in customizing, you can
1248ignore the customization hints.
1249
1250 This is primarily a reference manual, but can also be used as a
1251primer. If you are new to Emacs, we recommend you start with
753ad1de 1252the integrated, learn-by-doing tutorial, before reading the manual. To
8cf51b2c
GM
1253run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
1254describes commands, tells you when to try them, and explains the
2d2f6581 1255results. The tutorial is available in several languages.
8cf51b2c
GM
1256
1257 On first reading, just skim chapters 1 and 2, which describe the
1258notational conventions of the manual and the general appearance of the
1259Emacs display screen. Note which questions are answered in these
1260chapters, so you can refer back later. After reading chapter 4, you
1261should practice the commands shown there. The next few chapters
1262describe fundamental techniques and concepts that are used constantly.
1263You need to understand them thoroughly, so experiment with them
1264until you are fluent.
1265
1266 Chapters 14 through 19 describe intermediate-level features that are
1267useful for many kinds of editing. Chapter 20 and following chapters
1268describe optional but useful features; read those chapters when you
1269need them.
1270
753ad1de
GM
1271 Read the Common Problems chapter if Emacs does not seem to be
1272working properly. It explains how to cope with several common
2d2f6581
GM
1273problems (@pxref{Lossage,, Dealing with Emacs Trouble}), as well as
1274when and how to report Emacs bugs (@pxref{Bugs}).
8cf51b2c
GM
1275
1276 To find the documentation of a particular command, look in the index.
1277Keys (character commands) and command names have separate indexes.
1278There is also a glossary, with a cross reference for each term.
1279
1280 This manual is available as a printed book and also as an Info file.
2d2f6581
GM
1281The Info file is for reading from Emacs itself, or with the Info program.
1282Info is the principal format for documentation in the GNU system.
1283The Info file and the printed book contain substantially the same text
1284and are generated from the same source files, which are also
1285distributed with GNU Emacs.
8cf51b2c
GM
1286
1287 GNU Emacs is a member of the Emacs editor family. There are many
1288Emacs editors, all sharing common principles of organization. For
1289information on the underlying philosophy of Emacs and the lessons
1290learned from its development, see @cite{Emacs, the Extensible,
1291Customizable Self-Documenting Display Editor}, available from
1292@url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}.
1293
2d2f6581 1294This version of the manual is mainly intended for use with GNU Emacs
7c2fb837 1295installed on GNU and Unix systems. GNU Emacs can also be used on
2d2f6581
GM
1296MS-DOS, Microsoft Windows, and Macintosh systems. The Info file
1297version of this manual contains some more information about using
1298Emacs on those systems. Those systems use different file name syntax;
1299in addition MS-DOS does not support all GNU Emacs features.
1300@xref{Microsoft Windows}, for information about using Emacs on
1301Windows. @xref{Mac OS / GNUstep}, for information about using Emacs
1302on Macintosh (and GNUstep).
8cf51b2c
GM
1303@end iftex
1304
abb9615e 1305@node Distrib
8cf51b2c
GM
1306@unnumbered Distribution
1307
1308GNU Emacs is @dfn{free software}; this means that everyone is free to
ae15b89b 1309use it and free to redistribute it under certain conditions. GNU Emacs
8cf51b2c
GM
1310is not in the public domain; it is copyrighted and there are
1311restrictions on its distribution, but these restrictions are designed
1312to permit everything that a good cooperating citizen would want to do.
1313What is not allowed is to try to prevent others from further sharing
1314any version of GNU Emacs that they might get from you. The precise
1315conditions are found in the GNU General Public License that comes with
1316Emacs and also appears in this manual@footnote{This manual is itself
ae15b89b
GM
1317covered by the GNU Free Documentation License. This license is
1318similar in spirit to the General Public License, but is more suitable
1319for documentation. @xref{GNU Free Documentation License}.}.
1320@xref{Copying}.
8cf51b2c
GM
1321
1322One way to get a copy of GNU Emacs is from someone else who has it.
1323You need not ask for our permission to do so, or tell any one else;
1324just copy it. If you have access to the Internet, you can get the
1325latest distribution version of GNU Emacs by anonymous FTP; see
1326@url{http://www.gnu.org/software/emacs} on our website for more
1327information.
1328
1329You may also receive GNU Emacs when you buy a computer. Computer
1330manufacturers are free to distribute copies on the same terms that apply to
1331everyone else. These terms require them to give you the full sources,
1332including whatever changes they may have made, and to permit you to
1333redistribute the GNU Emacs received from them under the usual terms of the
1334General Public License. In other words, the program must be free for you
1335when you get it, not just free for the manufacturer.
1336
ae15b89b
GM
1337If you find GNU Emacs useful, please @strong{send a donation} to the
1338Free Software Foundation to support our work. Donations to the Free
1df7defd 1339Software Foundation are tax deductible in the US@. If you use GNU Emacs
cf29dd84 1340at your workplace, please suggest that the company make a donation.
458dbf5e
GM
1341To donate, see @url{https://my.fsf.org/donate/}.
1342For other ways in which you can help, see
ae15b89b
GM
1343@url{http://www.gnu.org/help/help.html}.
1344
458dbf5e
GM
1345@c The command view-order-manuals uses this anchor.
1346@anchor{Printed Books}
ae15b89b 1347We also sell hardcopy versions of this manual and @cite{An
1df7defd 1348Introduction to Programming in Emacs Lisp}, by Robert J. Chassell.
ae15b89b
GM
1349You can visit our online store at @url{http://shop.fsf.org/}.
1350The income from sales goes to support the foundation's purpose: the
1351development of new free software, and improvements to our existing
1352programs including GNU Emacs.
1353
1354If you need to contact the Free Software Foundation, see
1355@url{http://www.fsf.org/about/contact/}, or write to
8cf51b2c
GM
1356
1357@display
1358Free Software Foundation
135951 Franklin Street, Fifth Floor
1360Boston, MA 02110-1301
1361USA
1362@end display
1363
8cf51b2c 1364@iftex
abb9615e 1365@node Acknowledgments
8cf51b2c
GM
1366@unnumberedsec Acknowledgments
1367
da8de290
GM
1368@c It's hard to update this fairly.
1369@c I wonder if it would be better to drop it in favor of AUTHORS?
8cf51b2c 1370Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas
1df7defd 1371Abrahamsson, Jay K. Adams, Alon Albert, Michael Albinus, Nagy
681ebc33 1372Andras, Benjamin Andresen, Ralf Angeli, Dmitry Antipov, Joe Arceneaux, Emil Åström,
80c3c4b9 1373Miles Bader, David Bakhash, Juanma Barranquero, Eli Barzilay, Thomas
1df7defd 1374Baumann, Steven L. Baur, Jay Belanger, Alexander L. Belikoff,
da8de290 1375Thomas Bellman, Scott Bender, Boaz Ben-Zvi, Sergey Berezin, Stephen Berman, Karl
1df7defd 1376Berry, Anna M. Bigatti, Ray Blaak, Martin Blais, Jim Blandy, Johan
681ebc33 1377Bockgård, Jan Böcker, Joel Boehland, Lennart Borgman, Per Bothner,
80c3c4b9 1378Terrence Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin
1df7defd 1379Broadey, Vincent Broman, Michael Brouwer, David M. Brown, Stefan Bruda,
5294599f 1380Georges Brun-Cottan, Joe Buehler, Scott Byer, Włodek Bzyl,
132b9726
GM
1381Bill Carpenter, Per Cederqvist, Hans Chalupsky, Chris Chase, Bob
1382Chassell, Andrew Choi, Chong Yidong, Sacha Chua, Stewart Clamen, James
80c3c4b9 1383Clark, Mike Clarkson, Glynn Clements, Andrew Cohen, Daniel Colascione,
14a58169 1384Christoph Conrad, Ludovic Courtès, Andrew Csillag,
132b9726
GM
1385Toby Cubitt, Baoqiu Cui, Doug Cutting, Mathias Dahl, Julien Danjou, Satyaki
1386Das, Vivek Dasmohapatra, Dan Davison, Michael DeCorte, Gary Delp, Nachum
80c3c4b9 1387Dershowitz, Dave Detlefs, Matthieu Devin, Christophe de Dinechin, Eri
681ebc33 1388Ding, Jan Djärv, Lawrence R. Dodd, Carsten Dominik, Scott Draves,
80c3c4b9
GM
1389Benjamin Drieu, Viktor Dukhovni, Jacques Duthen, Dmitry Dzhus, John
1390Eaton, Rolf Ebert, Carl Edman, David Edmondson, Paul Eggert, Stephen
681ebc33 1391Eglen, Christian Egli, Torbjörn Einarsson, Tsugutomo Enami, David
80c3c4b9
GM
1392Engster, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, Frederick
1393Farnbach, Oscar Figueiredo, Fred Fish, Steve Fisk, Karl Fogel, Gary
1df7defd 1394Foster, Eric S. Fraga, Romain Francoise, Noah Friedman, Andreas
da8de290 1395Fuchs, Shigeru Fukaya, Xue Fuqiao, Hallvard Furuseth, Keith Gabryelski, Peter S.
681ebc33 1396Galbraith, Kevin Gallagher, Fabián E. Gallina, Kevin Gallo, Juan León Lahoz García,
80c3c4b9 1397Howard Gayle, Daniel German, Stephen Gildea, Julien Gilles, David
132b9726
GM
1398Gillespie, Bob Glickstein, Deepak Goel, David De La Harpe Golden, Boris
1399Goldowsky, David Goodger, Chris Gray, Kevin Greiner, Michelangelo Grigni, Odd
681ebc33 1400Gripenstam, Kai Großjohann, Michael Gschwind, Bastien Guerry, Henry
da8de290 1401Guillaume, Dmitry Gutov, Doug Gwyn, Bruno Haible, Ken'ichi Handa, Lars Hansen, Chris
1df7defd
PE
1402Hanson, Jesper Harder, Alexandru Harsanyi, K. Shane Hartman, John
1403Heidemann, Jon K. Hellan, Magnus Henoch, Markus Heritsch, Dirk
80c3c4b9 1404Herrmann, Karl Heuer, Manabu Higashida, Konrad Hinsen, Anders Holst,
1df7defd 1405Jeffrey C. Honig, Tassilo Horn, Kurt Hornik, Tom Houlder, Joakim
80c3c4b9
GM
1406Hove, Denis Howe, Lars Ingebrigtsen, Andrew Innes, Seiichiro Inoue,
1407Philip Jackson, Martyn Jago, Pavel Janik, Paul Jarc, Ulf Jasper,
1df7defd 1408Thorsten Jolitz, Michael K. Johnson, Kyle Jones, Terry Jones, Simon
681ebc33 1409Josefsson, Alexandre Julliard, Arne Jørgensen, Tomoji Kagatani,
6ad823e7
GM
1410Brewster Kahle, Tokuya Kameshima, Lute Kamstra, Ivan Kanis, David
1411Kastrup, David Kaufman, Henry Kautz, Taichi Kawabata, Taro Kawagishi,
1412Howard Kaye, Michael Kifer, Richard King, Peter Kleiweg, Karel
5294599f 1413Klíč, Shuhei Kobayashi, Pavel Kobyakov, Larry K. Kolodney, David
1df7defd 1414M. Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian Kremer,
681ebc33 1415Ryszard Kubiak, Igor Kuzmin, David Kågedal, Daniel LaLiberte, Karl
1df7defd 1416Landstrom, Mario Lang, Aaron Larson, James R. Larus, Vinicius Jose
6ad823e7
GM
1417Latorre, Werner Lemberg, Frederic Lepied, Peter Liljenberg, Christian
1418Limpach, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link,
da8de290 1419Juri Linkov, Francis Litterio, Sergey Litvinov, Leo Liu, Emilio C. Lopes,
5294599f 1420Martin Lorentzon, Dave Love, Eric Ludlam, Károly Lőrentey, Sascha
681ebc33 1421Lüdecke, Greg McGary, Roland McGrath, Michael McNamara, Alan Mackenzie,
1df7defd 1422Christopher J. Madsen, Neil M. Mager, Ken Manheimer, Bill Mann,
80c3c4b9 1423Brian Marick, Simon Marshall, Bengt Martensson, Charlie Martin,
ef7238c3 1424Yukihiro Matsumoto, Tomohiro Matsuyama, David Maus, Thomas May, Will Mengarini, David
1df7defd 1425Megginson, Stefan Merten, Ben A. Mesander, Wayne Mesard, Brad
da8de290 1426Miller, Lawrence Mitchell, Richard Mlynarik, Gerd Möllmann, Dani Moncayo, Stefan
132b9726
GM
1427Monnier, Keith Moore, Jan Moringen, Morioka Tomohiko, Glenn Morris,
1428Don Morrison, Diane Murray, Riccardo Murri, Sen Nagata, Erik Naggum,
1429Gergely Nagy, Nobuyoshi Nakada, Thomas Neumann, Mike Newton, Thien-Thi Nguyen,
8c106d17 1430Jurgen Nickelsen, Dan Nicolaescu, Hrvoje Nikšić, Jeff Norden,
14a58169 1431Andrew Norman, Edward O'Connor, Kentaro Ohkouchi, Christian Ohler,
80c3c4b9 1432Kenichi Okada, Alexandre Oliva, Bob Olson, Michael Olson, Takaaki Ota,
1df7defd
PE
1433Pieter E. J. Pareit, Ross Patterson, David Pearson, Juan Pechiar,
1434Jeff Peck, Damon Anton Permezel, Tom Perrine, William M. Perry, Per
1435Persson, Jens Petersen, Daniel Pfeiffer, Justus Piater, Richard L.
681ebc33 1436Pieri, Fred Pierresteguy, François Pinard, Daniel Pittman, Christian
8c106d17 1437Plaunt, Alexander Pohoyda, David Ponce, Francesco A. Potortì,
1df7defd
PE
1438Michael D. Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin
1439Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold, David
80c3c4b9 1440Reitter, Alex Rezinsky, Rob Riepel, Lara Rios, Adrian Robert, Nick
1df7defd 1441Roberts, Roland B. Roberts, John Robinson, Denis B. Roegel, Danny
80c3c4b9 1442Roozendaal, Sebastian Rose, William Rosenblatt, Markus Rost, Guillermo
1df7defd
PE
1443J. Rozas, Martin Rudalics, Ivar Rummelhoff, Jason Rumney, Wolfgang
1444Rupprecht, Benjamin Rutt, Kevin Ryde, James B. Salem, Masahiko Sato,
8c106d17 1445Timo Savola, Jorgen Schäfer, Holger Schauer, William Schelter, Ralph
1df7defd 1446Schleicher, Gregor Schmid, Michael Schmidt, Ronald S. Schnell,
132b9726 1447Philippe Schnoebelen, Jan Schormann, Alex Schroeder, Stefan Schoef,
8c106d17 1448Rainer Schöpf, Raymond Scholz, Eric Schulte, Andreas Schwab, Randal
80c3c4b9
GM
1449Schwartz, Oliver Seidel, Manuel Serrano, Paul Sexton, Hovav Shacham,
1450Stanislav Shalunov, Marc Shapiro, Richard Sharman, Olin Shivers, Tibor
5294599f 1451Šimko, Espen Skoglund, Rick Sladkey, Lynn Slater, Chris Smith,
1df7defd 1452David Smith, Paul D. Smith, Wilson Snyder, William Sommerfeld, Simon
80c3c4b9
GM
1453South, Andre Spiegel, Michael Staats, Thomas Steffen, Ulf Stegemann,
1454Reiner Steib, Sam Steingold, Ake Stenhoff, Peter Stephenson, Ken
1df7defd 1455Stevens, Andy Stewart, Jonathan Stigelman, Martin Stjernholm, Kim F.
80c3c4b9 1456Storm, Steve Strassmann, Christopher Suckling, Olaf Sylvester, Naoto
da8de290 1457Takahashi, Steven Tamm, Jan Tatarik, Luc Teirlinck, Jean-Philippe Theberge, Jens
1df7defd 1458T. Berger Thielemann, Spencer Thomas, Jim Thompson, Toru Tomabechi,
80c3c4b9
GM
1459David O'Toole, Markus Triska, Tom Tromey, Enami Tsugutomo, Eli
1460Tziperman, Daiki Ueno, Masanobu Umeda, Rajesh Vaidheeswarran, Neil
1df7defd 1461W. Van Dyke, Didier Verna, Joakim Verona, Ulrik Vieth, Geoffrey
6ad823e7 1462Voelker, Johan Vromans, Inge Wallin, John Paul Wallington, Colin
80c3c4b9
GM
1463Walters, Barry Warsaw, Christoph Wedler, Ilja Weis, Zhang Weize,
1464Morten Welinder, Joseph Brian Wells, Rodney Whitby, John Wiegley,
1465Sascha Wilde, Ed Wilkinson, Mike Williams, Roland Winkler, Bill
1df7defd
PE
1466Wohler, Steven A. Wood, Dale R. Worley, Francis J. Wright, Felix
1467S. T. Wu, Tom Wurgler, Yamamoto Mitsuharu, Katsumi Yamaoka,
80c3c4b9
GM
1468Masatake Yamato, Jonathan Yavner, Ryan Yeske, Ilya Zakharevich, Milan
1469Zamazal, Victor Zandy, Eli Zaretskii, Jamie Zawinski, Andrew Zhilin,
8c106d17 1470Shenghuo Zhu, Piotr Zieliński, Ian T. Zimmermann, Reto Zimmermann,
80c3c4b9 1471Neal Ziring, Teodor Zlatanov, and Detlev Zundel.
8cf51b2c
GM
1472@end iftex
1473
abb9615e 1474@node Intro
8cf51b2c
GM
1475@unnumbered Introduction
1476
1477 You are reading about GNU Emacs, the GNU incarnation of the
1478advanced, self-documenting, customizable, extensible editor Emacs.
6232855d 1479(The @samp{G} in @acronym{GNU, @acronym{GNU}'s Not Unix} is not silent.)
8cf51b2c 1480
332b5b9a
CY
1481 We call Emacs @dfn{advanced} because it can do much more than simple
1482insertion and deletion of text. It can control subprocesses, indent
753ad1de 1483programs automatically, show multiple files at once, and more.
332b5b9a
CY
1484Emacs editing commands operate in terms of characters, words, lines,
1485sentences, paragraphs, and pages, as well as expressions and comments
1486in various programming languages.
1487
1488 @dfn{Self-documenting} means that at any time you can use special
1489commands, known as @dfn{help commands}, to find out what your options
867d4bb3 1490are, or to find out what any command does, or to find all the
332b5b9a
CY
1491commands that pertain to a given topic. @xref{Help}.
1492
1493 @dfn{Customizable} means that you can easily alter the behavior of
1494Emacs commands in simple ways. For instance, if you use a programming
1495language in which comments start with @samp{<**} and end with
1496@samp{**>}, you can tell the Emacs comment manipulation commands to
1497use those strings (@pxref{Comments}). To take another example, you
1498can rebind the basic cursor motion commands (up, down, left and right)
1499to any keys on the keyboard that you find comfortable.
1500@xref{Customization}.
8cf51b2c
GM
1501
1502 @dfn{Extensible} means that you can go beyond simple customization
332b5b9a
CY
1503and create entirely new commands. New commands are simply programs
1504written in the Lisp language, which are run by Emacs's own Lisp
1505interpreter. Existing commands can even be redefined in the middle of
1506an editing session, without having to restart Emacs. Most of the
1507editing commands in Emacs are written in Lisp; the few exceptions
8cf51b2c
GM
1508could have been written in Lisp but use C instead for efficiency.
1509Writing an extension is programming, but non-programmers can use it
1510afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1511Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1512Lisp programming.
1513
8cf51b2c
GM
1514@include screen.texi
1515@include commands.texi
1516@include entering.texi
1517@include basic.texi
1518@include mini.texi
1519@include m-x.texi
1520@include help.texi
1521@include mark.texi
1522@include killing.texi
1523@include regs.texi
1524@include display.texi
1525@include search.texi
1526@include fixit.texi
1527@include kmacro.texi
753ad1de 1528@c Includes arevert-xtra.
8cf51b2c
GM
1529@include files.texi
1530@include buffers.texi
1531@include windows.texi
1532@include frames.texi
1533@include mule.texi
8875da1e 1534@include modes.texi
8cf51b2c
GM
1535@include indent.texi
1536@include text.texi
753ad1de 1537@c Includes fortran-xtra.
8cf51b2c
GM
1538@include programs.texi
1539@include building.texi
753ad1de 1540@c Includes vc1-xtra, emerge-xtra.
8cf51b2c
GM
1541@include maintaining.texi
1542@include abbrevs.texi
753ad1de 1543@c Includes dired-xtra.
8cf51b2c 1544@include dired.texi
753ad1de 1545@c Includes cal-xtra.
8cf51b2c 1546@include calendar.texi
856ce114
CY
1547@include sending.texi
1548@include rmail.texi
1549@c Includes picture-xtra.texi
8cf51b2c 1550@include misc.texi
d43f5a42 1551@include package.texi
8cf51b2c
GM
1552@include custom.texi
1553@include trouble.texi
1554
abb9615e 1555@node Copying
8cf51b2c
GM
1556@appendix GNU GENERAL PUBLIC LICENSE
1557@include gpl.texi
1558
abb9615e 1559@node GNU Free Documentation License
8cf51b2c
GM
1560@appendix GNU Free Documentation License
1561@include doclicense.texi
1562
1563@include cmdargs.texi
1564@include xresources.texi
1565
1566@include anti.texi
1567@include macos.texi
753ad1de 1568@c Includes msdog-xtra.
8cf51b2c
GM
1569@include msdog.texi
1570@include gnu.texi
1571@include glossary.texi
1572@ifnottex
1573@include ack.texi
1574@end ifnottex
1575
1576@c The Option Index is produced only in the on-line version,
1577@c because the index entries related to command-line options
1578@c tend to point to the same pages and all begin with a dash.
8cf51b2c 1579
abb9615e 1580@node Key Index
8cf51b2c
GM
1581@unnumbered Key (Character) Index
1582@printindex ky
8cf51b2c
GM
1583
1584@ifnottex
abb9615e 1585@node Option Index
8cf51b2c
GM
1586@unnumbered Command-Line Options Index
1587@printindex op
8cf51b2c
GM
1588@end ifnottex
1589
abb9615e 1590@node Command Index
8cf51b2c
GM
1591@unnumbered Command and Function Index
1592@printindex fn
8cf51b2c 1593
abb9615e 1594@node Variable Index
8cf51b2c
GM
1595@unnumbered Variable Index
1596@printindex vr
1597
abb9615e 1598@node Concept Index
8cf51b2c
GM
1599@unnumbered Concept Index
1600@printindex cp
1601
1602@bye