Mercurial > emacs
annotate man/emacs.texi @ 55984:6d619a8bd0ba
(widget-specify-button): Use hand pointer rather
than mouse-face as visible mouse-over effect.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 08 Jun 2004 09:54:59 +0000 |
parents | 41c33773289f |
children | d03630e16704 4c90ffeb71c5 |
rev | line source |
---|---|
24093 | 1 \input texinfo |
2 | |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
3 @setfilename ../info/emacs |
24093 | 4 @settitle GNU Emacs Manual |
5 | |
35942
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
6 @c The edition number appears in several places in this file |
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
7 @set EDITION Fourteenth |
45510
418a8a558d4d
Bump the Emacs version to 21.3.50.
Eli Zaretskii <eliz@gnu.org>
parents:
44812
diff
changeset
|
8 @set EMACSVER 21.3.50 |
35942
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
9 |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
10 @copying |
35942
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
11 This is the @value{EDITION} edition of the @cite{GNU Emacs Manual}, |
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
12 updated for Emacs version @value{EMACSVER}. |
24093 | 13 |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
14 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, |
55626 | 15 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. |
24093 | 16 |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
17 @quotation |
31309
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
18 Permission is granted to copy, distribute and/or modify this document |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
19 under the terms of the GNU Free Documentation License, Version 1.1 or |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
20 any later version published by the Free Software Foundation; with the |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
21 Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
22 ``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU |
36153
87a2cea44a9c
Fix punctuation in license notices.
Richard M. Stallman <rms@gnu.org>
parents:
36104
diff
changeset
|
23 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the |
31309
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
24 license is included in the section entitled ``GNU Free Documentation |
36153
87a2cea44a9c
Fix punctuation in license notices.
Richard M. Stallman <rms@gnu.org>
parents:
36104
diff
changeset
|
25 License.'' |
31309
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
26 |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
27 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
28 this GNU Manual, like GNU software. Copies published by the Free |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
29 Software Foundation raise funds for GNU development.'' |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
30 @end quotation |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
31 @end copying |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
32 |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
33 @dircategory Emacs |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
34 @direntry |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
35 * Emacs: (emacs). The extensible self-documenting text editor. |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
36 @end direntry |
24093 | 37 |
38 @c in general, keep the following line commented out, unless doing a | |
39 @c copy of this manual that will be published. the manual should go | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
40 @c onto the distribution in the full, 8.5 x 11" size. |
24093 | 41 |
39626
456e8149059d
Comment out @smallbook.
Richard M. Stallman <rms@gnu.org>
parents:
39438
diff
changeset
|
42 @c @smallbook |
24093 | 43 |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
44 @setchapternewpage odd |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
45 @defcodeindex op |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
46 @synindex pg cp |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
47 |
24093 | 48 @iftex |
49 @kbdinputstyle code | |
50 | |
51 @shorttitlepage GNU Emacs Manual | |
52 @end iftex | |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
53 |
24093 | 54 @titlepage |
55 @sp 6 | |
56 @center @titlefont{GNU Emacs Manual} | |
57 @sp 4 | |
35942
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
58 @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}. |
24093 | 59 @sp 5 |
60 @center Richard Stallman | |
61 @page | |
62 @vskip 0pt plus 1filll | |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
63 @insertcopying |
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
64 |
24093 | 65 @sp 2 |
47737
0a70200bde27
use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents:
46918
diff
changeset
|
66 ISBN 1-882114-06-X @* |
24093 | 67 Published by the Free Software Foundation @* |
68 59 Temple Place, Suite 330 @* | |
69 Boston, MA 02111-1307 USA | |
70 | |
71 @sp 2 | |
72 Cover art by Etienne Suvasa. | |
73 | |
74 @end titlepage | |
75 @page | |
30870 | 76 @ifnottex |
24093 | 77 @node Top, Distrib, (dir), (dir) |
78 @top The Emacs Editor | |
79 | |
80 Emacs is the extensible, customizable, self-documenting real-time | |
81 display editor. This Info file describes how to edit with Emacs and | |
35942
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
82 some of how to customize it; it corresponds to GNU Emacs version |
d302cde082a0
Use @set and @value to avoid changing the edition and the Emacs version
Eli Zaretskii <eliz@gnu.org>
parents:
35745
diff
changeset
|
83 @value{EMACSVER}. |
44812
6cc0614312ce
(Top): Add instructions for getting Info novice help.
Eli Zaretskii <eliz@gnu.org>
parents:
43015
diff
changeset
|
84 |
6cc0614312ce
(Top): Add instructions for getting Info novice help.
Eli Zaretskii <eliz@gnu.org>
parents:
43015
diff
changeset
|
85 @ifinfo |
6cc0614312ce
(Top): Add instructions for getting Info novice help.
Eli Zaretskii <eliz@gnu.org>
parents:
43015
diff
changeset
|
86 If you never before used the Info documentation system, type @kbd{h}, |
48531
962cd8bcdb21
Remove duplicate reference to Info tutorial.
Richard M. Stallman <rms@gnu.org>
parents:
47737
diff
changeset
|
87 and Emacs will take you to a programmed instruction sequence for the |
962cd8bcdb21
Remove duplicate reference to Info tutorial.
Richard M. Stallman <rms@gnu.org>
parents:
47737
diff
changeset
|
88 Info commands. |
44812
6cc0614312ce
(Top): Add instructions for getting Info novice help.
Eli Zaretskii <eliz@gnu.org>
parents:
43015
diff
changeset
|
89 @end ifinfo |
6cc0614312ce
(Top): Add instructions for getting Info novice help.
Eli Zaretskii <eliz@gnu.org>
parents:
43015
diff
changeset
|
90 |
41864
16dc446b245f
Don't omit first argument of @ref.
Andreas Schwab <schwab@suse.de>
parents:
41370
diff
changeset
|
91 For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The |
24093 | 92 Emacs Lisp Reference Manual}. |
30870 | 93 @end ifnottex |
24093 | 94 |
95 @ignore | |
96 These subcategories have been deleted for simplicity | |
97 and to avoid conflicts. | |
98 Completion | |
99 Backup Files | |
100 Auto-Saving: Protection Against Disasters | |
101 Snapshots | |
102 Text Mode | |
103 Outline Mode | |
104 @TeX{} Mode | |
105 Formatted Text | |
106 Fortran Mode | |
107 Fortran Indentation | |
108 Shell Command History | |
109 | |
110 The ones for Dired and Rmail have had the items turned into :: items | |
111 to avoid conflicts. | |
112 Also Running Shell Commands from Emacs | |
113 and Sending Mail and Registers and Minibuffer. | |
114 @end ignore | |
115 | |
116 @menu | |
117 * Distrib:: How to get the latest Emacs distribution. | |
118 * Copying:: The GNU General Public License gives you permission | |
119 to redistribute GNU Emacs on certain terms; | |
120 it also explains that there is no warranty. | |
31309
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
121 * GNU Free Documentation License:: The license for this documentation. |
24093 | 122 * Intro:: An introduction to Emacs concepts. |
123 * Glossary:: The glossary. | |
32113
a0915106b092
(Top): Update version in `Antinews' menu entry.
Miles Bader <miles@gnu.org>
parents:
31356
diff
changeset
|
124 * Antinews:: Information about Emacs version 20. |
34199 | 125 * Mac OS:: Using Emacs in the Mac. |
24093 | 126 * MS-DOS:: Using Emacs on MS-DOS (otherwise known as "MS-DOG"). |
127 * Manifesto:: What's GNU? Gnu's Not Unix! | |
53695 | 128 * Acknowledgments:: Major contributors to GNU Emacs. |
24093 | 129 |
130 Indexes (nodes containing large menus) | |
131 * Key Index:: An item for each standard Emacs key sequence. | |
132 * Command Index:: An item for each command name. | |
133 * Variable Index:: An item for each documented variable. | |
134 * Concept Index:: An item for each concept. | |
37452
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
135 @c This is last because @ifnottex leaves an empty line. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
136 @ifnottex |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
137 * Option Index:: An item for every command-line option. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
138 @end ifnottex |
24093 | 139 |
140 Important General Concepts | |
141 * Screen:: How to interpret what you see on the screen. | |
142 * User Input:: Kinds of input events (characters, buttons, | |
143 function keys). | |
144 * Keys:: Key sequences: what you type to request one | |
145 editing action. | |
146 * Commands:: Named functions run by key sequences to do editing. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
147 * Text Characters:: Character set for text (the contents of buffers |
24093 | 148 and strings). |
149 * Entering Emacs:: Starting Emacs from the shell. | |
150 * Exiting:: Stopping or killing Emacs. | |
151 * Command Arguments:: Hairy startup options. | |
152 | |
153 Fundamental Editing Commands | |
154 * Basic:: The most basic editing commands. | |
155 * Minibuffer:: Entering arguments that are prompted for. | |
156 * M-x:: Invoking commands by their names. | |
157 * Help:: Commands for asking Emacs about its commands. | |
158 | |
159 Important Text-Changing Commands | |
160 * Mark:: The mark: how to delimit a ``region'' of text. | |
161 * Killing:: Killing text. | |
162 * Yanking:: Recovering killed text. Moving text. | |
163 * Accumulating Text:: Other ways of copying text. | |
164 * Rectangles:: Operating on the text inside a rectangle on the screen. | |
165 * Registers:: Saving a text string or a location in the buffer. | |
166 * Display:: Controlling what text is displayed. | |
167 * Search:: Finding or replacing occurrences of a string. | |
168 * Fixit:: Commands especially useful for fixing typos. | |
52261
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
169 * Keyboard Macros:: A keyboard macro records a sequence of |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
170 keystrokes to be replayed with a single command. |
24093 | 171 |
172 Major Structures of Emacs | |
173 * Files:: All about handling files. | |
174 * Buffers:: Multiple buffers; editing several files at once. | |
175 * Windows:: Viewing two pieces of text at once. | |
176 * Frames:: Running the same Emacs session in multiple X windows. | |
52979
3649390c0f91
Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents:
52582
diff
changeset
|
177 * International:: Using non-@acronym{ASCII} character sets (the MULE features). |
24093 | 178 |
179 Advanced Features | |
180 * Major Modes:: Text mode vs. Lisp mode vs. C mode ... | |
181 * Indentation:: Editing the white space at the beginnings of lines. | |
182 * Text:: Commands and modes for editing English. | |
183 * Programs:: Commands and modes for editing programs. | |
184 * Building:: Compiling, running and debugging programs. | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
185 * Maintaining:: Features for maintaining large programs. |
24093 | 186 * Abbrevs:: How to define text abbreviations to reduce |
187 the number of characters you must type. | |
188 * Picture:: Editing pictures made up of characters | |
189 using the quarter-plane screen model. | |
190 * Sending Mail:: Sending mail in Emacs. | |
191 * Rmail:: Reading mail in Emacs. | |
192 * Dired:: You can ``edit'' a directory to manage files in it. | |
193 * Calendar/Diary:: The calendar and diary facilities. | |
194 * Gnus:: How to read netnews with Emacs. | |
195 * Shell:: Executing shell commands from Emacs. | |
196 * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc. | |
197 * Hardcopy:: Printing buffers or regions. | |
27212 | 198 * PostScript:: Printing buffers or regions as PostScript. |
199 * PostScript Variables:: | |
200 Customizing the PostScript printing commands. | |
24093 | 201 * Sorting:: Sorting lines, paragraphs or pages within Emacs. |
202 * Narrowing:: Restricting display and editing to a portion | |
203 of the buffer. | |
204 * Two-Column:: Splitting apart columns to edit them | |
205 in side-by-side windows. | |
206 * Editing Binary Files:: | |
207 Using Hexl mode to edit binary files. | |
208 * Saving Emacs Sessions:: | |
209 Saving Emacs state from one session to the next. | |
210 * Recursive Edit:: A command can allow you to do editing | |
211 "within the command". This is called a | |
36211 | 212 "recursive editing level". |
24093 | 213 * Emulation:: Emulating some other editors with Emacs. |
30870 | 214 * Hyperlinking:: Following links in buffers. |
24093 | 215 * Dissociated Press:: Dissociating text for fun. |
216 * Amusements:: Various games and hacks. | |
217 * Customization:: Modifying the behavior of Emacs. | |
40520
9062bc5cc660
Add new appendix "X Resources" to menu.
Richard M. Stallman <rms@gnu.org>
parents:
39874
diff
changeset
|
218 * X Resources:: X resources for customizing Emacs. |
24093 | 219 |
220 Recovery from Problems | |
221 * Quitting:: Quitting and aborting. | |
222 * Lossage:: What to do if Emacs is hung or malfunctioning. | |
223 * Bugs:: How and when to report a bug. | |
224 * Contributing:: How to contribute improvements to Emacs. | |
225 * Service:: How to get help for your own Emacs needs. | |
226 | |
227 Here are some other nodes which are really inferiors of the ones | |
228 already listed, mentioned here so you can get to them in one step: | |
229 | |
230 --- The Detailed Node Listing --- | |
231 | |
232 The Organization of the Screen | |
233 | |
234 * Point:: The place in the text where editing commands operate. | |
235 * Echo Area:: Short messages appear at the bottom of the screen. | |
236 * Mode Line:: Interpreting the mode line. | |
237 * Menu Bar:: How to use the menu bar. | |
238 | |
239 Basic Editing Commands | |
240 | |
241 * Inserting Text:: Inserting text by simply typing it. | |
242 * Moving Point:: How to move the cursor to the place where you want to | |
243 change something. | |
244 * Erasing:: Deleting and killing text. | |
245 * Undo:: Undoing recent changes in the text. | |
246 * Files: Basic Files. Visiting, creating, and saving files. | |
247 * Help: Basic Help. Asking what a character does. | |
248 * Blank Lines:: Commands to make or delete blank lines. | |
249 * Continuation Lines:: Lines too wide for the screen. | |
250 * Position Info:: What page, line, row, or column is point on? | |
251 * Arguments:: Numeric arguments for repeating a command. | |
252 | |
253 The Minibuffer | |
254 | |
255 * Minibuffer File:: Entering file names with the minibuffer. | |
256 * Minibuffer Edit:: How to edit in the minibuffer. | |
257 * Completion:: An abbreviation facility for minibuffer input. | |
258 * Minibuffer History:: Reusing recent minibuffer arguments. | |
259 * Repetition:: Re-executing commands that used the minibuffer. | |
260 | |
261 Help | |
262 | |
263 * Help Summary:: Brief list of all Help commands. | |
264 * Key Help:: Asking what a key does in Emacs. | |
265 * Name Help:: Asking about a command, variable or function name. | |
266 * Apropos:: Asking what pertains to a given topic. | |
267 * Library Keywords:: Finding Lisp libraries by keywords (topics). | |
268 * Language Help:: Help relating to international language support. | |
269 * Misc Help:: Other help commands. | |
270 | |
271 The Mark and the Region | |
272 | |
273 * Setting Mark:: Commands to set the mark. | |
274 * Transient Mark:: How to make Emacs highlight the region-- | |
275 when there is one. | |
276 * Using Region:: Summary of ways to operate on contents of the region. | |
277 * Marking Objects:: Commands to put region around textual units. | |
278 * Mark Ring:: Previous mark positions saved so you can go back there. | |
279 * Global Mark Ring:: Previous mark positions in various buffers. | |
280 | |
281 Deletion and Killing | |
282 | |
283 * Deletion:: Commands for deleting small amounts of text and | |
284 blank areas. | |
285 * Killing by Lines:: How to kill entire lines of text at one time. | |
286 * Other Kill Commands:: Commands to kill large regions of text and | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
287 syntactic units such as words and sentences. |
24093 | 288 |
289 Yanking | |
290 | |
291 * Kill Ring:: Where killed text is stored. Basic yanking. | |
292 * Appending Kills:: Several kills in a row all yank together. | |
293 * Earlier Kills:: Yanking something killed some time ago. | |
294 | |
295 Registers | |
296 | |
297 * RegPos:: Saving positions in registers. | |
298 * RegText:: Saving text in registers. | |
299 * RegRect:: Saving rectangles in registers. | |
300 * RegConfig:: Saving window configurations in registers. | |
301 * RegFiles:: File names in registers. | |
302 * Bookmarks:: Bookmarks are like registers, but persistent. | |
303 | |
304 Controlling the Display | |
305 | |
306 * Scrolling:: Moving text up and down in a window. | |
307 * Horizontal Scrolling:: Moving text left and right in a window. | |
308 * Follow Mode:: Follow mode lets two windows scroll as one. | |
309 * Selective Display:: Hiding lines with lots of indentation. | |
310 * Optional Mode Line:: Optional mode line display features. | |
311 * Text Display:: How text is normally displayed. | |
36211 | 312 * Display Custom:: Information on variables for customizing display. |
24093 | 313 |
314 Searching and Replacement | |
315 | |
316 * Incremental Search:: Search happens as you type the string. | |
317 * Nonincremental Search:: Specify entire string and then search. | |
318 * Word Search:: Search for sequence of words. | |
319 * Regexp Search:: Search for match for a regexp. | |
320 * Regexps:: Syntax of regular expressions. | |
321 * Search Case:: To ignore case while searching, or not. | |
322 * Replace:: Search, and replace some or all matches. | |
323 * Other Repeating Search:: Operating on all matches for some regexp. | |
324 | |
325 Replacement Commands | |
326 | |
327 * Unconditional Replace:: Replacing all matches for a string. | |
328 * Regexp Replace:: Replacing all matches for a regexp. | |
329 * Replacement and Case:: How replacements preserve case of letters. | |
330 * Query Replace:: How to use querying. | |
331 | |
332 Commands for Fixing Typos | |
333 | |
334 * Kill Errors:: Commands to kill a batch of recently entered text. | |
335 * Transpose:: Exchanging two characters, words, lines, lists... | |
336 * Fixing Case:: Correcting case of last word entered. | |
337 * Spelling:: Apply spelling checker to a word or a whole buffer. | |
338 | |
52261
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
339 Keyboard Macros |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
340 |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
341 * Basic Keyboard Macro:: Defining and running keyboard macros. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
342 * Keyboard Macro Ring:: Where previous keyboard macros are saved. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
343 * Keyboard Macro Counter:: Inserting incrementing numbers in macros. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
344 * Keyboard Macro Query:: Making keyboard macros do different things each time. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
345 * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
346 * Edit Keyboard Macro:: Editing keyboard macros. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
347 * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard macro. |
6353932ee382
(Top): Update menu to reflect new Keyboard Macros chapter.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52252
diff
changeset
|
348 |
24093 | 349 File Handling |
350 | |
351 * File Names:: How to type and edit file-name arguments. | |
352 * Visiting:: Visiting a file prepares Emacs to edit the file. | |
353 * Saving:: Saving makes your changes permanent. | |
354 * Reverting:: Reverting cancels all the changes not saved. | |
355 * Auto Save:: Auto Save periodically protects against loss of data. | |
356 * File Aliases:: Handling multiple names for one file. | |
357 * Version Control:: Version control systems (RCS, CVS and SCCS). | |
358 * Directories:: Creating, deleting, and listing file directories. | |
359 * Comparing Files:: Finding where two files differ. | |
360 * Misc File Ops:: Other things you can do on files. | |
361 * Compressed Files:: Accessing compressed files. | |
362 * Remote Files:: Accessing files on other sites. | |
363 * Quoted File Names:: Quoting special characters in file names. | |
364 | |
365 Saving Files | |
366 | |
367 * Backup:: How Emacs saves the old version of your file. | |
368 * Interlocking:: How Emacs protects against simultaneous editing | |
369 of one file by two users. | |
370 | |
371 Version Control | |
372 | |
373 * Introduction to VC:: How version control works in general. | |
374 * VC Mode Line:: How the mode line shows version control status. | |
375 * Basic VC Editing:: How to edit a file under version control. | |
376 * Old Versions:: Examining and comparing old versions. | |
377 * Secondary VC Commands:: The commands used a little less frequently. | |
378 * Branches:: Multiple lines of development. | |
379 * Snapshots:: Sets of file versions treated as a unit. | |
380 * Miscellaneous VC:: Various other commands and features of VC. | |
381 * Customizing VC:: Variables that change VC's behavior. | |
382 | |
383 Using Multiple Buffers | |
384 | |
385 * Select Buffer:: Creating a new buffer or reselecting an old one. | |
386 * List Buffers:: Getting a list of buffers that exist. | |
39267 | 387 * Misc Buffer:: Renaming; changing read-onliness; copying text. |
24093 | 388 * Kill Buffer:: Killing buffers you no longer need. |
389 * Several Buffers:: How to go through the list of all buffers | |
390 and operate variously on several of them. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
391 * Indirect Buffers:: An indirect buffer shares the text of another buffer. |
24093 | 392 |
393 Multiple Windows | |
394 | |
395 * Basic Window:: Introduction to Emacs windows. | |
396 * Split Window:: New windows are made by splitting existing windows. | |
397 * Other Window:: Moving to another window or doing something to it. | |
398 * Pop Up Window:: Finding a file or buffer in another window. | |
399 * Force Same Window:: Forcing certain buffers to appear in the selected | |
400 window rather than in another window. | |
401 * Change Window:: Deleting windows and changing their sizes. | |
402 | |
403 Frames and X Windows | |
404 | |
405 * Mouse Commands:: Moving, cutting, and pasting, with the mouse. | |
406 * Secondary Selection:: Cutting without altering point and mark. | |
36211 | 407 * Clipboard:: Using the clipboard for selections. |
24093 | 408 * Mouse References:: Using the mouse to select an item from a list. |
409 * Menu Mouse Clicks:: Mouse clicks that bring up menus. | |
410 * Mode Line Mouse:: Mouse clicks on the mode line. | |
411 * Creating Frames:: Creating additional Emacs frames with various contents. | |
36211 | 412 * Frame Commands:: Iconifying, deleting, and switching frames. |
413 * Speedbar:: How to make and use a speedbar frame. | |
24093 | 414 * Multiple Displays:: How one Emacs job can talk to several displays. |
415 * Special Buffer Frames:: You can make certain buffers have their own frames. | |
416 * Frame Parameters:: Changing the colors and other modes of frames. | |
417 * Scroll Bars:: How to enable and disable scroll bars; how to use them. | |
36211 | 418 * Wheeled Mice:: Using mouse wheels for scrolling. |
24093 | 419 * Menu Bars:: Enabling and disabling the menu bar. |
36211 | 420 * Tool Bars:: Enabling and disabling the tool bar. |
421 * Dialog Boxes:: Controlling use of dialog boxes. | |
24093 | 422 * Faces:: How to change the display style using faces. |
423 * Font Lock:: Minor mode for syntactic highlighting using faces. | |
36211 | 424 * Highlight Changes:: Using colors to show where you changed the buffer. |
425 * Highlight Interactively:: Tell Emacs what text to highlight. | |
45884
90445f6e269f
@end info changed to @end info
Robert J. Chassell <bob@rattlesnake.com>
parents:
45878
diff
changeset
|
426 * Useless Whitespace:: Showing possibly-spurious trailing whitespace. |
36211 | 427 * Tooltips:: Showing "tooltips", AKA "ballon help" for active text. |
428 * Mouse Avoidance:: Moving the mouse pointer out of the way. | |
24093 | 429 * Non-Window Terminals:: Multiple frames on terminals that show only one. |
36211 | 430 * XTerm Mouse:: Using the mouse in an XTerm terminal emulator. |
24093 | 431 |
432 International Character Set Support | |
433 | |
37844
25ec812aa6bd
International Intro node renamed to International Chars.
Richard M. Stallman <rms@gnu.org>
parents:
37620
diff
changeset
|
434 * International Chars:: Basic concepts of multibyte characters. |
24093 | 435 * Enabling Multibyte:: Controlling whether to use multibyte characters. |
436 * Language Environments:: Setting things up for the language you use. | |
437 * Input Methods:: Entering text characters not on your keyboard. | |
438 * Select Input Method:: Specifying your choice of input methods. | |
439 * Coding Systems:: Character set conversion when you read and | |
440 write files, and so on. | |
441 * Recognize Coding:: How Emacs figures out which conversion to use. | |
442 * Specify Coding:: Various ways to choose which conversion to use. | |
443 * Fontsets:: Fontsets are collections of fonts | |
444 that cover the whole spectrum of characters. | |
445 * Defining Fontsets:: Defining a new fontset. | |
27212 | 446 * Single-Byte Character Support:: |
24093 | 447 You can pick one European character set |
448 to use without multibyte characters. | |
449 | |
450 Major Modes | |
451 | |
452 * Choosing Modes:: How major modes are specified or chosen. | |
453 | |
454 Indentation | |
455 | |
456 * Indentation Commands:: Various commands and techniques for indentation. | |
457 * Tab Stops:: You can set arbitrary "tab stops" and then | |
458 indent to the next tab stop when you want to. | |
459 * Just Spaces:: You can request indentation using just spaces. | |
460 | |
461 Commands for Human Languages | |
462 | |
463 * Words:: Moving over and killing words. | |
464 * Sentences:: Moving over and killing sentences. | |
465 * Paragraphs:: Moving over paragraphs. | |
466 * Pages:: Moving over pages. | |
467 * Filling:: Filling or justifying text. | |
468 * Case:: Changing the case of text. | |
469 * Text Mode:: The major modes for editing text files. | |
470 * Outline Mode:: Editing outlines. | |
471 * TeX Mode:: Editing input to the formatter TeX. | |
472 * Nroff Mode:: Editing input to the formatter nroff. | |
473 * Formatted Text:: Editing formatted text directly in WYSIWYG fashion. | |
474 | |
475 Filling Text | |
476 | |
477 * Auto Fill:: Auto Fill mode breaks long lines automatically. | |
478 * Fill Commands:: Commands to refill paragraphs and center lines. | |
479 * Fill Prefix:: Filling paragraphs that are indented | |
480 or in a comment, etc. | |
481 * Adaptive Fill:: How Emacs can determine the fill prefix automatically. | |
482 | |
483 Editing Programs | |
484 | |
485 * Program Modes:: Major modes for editing programs. | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
486 * Defuns:: Commands to operate on major top-level parts |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
487 of a program. |
24093 | 488 * Program Indent:: Adjusting indentation to show the nesting. |
489 * Comments:: Inserting, killing, and aligning comments. | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
490 * Parentheses:: Commands that operate on parentheses. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
491 * Documentation:: Getting documentation of functions you plan to call. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
492 * Hideshow:: Displaying blocks selectively. |
24093 | 493 * Symbol Completion:: Completion on symbol names of your program or language. |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
494 * Glasses:: Making identifiersLikeThis more readable. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
495 * Misc for Programs:: Other Emacs features useful for editing programs. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
496 * C Modes:: Special commands of C, C++, Objective-C, |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
497 Java, and Pike modes. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
498 * Fortran:: Fortran mode and its special features. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
499 * Asm Mode:: Asm mode and its special features. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
500 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
501 Top-Level Definitions, or Defuns |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
502 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
503 * Left Margin Paren:: An open-paren or similar opening delimiter |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
504 starts a defun if it is at the left margin. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
505 * Moving by Defuns:: Commands to move over or mark a major definition. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
506 * Imenu:: Making buffer indexes as menus. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
507 * Which Function:: Which Function mode shows which function you are in. |
24093 | 508 |
509 Indentation for Programs | |
510 | |
511 * Basic Indent:: Indenting a single line. | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
512 * Multi-line Indent:: Commands to reindent many lines at once. |
24093 | 513 * Lisp Indent:: Specifying how each Lisp function should be indented. |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
514 * C Indent:: Extra features for indenting C and related modes. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
515 * Custom C Indent:: Controlling indentation style for C and related modes. |
24093 | 516 |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
517 Commands for Editing with Parentheses |
24093 | 518 |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
519 * Expressions:: Expressions with balanced parentheses. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
520 * Moving by Parens:: Commands for moving up, down and across |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
521 in the structure of parentheses. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
522 * Matching:: Insertion of a close-delimiter flashes matching open. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
523 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
524 Manipulating Comments |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
525 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
526 * Comment Commands:: Inserting, killing, and indenting comments. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
527 * Multi-Line Comments:: Commands for adding and editing multi-line comments. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
528 * Options for Comments::Customizing the comment features. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
529 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
530 Documentation Lookup |
24093 | 531 |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
532 * Info Lookup:: Looking up library functions and commands |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
533 in Info files. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
534 * Man Page:: Looking up man pages of library functions and commands. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
535 * Lisp Doc:: Looking up Emacs Lisp functions, etc. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
536 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
537 C and Related Modes |
24093 | 538 |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
539 * Motion in C:: Commands to move by C statements, etc. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
540 * Electric C:: Colon and other chars can automatically reindent. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
541 * Hungry Delete:: A more powerful DEL command. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
542 * Other C Commands:: Filling comments, viewing expansion of macros, |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
543 and other neat features. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
544 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
545 Fortran Mode |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
546 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
547 * Motion: Fortran Motion. Moving point by statements or subprograms. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
548 * Indent: Fortran Indent. Indentation commands for Fortran. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
549 * Comments: Fortran Comments. Inserting and aligning comments. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
550 * Autofill: Fortran Autofill. Auto fill minor mode for Fortran. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
551 * Columns: Fortran Columns. Measuring columns for valid Fortran. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
552 * Abbrev: Fortran Abbrev. Built-in abbrevs for Fortran keywords. |
24093 | 553 |
554 Compiling and Testing Programs | |
555 | |
556 * Compilation:: Compiling programs in languages other | |
557 than Lisp (C, Pascal, etc.). | |
558 * Compilation Mode:: The mode for visiting compiler errors. | |
559 * Compilation Shell:: Customizing your shell properly | |
560 for use in the compilation buffer. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
561 * Debuggers:: Running symbolic debuggers for non-Lisp programs. |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
562 * Executing Lisp:: Various modes for editing Lisp programs, |
24093 | 563 with different facilities for running |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
564 the Lisp programs. |
24093 | 565 * Lisp Libraries:: Creating Lisp programs to run in Emacs. |
566 * Lisp Interaction:: Executing Lisp in an Emacs buffer. | |
567 * Lisp Eval:: Executing a single Lisp expression in Emacs. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
568 * External Lisp:: Communicating through Emacs with a separate Lisp. |
24093 | 569 |
570 Running Debuggers Under Emacs | |
571 | |
572 * Starting GUD:: How to start a debugger subprocess. | |
573 * Debugger Operation:: Connection between the debugger and source buffers. | |
574 * Commands of GUD:: Key bindings for common commands. | |
575 * GUD Customization:: Defining your own commands for GUD. | |
576 | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
577 Maintaining Programs |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
578 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
579 * Change Log:: Maintaining a change history for your program. |
40792
7ea12eee7004
Comment out the Authors node.
Richard M. Stallman <rms@gnu.org>
parents:
40525
diff
changeset
|
580 @ignore |
39082
b2693c0914e4
Fix the AUTHORS menu item. Suggested by Eric Hanchrow <offby1@blarg.net>.
Eli Zaretskii <eliz@gnu.org>
parents:
39059
diff
changeset
|
581 * Authors:: Maintaining the Emacs @file{AUTHORS} file. |
40792
7ea12eee7004
Comment out the Authors node.
Richard M. Stallman <rms@gnu.org>
parents:
40525
diff
changeset
|
582 @end ignore |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
583 * Tags:: Go direct to any function in your program in one |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
584 command. Tags remembers which file it is in. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
585 * Emerge:: A convenient way of merging two versions of a program. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
586 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
587 Tags Tables |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
588 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
589 * Tag Syntax:: Tag syntax for various types of code and text files. |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
590 * Create Tags Table:: Creating a tags table with @code{etags}. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
591 * Select Tags Table:: How to visit a tags table. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
592 * Find Tag:: Commands to find the definition of a specific tag. |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
593 * Tags Search:: Using a tags table for searching and replacing. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
594 * List Tags:: Listing and finding tags defined in a file. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
595 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
596 Merging Files with Emerge |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
597 |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
598 * Overview of Emerge:: How to start Emerge. Basic concepts. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
599 * Submodes of Emerge:: Fast mode vs. Edit mode. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
600 Skip Prefers mode and Auto Advance mode. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
601 * State of Difference:: You do the merge by specifying state A or B |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
602 for each difference. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
603 * Merge Commands:: Commands for selecting a difference, |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
604 changing states of differences, etc. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
605 * Exiting Emerge:: What to do when you've finished the merge. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
606 * Combining in Emerge:: How to keep both alternatives for a difference. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
607 * Fine Points of Emerge:: Misc. |
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
608 |
24093 | 609 Abbrevs |
610 | |
611 * Abbrev Concepts:: Fundamentals of defined abbrevs. | |
612 * Defining Abbrevs:: Defining an abbrev, so it will expand when typed. | |
613 * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion. | |
614 * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs. | |
615 * Saving Abbrevs:: Saving the entire list of abbrevs for another session. | |
616 * Dynamic Abbrevs:: Abbreviations for words already in the buffer. | |
617 | |
618 Editing Pictures | |
619 | |
620 * Basic Picture:: Basic concepts and simple commands of Picture Mode. | |
621 * Insert in Picture:: Controlling direction of cursor motion | |
622 after "self-inserting" characters. | |
623 * Tabs in Picture:: Various features for tab stops and indentation. | |
624 * Rectangles in Picture:: Clearing and superimposing rectangles. | |
625 | |
626 Sending Mail | |
627 | |
628 * Mail Format:: Format of the mail being composed. | |
629 * Mail Headers:: Details of permitted mail header fields. | |
630 * Mail Aliases:: Abbreviating and grouping mail addresses. | |
631 * Mail Mode:: Special commands for editing mail being composed. | |
36212
339b9d45f288
Distracting NSA => Mail Amusements.
Richard M. Stallman <rms@gnu.org>
parents:
36211
diff
changeset
|
632 * Mail Amusements:: Distract the NSA's attention; add a fortune to a msg. |
24093 | 633 * Mail Methods:: Using alternative mail-composition methods. |
634 | |
635 Reading Mail with Rmail | |
636 | |
637 * Rmail Basics:: Basic concepts of Rmail, and simple use. | |
638 * Rmail Scrolling:: Scrolling through a message. | |
639 * Rmail Motion:: Moving to another message. | |
640 * Rmail Deletion:: Deleting and expunging messages. | |
641 * Rmail Inbox:: How mail gets into the Rmail file. | |
642 * Rmail Files:: Using multiple Rmail files. | |
643 * Rmail Output:: Copying message out to files. | |
644 * Rmail Labels:: Classifying messages by labeling them. | |
645 * Rmail Attributes:: Certain standard labels, called attributes. | |
646 * Rmail Reply:: Sending replies to messages you are viewing. | |
647 * Rmail Summary:: Summaries show brief info on many messages. | |
648 * Rmail Sorting:: Sorting messages in Rmail. | |
649 * Rmail Display:: How Rmail displays a message; customization. | |
650 * Rmail Editing:: Editing message text and headers in Rmail. | |
651 * Rmail Digest:: Extracting the messages from a digest message. | |
652 * Out of Rmail:: Converting an Rmail file to mailbox format. | |
653 * Rmail Rot13:: Reading messages encoded in the rot13 code. | |
654 * Movemail:: More details of fetching new mail. | |
655 | |
656 Dired, the Directory Editor | |
657 | |
658 * Dired Enter:: How to invoke Dired. | |
37993
1ff0891cec4c
Change "Dired Commands" to "Dired Navigation". Move the general
Eli Zaretskii <eliz@gnu.org>
parents:
37844
diff
changeset
|
659 * Dired Navigation:: How to move in the Dired buffer. |
24093 | 660 * Dired Deletion:: Deleting files with Dired. |
661 * Flagging Many Files:: Flagging files based on their names. | |
662 * Dired Visiting:: Other file operations through Dired. | |
663 * Marks vs Flags:: Flagging for deletion vs marking. | |
664 * Operating on Files:: How to copy, rename, print, compress, etc. | |
665 either one file or several files. | |
666 * Shell Commands in Dired:: Running a shell command on the marked files. | |
667 * Transforming File Names:: Using patterns to rename multiple files. | |
668 * Comparison in Dired:: Running `diff' by way of Dired. | |
669 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. | |
670 * Subdirectory Motion:: Moving across subdirectories, and up and down. | |
671 * Hiding Subdirectories:: Making subdirectories visible or invisible. | |
672 * Dired Updating:: Discarding lines for files of no interest. | |
673 * Dired and Find:: Using `find' to choose the files for Dired. | |
674 | |
675 The Calendar and the Diary | |
676 | |
677 * Calendar Motion:: Moving through the calendar; selecting a date. | |
678 * Scroll Calendar:: Bringing earlier or later months onto the screen. | |
679 * Counting Days:: How many days are there between two dates? | |
680 * General Calendar:: Exiting or recomputing the calendar. | |
681 * LaTeX Calendar:: Print a calendar using LaTeX. | |
682 * Holidays:: Displaying dates of holidays. | |
683 * Sunrise/Sunset:: Displaying local times of sunrise and sunset. | |
684 * Lunar Phases:: Displaying phases of the moon. | |
685 * Other Calendars:: Converting dates to other calendar systems. | |
686 * Diary:: Displaying events from your diary. | |
687 * Appointments:: Reminders when it's time to do something. | |
688 * Daylight Savings:: How to specify when daylight savings time is active. | |
689 | |
690 Movement in the Calendar | |
691 | |
692 * Calendar Unit Motion:: Moving by days, weeks, months, and years. | |
693 * Move to Beginning or End:: Moving to start/end of weeks, months, and years. | |
694 * Specified Dates:: Moving to the current date or another | |
695 specific date. | |
696 | |
697 Conversion To and From Other Calendars | |
698 | |
699 * Calendar Systems:: The calendars Emacs understands | |
700 (aside from Gregorian). | |
701 * To Other Calendar:: Converting the selected date to various calendars. | |
702 * From Other Calendar:: Moving to a date specified in another calendar. | |
703 * Mayan Calendar:: Moving to a date specified in a Mayan calendar. | |
704 | |
705 The Diary | |
706 | |
707 * Diary Commands:: Viewing diary entries and associated calendar dates. | |
708 * Format of Diary File:: Entering events in your diary. | |
709 * Date Formats:: Various ways you can specify dates. | |
710 * Adding to Diary:: Commands to create diary entries. | |
711 * Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc. | |
712 | |
52979
3649390c0f91
Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents:
52582
diff
changeset
|
713 Gnus |
24093 | 714 |
715 * Buffers of Gnus:: The group, summary, and article buffers. | |
716 * Gnus Startup:: What you should know about starting Gnus. | |
717 * Summary of Gnus:: A short description of the basic Gnus commands. | |
718 | |
719 Running Shell Commands from Emacs | |
720 | |
721 * Single Shell:: How to run one shell command and return. | |
722 * Interactive Shell:: Permanent shell taking input via Emacs. | |
723 * Shell Mode:: Special Emacs commands used with permanent shell. | |
724 * Shell History:: Repeating previous commands in a shell buffer. | |
725 * Shell Options:: Options for customizing Shell mode. | |
726 * Remote Host:: Connecting to another computer. | |
727 | |
728 Customization | |
729 | |
730 * Minor Modes:: Each minor mode is one feature you can turn on | |
731 independently of any others. | |
732 * Variables:: Many Emacs commands examine Emacs variables | |
733 to decide what to do; by setting variables, | |
734 you can control their functioning. | |
735 * Key Bindings:: The keymaps say what command each key runs. | |
736 By changing them, you can "redefine keys". | |
737 * Keyboard Translations:: | |
738 If your keyboard passes an undesired code | |
739 for a key, you can tell Emacs to | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
740 substitute another code. |
24093 | 741 * Syntax:: The syntax table controls how words and |
742 expressions are parsed. | |
743 * Init File:: How to write common customizations in the | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
744 @file{.emacs} file. |
24093 | 745 |
746 Variables | |
747 | |
748 * Examining:: Examining or setting one variable's value. | |
749 * Easy Customization:: | |
750 Convenient and easy customization of variables. | |
751 * Hooks:: Hook variables let you specify programs for parts | |
752 of Emacs to run on particular occasions. | |
753 * Locals:: Per-buffer values of variables. | |
754 * File Variables:: How files can specify variable values. | |
755 | |
756 Customizing Key Bindings | |
757 | |
758 * Keymaps:: Generalities. The global keymap. | |
759 * Prefix Keymaps:: Keymaps for prefix keys. | |
760 * Local Keymaps:: Major and minor modes have their own keymaps. | |
761 * Minibuffer Maps:: The minibuffer uses its own local keymaps. | |
762 * Rebinding:: How to redefine one key's meaning conveniently. | |
763 * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}. | |
764 * Function Keys:: Rebinding terminal function keys. | |
765 * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on. | |
766 * Mouse Buttons:: Rebinding mouse buttons in Emacs. | |
767 * Disabling:: Disabling a command means confirmation is required | |
768 before it can be executed. This is done to protect | |
769 beginners from surprises. | |
770 | |
771 The Init File, @file{~/.emacs} | |
772 | |
773 * Init Syntax:: Syntax of constants in Emacs Lisp. | |
774 * Init Examples:: How to do some things with an init file. | |
775 * Terminal Init:: Each terminal type can have an init file. | |
776 * Find Init:: How Emacs finds the init file. | |
777 | |
778 Dealing with Emacs Trouble | |
779 | |
38767
5889c45fd6ad
Change the name of the "DEL Doesn't Delete" node to "DEL Does Not Delete",
Eli Zaretskii <eliz@gnu.org>
parents:
38400
diff
changeset
|
780 * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete. |
24093 | 781 * Stuck Recursive:: `[...]' in mode line around the parentheses. |
782 * Screen Garbled:: Garbage on the screen. | |
783 * Text Garbled:: Garbage in the text. | |
784 * Unasked-for Search:: Spontaneous entry to incremental search. | |
785 * Memory Full:: How to cope when you run out of memory. | |
786 * Emergency Escape:: Emergency escape--- | |
787 What to do if Emacs stops responding. | |
788 * Total Frustration:: When you are at your wits' end. | |
789 | |
790 Reporting Bugs | |
791 | |
792 * Criteria: Bug Criteria. Have you really found a bug? | |
793 * Understanding Bug Reporting:: How to report a bug effectively. | |
794 * Checklist:: Steps to follow for a good bug report. | |
795 * Sending Patches:: How to send a patch for GNU Emacs. | |
796 | |
797 Command Line Options and Arguments | |
798 | |
799 * Action Arguments:: Arguments to visit files, load libraries, | |
800 and call functions. | |
801 * Initial Options:: Arguments that take effect while starting Emacs. | |
802 * Command Example:: Examples of using command line arguments. | |
803 * Resume Arguments:: Specifying arguments when you resume a running Emacs. | |
804 * Environment:: Environment variables that Emacs uses. | |
805 * Display X:: Changing the default display and using remote login. | |
806 * Font X:: Choosing a font for text, under X. | |
43015 | 807 * Colors:: Choosing display colors. |
24093 | 808 * Window Size X:: Start-up window size, under X. |
809 * Borders X:: Internal and external borders, under X. | |
810 * Title X:: Specifying the initial frame's title. | |
811 * Icons X:: Choosing what sort of icon to use, under X. | |
54471
e284782704b8
* emacs.texi (Top): Add `Misc X'.
Juri Linkov <juri@jurta.org>
parents:
53695
diff
changeset
|
812 * Misc X:: Other display options. |
41370
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
813 |
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
814 X Resources |
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
815 |
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
816 * Resources:: Using X resources with Emacs (in general). |
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
817 * Table of Resources:: Table of specific X resources that affect Emacs. |
3f1a375341ab
Update menu for changes in cmdargs.texi and xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40792
diff
changeset
|
818 * Face Resources:: X resources for customizing faces. |
24093 | 819 * Lucid Resources:: X resources for Lucid menus. |
36501
8a046a8e91dc
Give LessTif precedence over Motif.
Richard M. Stallman <rms@gnu.org>
parents:
36212
diff
changeset
|
820 * LessTif Resources:: X resources for LessTif and Motif menus. |
24093 | 821 |
822 Environment Variables | |
823 | |
824 * General Variables:: Environment variables that all versions of Emacs use. | |
825 * Misc Variables:: Certain system specific variables. | |
826 | |
24094
1a575df191bb
(Top): Include Windows 98 in the MS-DOS section.
Andrew Innes <andrewi@gnu.org>
parents:
24093
diff
changeset
|
827 MS-DOS and Windows 95/98/NT |
24093 | 828 |
829 * MS-DOS Input:: Keyboard and mouse usage on MS-DOS. | |
830 * MS-DOS Display:: Fonts, frames and display size on MS-DOS. | |
831 * MS-DOS File Names:: File-name conventions on MS-DOS. | |
832 * Text and Binary:: Text files on MS-DOS use CRLF to separate lines. | |
833 * MS-DOS Printing:: How to specify the printer on MS-DOS. | |
834 * MS-DOS Processes:: Running subprocesses on MS-DOS. | |
835 * Windows Processes:: Running subprocesses on Windows. | |
836 * Windows System Menu:: Controlling what the ALT key does. | |
837 @end menu | |
838 | |
839 @iftex | |
840 @unnumbered Preface | |
841 | |
842 This manual documents the use and simple customization of the Emacs | |
843 editor. The reader is not expected to be a programmer; simple | |
844 customizations do not require programming skill. But the user who is not | |
845 interested in customizing can ignore the scattered customization hints. | |
846 | |
847 This is primarily a reference manual, but can also be used as a | |
848 primer. For complete beginners, it is a good idea to start with the | |
849 on-line, learn-by-doing tutorial, before reading the manual. To run the | |
850 tutorial, start Emacs and type @kbd{C-h t}. This way you can learn | |
851 Emacs by using Emacs on a specially designed file which describes | |
852 commands, tells you when to try them, and then explains the results you | |
853 see. | |
854 | |
855 On first reading, just skim chapters 1 and 2, which describe the | |
856 notational conventions of the manual and the general appearance of the | |
857 Emacs display screen. Note which questions are answered in these | |
858 chapters, so you can refer back later. After reading chapter 4, you | |
859 should practice the commands there. The next few chapters describe | |
860 fundamental techniques and concepts that are used constantly. You need | |
861 to understand them thoroughly, experimenting with them if necessary. | |
862 | |
863 Chapters 14 through 19 describe intermediate-level features that are | |
864 useful for all kinds of editing. Chapter 20 and following chapters | |
865 describe features that you may or may not want to use; read those | |
866 chapters when you need them. | |
867 | |
868 Read the Trouble chapter if Emacs does not seem to be working | |
869 properly. It explains how to cope with some common problems | |
870 (@pxref{Lossage}), as well as when and how to report Emacs bugs | |
871 (@pxref{Bugs}). | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
872 |
24093 | 873 To find the documentation on a particular command, look in the index. |
874 Keys (character commands) and command names have separate indexes. There | |
875 is also a glossary, with a cross reference for each term. | |
876 | |
877 This manual is available as a printed book and also as an Info file. | |
878 The Info file is for on-line perusal with the Info program, which will | |
879 be the principal way of viewing documentation on-line in the GNU system. | |
880 Both the Info file and the Info program itself are distributed along | |
881 with GNU Emacs. The Info file and the printed book contain | |
882 substantially the same text and are generated from the same source | |
883 files, which are also distributed along with GNU Emacs. | |
884 | |
885 GNU Emacs is a member of the Emacs editor family. There are many Emacs | |
886 editors, all sharing common principles of organization. For information on | |
887 the underlying philosophy of Emacs and the lessons learned from its | |
888 development, write for a copy of AI memo 519a, ``Emacs, the Extensible, | |
889 Customizable Self-Documenting Display Editor,'' to Publications Department, | |
890 Artificial Intelligence Lab, 545 Tech Square, Cambridge, MA 02139, USA@. At | |
891 last report they charge $2.25 per copy. Another useful publication is LCS | |
892 TM-165, ``A Cookbook for an Emacs,'' by Craig Finseth, available from | |
893 Publications Department, Laboratory for Computer Science, 545 Tech Square, | |
894 Cambridge, MA 02139, USA@. The price today is $3. | |
895 | |
896 This edition of the manual is intended for use with GNU Emacs installed | |
897 on GNU and Unix systems. GNU Emacs can also be used on VMS, MS-DOS | |
898 (also called MS-DOG), Windows NT, and Windows 95 systems. Those systems use | |
899 different file name syntax; in addition, VMS and MS-DOS do not support | |
900 all GNU Emacs features. We don't try to describe VMS usage in this | |
901 manual. @xref{MS-DOS}, for information about using Emacs on MS-DOS. | |
902 @end iftex | |
903 | |
53689
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
904 @node Distrib, Copying, Top, Top |
24093 | 905 @unnumbered Distribution |
906 | |
907 GNU Emacs is @dfn{free software}; this means that everyone is free to | |
908 use it and free to redistribute it on certain conditions. GNU Emacs is | |
909 not in the public domain; it is copyrighted and there are restrictions | |
910 on its distribution, but these restrictions are designed to permit | |
911 everything that a good cooperating citizen would want to do. What is | |
912 not allowed is to try to prevent others from further sharing any version | |
913 of GNU Emacs that they might get from you. The precise conditions are | |
914 found in the GNU General Public License that comes with Emacs and also | |
915 appears following this section. | |
916 | |
917 One way to get a copy of GNU Emacs is from someone else who has it. You | |
918 need not ask for our permission to do so, or tell any one else; just | |
919 copy it. If you have access to the Internet, you can get the latest | |
920 distribution version of GNU Emacs by anonymous FTP; see the file | |
921 @file{etc/FTP} in the Emacs distribution for more information. | |
922 | |
923 You may also receive GNU Emacs when you buy a computer. Computer | |
924 manufacturers are free to distribute copies on the same terms that apply to | |
925 everyone else. These terms require them to give you the full sources, | |
926 including whatever changes they may have made, and to permit you to | |
927 redistribute the GNU Emacs received from them under the usual terms of the | |
928 General Public License. In other words, the program must be free for you | |
929 when you get it, not just free for the manufacturer. | |
930 | |
52574
e0bca4b2b9ca
(Acknowledgements): New node, split from Distribution.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
931 You can also order copies of GNU Emacs from the Free Software |
e0bca4b2b9ca
(Acknowledgements): New node, split from Distribution.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
932 Foundation. This is a convenient and reliable way to get a copy; it |
e0bca4b2b9ca
(Acknowledgements): New node, split from Distribution.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
933 is also a good way to help fund our work. (The Foundation has always |
24093 | 934 received most of its funds in this way.) An order form is included in |
935 the file @file{etc/ORDERS} in the Emacs distribution, and on our web | |
936 site in @url{http://www.gnu.org/order/order.html}. For further | |
937 information, write to | |
938 | |
939 @display | |
940 Free Software Foundation | |
941 59 Temple Place, Suite 330 | |
942 Boston, MA 02111-1307 USA | |
943 USA | |
944 @end display | |
945 | |
946 The income from distribution fees goes to support the foundation's | |
947 purpose: the development of new free software, and improvements to our | |
948 existing programs including GNU Emacs. | |
949 | |
950 If you find GNU Emacs useful, please @strong{send a donation} to the | |
951 Free Software Foundation to support our work. Donations to the Free | |
952 Software Foundation are tax deductible in the US. If you use GNU Emacs | |
953 at your workplace, please suggest that the company make a donation. If | |
954 company policy is unsympathetic to the idea of donating to charity, you | |
955 might instead suggest ordering a CD-ROM from the Foundation | |
956 occasionally, or subscribing to periodic updates. | |
957 | |
53689
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
958 @ifnotinfo |
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
959 @node Acknowledgments, Copying, Distrib, Top |
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
960 @section Acknowledgments |
52574
e0bca4b2b9ca
(Acknowledgements): New node, split from Distribution.
Richard M. Stallman <rms@gnu.org>
parents:
52401
diff
changeset
|
961 |
24093 | 962 Contributors to GNU Emacs include Per Abrahamsen, Jay K. Adams, Joe |
963 Arceneaux, Boaz Ben-Zvi, Jim Blandy, Terrence Brannon, Frank Bresz, | |
964 Peter Breton, Kevin Broadey, Vincent Broman, David M. Brown, Bill | |
965 Carpenter, Hans Chalupsky, Bob Chassell, James Clark, Mike Clarkson, | |
966 Glynn Clements, Andrew Csillag, Doug Cutting, Michael DeCorte, Gary | |
967 Delp, Matthieu Devin, Eri Ding, Carsten Dominik, Scott Draves, Viktor | |
968 Dukhovni, John Eaton, Rolf Ebert, Stephen Eglen, Torbj@"orn Einarsson, | |
46918
82d113655734
Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents:
45884
diff
changeset
|
969 Tsugutomo Enami, Hans Henrik Eriksen, Michael Ernst, Ata Etemadi, |
82d113655734
Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents:
45884
diff
changeset
|
970 Frederick Farnbach, Fred Fish, Karl Fogel, Gary Foster, Noah Friedman, |
24093 | 971 Keith Gabryelski, Kevin Gallagher, Kevin Gallo, Howard Gayle, Stephen |
972 Gildea, David Gillespie, Bob Glickstein, Boris Goldowsky, Michelangelo | |
24882 | 973 Grigni, Michael Gschwind, Henry Guillaume, Doug Gwyn, Ken'ichi Handa, |
24093 | 974 Chris Hanson, K. Shane Hartman, John Heidemann, Markus Heritsch, Karl |
975 Heuer, Manabu Higashida, Anders Holst, Kurt Hornik, Tom Houlder, Lars | |
976 Ingebrigtsen, Andrew Innes, Michael K. Johnson, Kyle Jones, Tomoji | |
977 Kagatani, Brewster Kahle, David Kaufman, Henry Kautz, Howard Kaye, | |
978 Michael Kifer, Richard King, Larry K. Kolodney, Robert Krawitz, | |
52582
93aa41f66fd9
(Acknowledgements): Correct typo.
Luc Teirlinck <teirllm@auburn.edu>
parents:
52574
diff
changeset
|
979 Sebastian Kremer, Geoff Kuenning, David K@aa{}gedal, Daniel LaLiberte, |
24093 | 980 Aaron Larson, James R. Larus, Frederic Lepied, Lars Lindberg, Eric |
981 Ludlam, Neil M. Mager, Ken Manheimer, Bill Mann, Brian Marick, Simon | |
982 Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland McGrath, | |
983 David Megginson, Wayne Mesard, Richard Mlynarik, Keith Moore, Erik | |
984 Naggum, Thomas Neumann, Mike Newton, Jurgen Nickelsen, Jeff Norden, | |
985 Andrew Norman, Jeff Peck, Damon Anton Permezel, Tom Perrine, Jens | |
986 Petersen, Daniel Pfeiffer, Fred Pierresteguy, Christian Plaunt, | |
987 Francesco A. Potorti, Michael D. Prange, Ashwin Ram, Eric S. Raymond, | |
988 Paul Reilly, Edward M. Reingold, Rob Riepel, Roland B. Roberts, John | |
989 Robinson, Danny Roozendaal, William Rosenblatt, Guillermo J. Rozas, Ivar | |
990 Rummelhoff, Wolfgang Rupprecht, James B. Salem, Masahiko Sato, William | |
991 Schelter, Ralph Schleicher, Gregor Schmid, Michael Schmidt, Ronald | |
992 S. Schnell, Philippe Schnoebelen, Stephen Schoef, Randal Schwartz, | |
993 Manuel Serrano, Stanislav Shalunov, Mark Shapiro, Richard Sharman, Olin | |
994 Shivers, Espen Skoglund, Rick Sladkey, Lynn Slater, Chris Smith, David | |
995 Smith, Paul D. Smith, William Sommerfeld, Michael Staats, Sam Steingold, | |
996 Ake Stenhoff, Peter Stephenson, Jonathan Stigelman, Steve Strassman, | |
997 Jens T. Berger Thielemann, Spencer Thomas, Jim Thompson, Masanobu Umeda, | |
998 Neil W. Van Dyke, Ulrik Vieth, Geoffrey Voelker, Johan Vromans, Barry | |
999 Warsaw, Morten Welinder, Joseph Brian Wells, Rodney Whitby, Ed | |
1000 Wilkinson, Mike Williams, Steven A. Wood, Dale R. Worley, Felix | |
1001 S. T. Wu, Tom Wurgler, Eli Zaretskii, Jamie Zawinski, Ian T. Zimmermann, | |
1002 Reto Zimmermann, and Neal Ziring. | |
53689
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
1003 @end ifnotinfo |
24093 | 1004 |
53689
60657a16545c
(Acknowledgments): Renamed from Acknowledgements.
Richard M. Stallman <rms@gnu.org>
parents:
52979
diff
changeset
|
1005 @node Copying, GNU Free Documentation License, Distrib, Top |
24093 | 1006 @unnumbered GNU GENERAL PUBLIC LICENSE |
1007 @center Version 2, June 1991 | |
1008 | |
1009 @display | |
1010 Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc. | |
1011 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
1012 | |
1013 Everyone is permitted to copy and distribute verbatim copies | |
1014 of this license document, but changing it is not allowed. | |
1015 @end display | |
1016 | |
1017 @unnumberedsec Preamble | |
1018 | |
1019 The licenses for most software are designed to take away your | |
1020 freedom to share and change it. By contrast, the GNU General Public | |
1021 License is intended to guarantee your freedom to share and change free | |
1022 software---to make sure the software is free for all its users. This | |
1023 General Public License applies to most of the Free Software | |
1024 Foundation's software and to any other program whose authors commit to | |
1025 using it. (Some other Free Software Foundation software is covered by | |
50754
5f08de7d192f
Undo rest of previous change.
Richard M. Stallman <rms@gnu.org>
parents:
50753
diff
changeset
|
1026 the GNU Library General Public License instead.) You can apply it to |
24093 | 1027 your programs, too. |
1028 | |
1029 When we speak of free software, we are referring to freedom, not | |
1030 price. Our General Public Licenses are designed to make sure that you | |
1031 have the freedom to distribute copies of free software (and charge for | |
1032 this service if you wish), that you receive source code or can get it | |
1033 if you want it, that you can change the software or use pieces of it | |
1034 in new free programs; and that you know you can do these things. | |
1035 | |
1036 To protect your rights, we need to make restrictions that forbid | |
1037 anyone to deny you these rights or to ask you to surrender the rights. | |
1038 These restrictions translate to certain responsibilities for you if you | |
1039 distribute copies of the software, or if you modify it. | |
1040 | |
1041 For example, if you distribute copies of such a program, whether | |
1042 gratis or for a fee, you must give the recipients all the rights that | |
1043 you have. You must make sure that they, too, receive or can get the | |
1044 source code. And you must show them these terms so they know their | |
1045 rights. | |
1046 | |
1047 We protect your rights with two steps: (1) copyright the software, and | |
1048 (2) offer you this license which gives you legal permission to copy, | |
1049 distribute and/or modify the software. | |
1050 | |
1051 Also, for each author's protection and ours, we want to make certain | |
1052 that everyone understands that there is no warranty for this free | |
1053 software. If the software is modified by someone else and passed on, we | |
1054 want its recipients to know that what they have is not the original, so | |
1055 that any problems introduced by others will not reflect on the original | |
1056 authors' reputations. | |
1057 | |
1058 Finally, any free program is threatened constantly by software | |
1059 patents. We wish to avoid the danger that redistributors of a free | |
1060 program will individually obtain patent licenses, in effect making the | |
1061 program proprietary. To prevent this, we have made it clear that any | |
1062 patent must be licensed for everyone's free use or not licensed at all. | |
1063 | |
1064 The precise terms and conditions for copying, distribution and | |
1065 modification follow. | |
1066 | |
1067 @iftex | |
1068 @unnumberedsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
1069 @end iftex | |
1070 @ifinfo | |
1071 @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
1072 @end ifinfo | |
1073 | |
1074 @enumerate 0 | |
1075 @item | |
1076 This License applies to any program or other work which contains | |
1077 a notice placed by the copyright holder saying it may be distributed | |
36168
df827c1def99
Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents:
36153
diff
changeset
|
1078 under the terms of this General Public License. The ``Program,'' below, |
24093 | 1079 refers to any such program or work, and a ``work based on the Program'' |
1080 means either the Program or any derivative work under copyright law: | |
1081 that is to say, a work containing the Program or a portion of it, | |
1082 either verbatim or with modifications and/or translated into another | |
1083 language. (Hereinafter, translation is included without limitation in | |
36168
df827c1def99
Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents:
36153
diff
changeset
|
1084 the term ``modification.'') Each licensee is addressed as ``you.'' |
24093 | 1085 |
1086 Activities other than copying, distribution and modification are not | |
1087 covered by this License; they are outside its scope. The act of | |
1088 running the Program is not restricted, and the output from the Program | |
1089 is covered only if its contents constitute a work based on the | |
1090 Program (independent of having been made by running the Program). | |
1091 Whether that is true depends on what the Program does. | |
1092 | |
1093 @item | |
1094 You may copy and distribute verbatim copies of the Program's | |
1095 source code as you receive it, in any medium, provided that you | |
1096 conspicuously and appropriately publish on each copy an appropriate | |
1097 copyright notice and disclaimer of warranty; keep intact all the | |
1098 notices that refer to this License and to the absence of any warranty; | |
1099 and give any other recipients of the Program a copy of this License | |
1100 along with the Program. | |
1101 | |
1102 You may charge a fee for the physical act of transferring a copy, and | |
1103 you may at your option offer warranty protection in exchange for a fee. | |
1104 | |
1105 @item | |
1106 You may modify your copy or copies of the Program or any portion | |
1107 of it, thus forming a work based on the Program, and copy and | |
1108 distribute such modifications or work under the terms of Section 1 | |
1109 above, provided that you also meet all of these conditions: | |
1110 | |
1111 @enumerate a | |
1112 @item | |
1113 You must cause the modified files to carry prominent notices | |
1114 stating that you changed the files and the date of any change. | |
1115 | |
1116 @item | |
1117 You must cause any work that you distribute or publish, that in | |
1118 whole or in part contains or is derived from the Program or any | |
1119 part thereof, to be licensed as a whole at no charge to all third | |
1120 parties under the terms of this License. | |
1121 | |
1122 @item | |
1123 If the modified program normally reads commands interactively | |
1124 when run, you must cause it, when started running for such | |
1125 interactive use in the most ordinary way, to print or display an | |
1126 announcement including an appropriate copyright notice and a | |
1127 notice that there is no warranty (or else, saying that you provide | |
1128 a warranty) and that users may redistribute the program under | |
1129 these conditions, and telling the user how to view a copy of this | |
1130 License. (Exception: if the Program itself is interactive but | |
1131 does not normally print such an announcement, your work based on | |
1132 the Program is not required to print an announcement.) | |
1133 @end enumerate | |
1134 | |
1135 These requirements apply to the modified work as a whole. If | |
1136 identifiable sections of that work are not derived from the Program, | |
1137 and can be reasonably considered independent and separate works in | |
1138 themselves, then this License, and its terms, do not apply to those | |
1139 sections when you distribute them as separate works. But when you | |
1140 distribute the same sections as part of a whole which is a work based | |
1141 on the Program, the distribution of the whole must be on the terms of | |
1142 this License, whose permissions for other licensees extend to the | |
1143 entire whole, and thus to each and every part regardless of who wrote it. | |
1144 | |
1145 Thus, it is not the intent of this section to claim rights or contest | |
1146 your rights to work written entirely by you; rather, the intent is to | |
1147 exercise the right to control the distribution of derivative or | |
1148 collective works based on the Program. | |
1149 | |
1150 In addition, mere aggregation of another work not based on the Program | |
1151 with the Program (or with a work based on the Program) on a volume of | |
1152 a storage or distribution medium does not bring the other work under | |
1153 the scope of this License. | |
1154 | |
1155 @item | |
1156 You may copy and distribute the Program (or a work based on it, | |
1157 under Section 2) in object code or executable form under the terms of | |
1158 Sections 1 and 2 above provided that you also do one of the following: | |
1159 | |
1160 @enumerate a | |
1161 @item | |
1162 Accompany it with the complete corresponding machine-readable | |
1163 source code, which must be distributed under the terms of Sections | |
1164 1 and 2 above on a medium customarily used for software interchange; or, | |
1165 | |
1166 @item | |
1167 Accompany it with a written offer, valid for at least three | |
1168 years, to give any third party, for a charge no more than your | |
1169 cost of physically performing source distribution, a complete | |
1170 machine-readable copy of the corresponding source code, to be | |
1171 distributed under the terms of Sections 1 and 2 above on a medium | |
1172 customarily used for software interchange; or, | |
1173 | |
1174 @item | |
1175 Accompany it with the information you received as to the offer | |
1176 to distribute corresponding source code. (This alternative is | |
1177 allowed only for noncommercial distribution and only if you | |
1178 received the program in object code or executable form with such | |
1179 an offer, in accord with Subsection b above.) | |
1180 @end enumerate | |
1181 | |
1182 The source code for a work means the preferred form of the work for | |
1183 making modifications to it. For an executable work, complete source | |
1184 code means all the source code for all modules it contains, plus any | |
1185 associated interface definition files, plus the scripts used to | |
1186 control compilation and installation of the executable. However, as a | |
1187 special exception, the source code distributed need not include | |
1188 anything that is normally distributed (in either source or binary | |
1189 form) with the major components (compiler, kernel, and so on) of the | |
1190 operating system on which the executable runs, unless that component | |
1191 itself accompanies the executable. | |
1192 | |
1193 If distribution of executable or object code is made by offering | |
1194 access to copy from a designated place, then offering equivalent | |
1195 access to copy the source code from the same place counts as | |
1196 distribution of the source code, even though third parties are not | |
1197 compelled to copy the source along with the object code. | |
1198 | |
1199 @item | |
1200 You may not copy, modify, sublicense, or distribute the Program | |
1201 except as expressly provided under this License. Any attempt | |
1202 otherwise to copy, modify, sublicense or distribute the Program is | |
1203 void, and will automatically terminate your rights under this License. | |
1204 However, parties who have received copies, or rights, from you under | |
1205 this License will not have their licenses terminated so long as such | |
1206 parties remain in full compliance. | |
1207 | |
1208 @item | |
1209 You are not required to accept this License, since you have not | |
1210 signed it. However, nothing else grants you permission to modify or | |
1211 distribute the Program or its derivative works. These actions are | |
1212 prohibited by law if you do not accept this License. Therefore, by | |
1213 modifying or distributing the Program (or any work based on the | |
1214 Program), you indicate your acceptance of this License to do so, and | |
1215 all its terms and conditions for copying, distributing or modifying | |
1216 the Program or works based on it. | |
1217 | |
1218 @item | |
1219 Each time you redistribute the Program (or any work based on the | |
1220 Program), the recipient automatically receives a license from the | |
1221 original licensor to copy, distribute or modify the Program subject to | |
1222 these terms and conditions. You may not impose any further | |
1223 restrictions on the recipients' exercise of the rights granted herein. | |
1224 You are not responsible for enforcing compliance by third parties to | |
1225 this License. | |
1226 | |
1227 @item | |
1228 If, as a consequence of a court judgment or allegation of patent | |
1229 infringement or for any other reason (not limited to patent issues), | |
1230 conditions are imposed on you (whether by court order, agreement or | |
1231 otherwise) that contradict the conditions of this License, they do not | |
1232 excuse you from the conditions of this License. If you cannot | |
1233 distribute so as to satisfy simultaneously your obligations under this | |
1234 License and any other pertinent obligations, then as a consequence you | |
1235 may not distribute the Program at all. For example, if a patent | |
1236 license would not permit royalty-free redistribution of the Program by | |
1237 all those who receive copies directly or indirectly through you, then | |
1238 the only way you could satisfy both it and this License would be to | |
1239 refrain entirely from distribution of the Program. | |
1240 | |
1241 If any portion of this section is held invalid or unenforceable under | |
1242 any particular circumstance, the balance of the section is intended to | |
1243 apply and the section as a whole is intended to apply in other | |
1244 circumstances. | |
1245 | |
1246 It is not the purpose of this section to induce you to infringe any | |
1247 patents or other property right claims or to contest validity of any | |
1248 such claims; this section has the sole purpose of protecting the | |
1249 integrity of the free software distribution system, which is | |
1250 implemented by public license practices. Many people have made | |
1251 generous contributions to the wide range of software distributed | |
1252 through that system in reliance on consistent application of that | |
1253 system; it is up to the author/donor to decide if he or she is willing | |
1254 to distribute software through any other system and a licensee cannot | |
1255 impose that choice. | |
1256 | |
1257 This section is intended to make thoroughly clear what is believed to | |
1258 be a consequence of the rest of this License. | |
1259 | |
1260 @item | |
1261 If the distribution and/or use of the Program is restricted in | |
1262 certain countries either by patents or by copyrighted interfaces, the | |
1263 original copyright holder who places the Program under this License | |
1264 may add an explicit geographical distribution limitation excluding | |
1265 those countries, so that distribution is permitted only in or among | |
1266 countries not thus excluded. In such case, this License incorporates | |
1267 the limitation as if written in the body of this License. | |
1268 | |
1269 @item | |
1270 The Free Software Foundation may publish revised and/or new versions | |
1271 of the General Public License from time to time. Such new versions will | |
1272 be similar in spirit to the present version, but may differ in detail to | |
1273 address new problems or concerns. | |
1274 | |
1275 Each version is given a distinguishing version number. If the Program | |
1276 specifies a version number of this License which applies to it and ``any | |
36168
df827c1def99
Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents:
36153
diff
changeset
|
1277 later version,'' you have the option of following the terms and conditions |
24093 | 1278 either of that version or of any later version published by the Free |
1279 Software Foundation. If the Program does not specify a version number of | |
1280 this License, you may choose any version ever published by the Free Software | |
1281 Foundation. | |
1282 | |
1283 @item | |
1284 If you wish to incorporate parts of the Program into other free | |
1285 programs whose distribution conditions are different, write to the author | |
1286 to ask for permission. For software which is copyrighted by the Free | |
1287 Software Foundation, write to the Free Software Foundation; we sometimes | |
1288 make exceptions for this. Our decision will be guided by the two goals | |
1289 of preserving the free status of all derivatives of our free software and | |
1290 of promoting the sharing and reuse of software generally. | |
1291 | |
1292 @iftex | |
1293 @heading NO WARRANTY | |
1294 @end iftex | |
1295 @ifinfo | |
1296 @center NO WARRANTY | |
1297 @end ifinfo | |
1298 | |
1299 @item | |
1300 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | |
1301 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW@. EXCEPT WHEN | |
1302 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | |
1303 PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | |
1304 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
1305 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE@. THE ENTIRE RISK AS | |
1306 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU@. SHOULD THE | |
1307 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | |
1308 REPAIR OR CORRECTION. | |
1309 | |
1310 @item | |
1311 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | |
1312 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | |
1313 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | |
1314 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | |
1315 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | |
1316 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | |
1317 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | |
1318 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | |
1319 POSSIBILITY OF SUCH DAMAGES. | |
1320 @end enumerate | |
1321 | |
1322 @iftex | |
1323 @heading END OF TERMS AND CONDITIONS | |
1324 @end iftex | |
1325 @ifinfo | |
1326 @center END OF TERMS AND CONDITIONS | |
1327 @end ifinfo | |
1328 | |
1329 @page | |
1330 @unnumberedsec How to Apply These Terms to Your New Programs | |
1331 | |
1332 If you develop a new program, and you want it to be of the greatest | |
1333 possible use to the public, the best way to achieve this is to make it | |
1334 free software which everyone can redistribute and change under these terms. | |
1335 | |
1336 To do so, attach the following notices to the program. It is safest | |
1337 to attach them to the start of each source file to most effectively | |
1338 convey the exclusion of warranty; and each file should have at least | |
1339 the ``copyright'' line and a pointer to where the full notice is found. | |
1340 | |
1341 @smallexample | |
1342 @var{one line to give the program's name and an idea of what it does.} | |
1343 Copyright (C) 19@var{yy} @var{name of author} | |
1344 | |
1345 This program is free software; you can redistribute it and/or | |
1346 modify it under the terms of the GNU General Public License | |
1347 as published by the Free Software Foundation; either version 2 | |
1348 of the License, or (at your option) any later version. | |
1349 | |
1350 This program is distributed in the hope that it will be useful, | |
1351 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
1352 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the | |
1353 GNU General Public License for more details. | |
1354 | |
1355 You should have received a copy of the GNU General Public License along | |
1356 with this program; if not, write to the Free Software Foundation, Inc., | |
1357 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. | |
1358 @end smallexample | |
1359 | |
1360 Also add information on how to contact you by electronic and paper mail. | |
1361 | |
1362 If the program is interactive, make it output a short notice like this | |
1363 when it starts in an interactive mode: | |
1364 | |
1365 @smallexample | |
32113
a0915106b092
(Top): Update version in `Antinews' menu entry.
Miles Bader <miles@gnu.org>
parents:
31356
diff
changeset
|
1366 Gnomovision version 69, Copyright (C) 20@var{yy} @var{name of author} |
24093 | 1367 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details |
1368 type `show w'. This is free software, and you are welcome | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
1369 to redistribute it under certain conditions; type `show c' |
24093 | 1370 for details. |
1371 @end smallexample | |
1372 | |
1373 The hypothetical commands @samp{show w} and @samp{show c} should show | |
1374 the appropriate parts of the General Public License. Of course, the | |
1375 commands you use may be called something other than @samp{show w} and | |
1376 @samp{show c}; they could even be mouse-clicks or menu items---whatever | |
1377 suits your program. | |
1378 | |
1379 You should also get your employer (if you work as a programmer) or your | |
1380 school, if any, to sign a ``copyright disclaimer'' for the program, if | |
1381 necessary. Here is a sample; alter the names: | |
1382 | |
1383 @smallexample | |
1384 @group | |
1385 Yoyodyne, Inc., hereby disclaims all copyright | |
1386 interest in the program `Gnomovision' | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48531
diff
changeset
|
1387 (which makes passes at compilers) written |
24093 | 1388 by James Hacker. |
1389 | |
1390 @var{signature of Ty Coon}, 1 April 1989 | |
1391 Ty Coon, President of Vice | |
1392 @end group | |
1393 @end smallexample | |
1394 | |
1395 This General Public License does not permit incorporating your program into | |
1396 proprietary programs. If your program is a subroutine library, you may | |
1397 consider it more useful to permit linking proprietary applications with the | |
50753
dd4bc4fbaf67
Undo half of previous change.
Richard M. Stallman <rms@gnu.org>
parents:
50752
diff
changeset
|
1398 library. If this is what you want to do, use the GNU Library General |
24093 | 1399 Public License instead of this License. |
1400 | |
31309
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
1401 @include doclicense.texi |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
1402 |
979e66ba0c4a
Update for GFDL. Not yet checked by rms.
Dave Love <fx@gnu.org>
parents:
31144
diff
changeset
|
1403 @node Intro, Glossary, GNU Free Documentation License, Top |
24093 | 1404 @unnumbered Introduction |
1405 | |
1406 You are reading about GNU Emacs, the GNU incarnation of the advanced, | |
1407 self-documenting, customizable, extensible real-time display editor Emacs. | |
1408 (The `G' in `GNU' is not silent.) | |
1409 | |
1410 We say that Emacs is a @dfn{display} editor because normally the text | |
1411 being edited is visible on the screen and is updated automatically as you | |
1412 type your commands. @xref{Screen,Display}. | |
1413 | |
1414 We call it a @dfn{real-time} editor because the display is updated very | |
1415 frequently, usually after each character or pair of characters you | |
1416 type. This minimizes the amount of information you must keep in your | |
1417 head as you edit. @xref{Basic,Real-time,Basic Editing}. | |
1418 | |
1419 We call Emacs advanced because it provides facilities that go beyond | |
1420 simple insertion and deletion: controlling subprocesses; automatic | |
1421 indentation of programs; viewing two or more files at once; editing | |
1422 formatted text; and dealing in terms of characters, words, lines, | |
1423 sentences, paragraphs, and pages, as well as expressions and comments in | |
1424 several different programming languages. | |
1425 | |
1426 @dfn{Self-documenting} means that at any time you can type a special | |
1427 character, @kbd{Control-h}, to find out what your options are. You can | |
1428 also use it to find out what any command does, or to find all the commands | |
1429 that pertain to a topic. @xref{Help}. | |
1430 | |
1431 @dfn{Customizable} means that you can change the definitions of Emacs | |
1432 commands in little ways. For example, if you use a programming language in | |
1433 which comments start with @samp{<**} and end with @samp{**>}, you can tell | |
1434 the Emacs comment manipulation commands to use those strings | |
1435 (@pxref{Comments}). Another sort of customization is rearrangement of the | |
1436 command set. For example, if you prefer the four basic cursor motion | |
1437 commands (up, down, left and right) on keys in a diamond pattern on the | |
1438 keyboard, you can rebind the keys that way. @xref{Customization}. | |
1439 | |
1440 @dfn{Extensible} means that you can go beyond simple customization and | |
1441 write entirely new commands, programs in the Lisp language to be run by | |
1442 Emacs's own Lisp interpreter. Emacs is an ``on-line extensible'' | |
1443 system, which means that it is divided into many functions that call | |
1444 each other, any of which can be redefined in the middle of an editing | |
1445 session. Almost any part of Emacs can be replaced without making a | |
1446 separate copy of all of Emacs. Most of the editing commands of Emacs | |
38131 | 1447 are written in Lisp; the few exceptions could have been written |
24093 | 1448 in Lisp but are written in C for efficiency. Although only a programmer |
1449 can write an extension, anybody can use it afterward. If you want to | |
1450 learn Emacs Lisp programming, we recommend the @cite{Introduction to | |
1451 Emacs Lisp} by Robert J. Chassell, also published by the Free Software | |
1452 Foundation. | |
1453 | |
1454 When run under the X Window System, Emacs provides its own menus and | |
1455 convenient bindings to mouse buttons. But Emacs can provide many of the | |
1456 benefits of a window system on a text-only terminal. For instance, you | |
1457 can look at or edit several files at once, move text between files, and | |
1458 edit files while running shell commands. | |
1459 | |
1460 @include screen.texi | |
1461 @include commands.texi | |
1462 @include entering.texi | |
1463 @include basic.texi | |
1464 @include mini.texi | |
1465 @include m-x.texi | |
1466 @include help.texi | |
1467 @include mark.texi | |
1468 @include killing.texi | |
1469 @include regs.texi | |
1470 @include display.texi | |
1471 @include search.texi | |
1472 @include fixit.texi | |
52252
f8ba1a1de203
(Intro): Include kmacro.texi after fixit.texi instead of after
Luc Teirlinck <teirllm@auburn.edu>
parents:
52238
diff
changeset
|
1473 @include kmacro.texi |
24093 | 1474 @include files.texi |
1475 @include buffers.texi | |
1476 @include windows.texi | |
1477 @include frames.texi | |
1478 @include mule.texi | |
1479 @include major.texi | |
1480 @include indent.texi | |
1481 @include text.texi | |
1482 @include programs.texi | |
1483 @include building.texi | |
38199
01e8262e28af
Reorganize structure of Editing Programs,
Richard M. Stallman <rms@gnu.org>
parents:
38131
diff
changeset
|
1484 @include maintaining.texi |
24093 | 1485 @include abbrevs.texi |
1486 @include picture.texi | |
1487 @include sending.texi | |
1488 @include rmail.texi | |
1489 @include dired.texi | |
1490 @include calendar.texi | |
1491 @include misc.texi | |
1492 @include custom.texi | |
1493 @include trouble.texi | |
1494 @include cmdargs.texi | |
40525
b8d0024c4e37
@include xresources.texi.
Richard M. Stallman <rms@gnu.org>
parents:
40520
diff
changeset
|
1495 @include xresources.texi |
24093 | 1496 |
1497 @include anti.texi | |
34199 | 1498 @include macos.texi |
24093 | 1499 @include msdog.texi |
1500 @include gnu.texi | |
1501 @include glossary.texi | |
55626 | 1502 @ifnottex |
24093 | 1503 @include ack.texi |
55626 | 1504 @end ifnottex |
24093 | 1505 |
37452
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1506 @c The Option Index is produced only in the on-line version, |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1507 @c because the index entries related to command-line options |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1508 @c tend to point to the same pages and all begin with a dash. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1509 @c This, and the need to keep the node links consistent, are |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1510 @c the reasons for the funky @iftex/@ifnottex dance below. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1511 @c The Option Index is _not_ before Key Index, because that |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1512 @c would require changes in the glossary.texi's @node line. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1513 @c It is not after Concept Index for similar reasons. |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1514 |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1515 @iftex |
24093 | 1516 @node Key Index, Command Index, Glossary, Top |
1517 @unnumbered Key (Character) Index | |
1518 @printindex ky | |
37452
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1519 @end iftex |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1520 |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1521 @ifnottex |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1522 @node Key Index, Option Index, Glossary, Top |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1523 @unnumbered Key (Character) Index |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1524 @printindex ky |
24093 | 1525 |
37452
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1526 @node Option Index, Command Index, Key Index, Top |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1527 @unnumbered Command-Line Options Index |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1528 @printindex op |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1529 |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1530 @node Command Index, Variable Index, Option Index, Top |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1531 @unnumbered Command and Function Index |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1532 @printindex fn |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1533 @end ifnottex |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1534 |
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1535 @iftex |
24093 | 1536 @node Command Index, Variable Index, Key Index, Top |
1537 @unnumbered Command and Function Index | |
1538 @printindex fn | |
37452
794af8f5baeb
Add Option Index, produced only in the on-line version of the manual.
Eli Zaretskii <eliz@gnu.org>
parents:
37247
diff
changeset
|
1539 @end iftex |
24093 | 1540 |
1541 @node Variable Index, Concept Index, Command Index, Top | |
1542 @unnumbered Variable Index | |
1543 @printindex vr | |
1544 | |
1545 @node Concept Index, Acknowledgments, Variable Index, Top | |
1546 @unnumbered Concept Index | |
1547 @printindex cp | |
1548 | |
1549 @summarycontents | |
1550 @contents | |
1551 @bye | |
1552 | |
52401 | 1553 @ignore |
1554 arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392 | |
1555 @end ignore |