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