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