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