root/branches/2.1/info/emacs-2

Revision 3212, 49.8 kB (checked in by miyoshi, 5 years ago)

Sync up with Emacs-21.3.

Line 
1 This is ../info/emacs, produced by makeinfo version 4.3 from emacs.texi.
2
3    This is the Fourteenth edition of the `GNU Emacs Manual', updated
4 for Emacs version 21.3.
5
6 INFO-DIR-SECTION Emacs
7 START-INFO-DIR-ENTRY
8 * Emacs: (emacs).       The extensible self-documenting text editor.
9 END-INFO-DIR-ENTRY
10
11    Published by the Free Software Foundation 59 Temple Place, Suite 330
12 Boston, MA  02111-1307 USA
13
14    Copyright (C)
15 1985,1986,1987,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002
16 Free Software Foundation, Inc.
17
18    Permission is granted to copy, distribute and/or modify this document
19 under the terms of the GNU Free Documentation License, Version 1.1 or
20 any later version published by the Free Software Foundation; with the
21 Invariant Sections being "The GNU Manifesto", "Distribution" and "GNU
22 GENERAL PUBLIC LICENSE", with the Front-Cover texts being "A GNU
23 Manual," and with the Back-Cover Texts as in (a) below.  A copy of the
24 license is included in the section entitled "GNU Free Documentation
25 License."
26
27    (a) The FSF's Back-Cover Text is: "You have freedom to copy and
28 modify this GNU Manual, like GNU software.  Copies published by the Free
29 Software Foundation raise funds for GNU development."
30
31 
32 File: emacs,  Node: Copying,  Next: GNU Free Documentation License,  Prev: Distrib,  Up: Top
33
34 GNU GENERAL PUBLIC LICENSE
35 **************************
36
37                          Version 2, June 1991
38      Copyright (C) 1989, 1991 Free Software Foundation, Inc.
39      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
40      
41      Everyone is permitted to copy and distribute verbatim copies
42      of this license document, but changing it is not allowed.
43
44 Preamble
45 ========
46
47    The licenses for most software are designed to take away your
48 freedom to share and change it.  By contrast, the GNU General Public
49 License is intended to guarantee your freedom to share and change free
50 software--to make sure the software is free for all its users.  This
51 General Public License applies to most of the Free Software
52 Foundation's software and to any other program whose authors commit to
53 using it.  (Some other Free Software Foundation software is covered by
54 the GNU Library General Public License instead.)  You can apply it to
55 your programs, too.
56
57    When we speak of free software, we are referring to freedom, not
58 price.  Our General Public Licenses are designed to make sure that you
59 have the freedom to distribute copies of free software (and charge for
60 this service if you wish), that you receive source code or can get it
61 if you want it, that you can change the software or use pieces of it in
62 new free programs; and that you know you can do these things.
63
64    To protect your rights, we need to make restrictions that forbid
65 anyone to deny you these rights or to ask you to surrender the rights.
66 These restrictions translate to certain responsibilities for you if you
67 distribute copies of the software, or if you modify it.
68
69    For example, if you distribute copies of such a program, whether
70 gratis or for a fee, you must give the recipients all the rights that
71 you have.  You must make sure that they, too, receive or can get the
72 source code.  And you must show them these terms so they know their
73 rights.
74
75    We protect your rights with two steps: (1) copyright the software,
76 and (2) offer you this license which gives you legal permission to copy,
77 distribute and/or modify the software.
78
79    Also, for each author's protection and ours, we want to make certain
80 that everyone understands that there is no warranty for this free
81 software.  If the software is modified by someone else and passed on, we
82 want its recipients to know that what they have is not the original, so
83 that any problems introduced by others will not reflect on the original
84 authors' reputations.
85
86    Finally, any free program is threatened constantly by software
87 patents.  We wish to avoid the danger that redistributors of a free
88 program will individually obtain patent licenses, in effect making the
89 program proprietary.  To prevent this, we have made it clear that any
90 patent must be licensed for everyone's free use or not licensed at all.
91
92    The precise terms and conditions for copying, distribution and
93 modification follow.
94
95     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
96   0. This License applies to any program or other work which contains a
97      notice placed by the copyright holder saying it may be distributed
98      under the terms of this General Public License.  The "Program,"
99      below, refers to any such program or work, and a "work based on
100      the Program" means either the Program or any derivative work under
101      copyright law: that is to say, a work containing the Program or a
102      portion of it, either verbatim or with modifications and/or
103      translated into another language.  (Hereinafter, translation is
104      included without limitation in the term "modification.")  Each
105      licensee is addressed as "you."
106
107      Activities other than copying, distribution and modification are
108      not covered by this License; they are outside its scope.  The act
109      of running the Program is not restricted, and the output from the
110      Program is covered only if its contents constitute a work based on
111      the Program (independent of having been made by running the
112      Program).  Whether that is true depends on what the Program does.
113
114   1. You may copy and distribute verbatim copies of the Program's
115      source code as you receive it, in any medium, provided that you
116      conspicuously and appropriately publish on each copy an appropriate
117      copyright notice and disclaimer of warranty; keep intact all the
118      notices that refer to this License and to the absence of any
119      warranty; and give any other recipients of the Program a copy of
120      this License along with the Program.
121
122      You may charge a fee for the physical act of transferring a copy,
123      and you may at your option offer warranty protection in exchange
124      for a fee.
125
126   2. You may modify your copy or copies of the Program or any portion
127      of it, thus forming a work based on the Program, and copy and
128      distribute such modifications or work under the terms of Section 1
129      above, provided that you also meet all of these conditions:
130
131        a. You must cause the modified files to carry prominent notices
132           stating that you changed the files and the date of any change.
133
134        b. You must cause any work that you distribute or publish, that
135           in whole or in part contains or is derived from the Program
136           or any part thereof, to be licensed as a whole at no charge
137           to all third parties under the terms of this License.
138
139        c. If the modified program normally reads commands interactively
140           when run, you must cause it, when started running for such
141           interactive use in the most ordinary way, to print or display
142           an announcement including an appropriate copyright notice and
143           a notice that there is no warranty (or else, saying that you
144           provide a warranty) and that users may redistribute the
145           program under these conditions, and telling the user how to
146           view a copy of this License.  (Exception: if the Program
147           itself is interactive but does not normally print such an
148           announcement, your work based on the Program is not required
149           to print an announcement.)
150
151      These requirements apply to the modified work as a whole.  If
152      identifiable sections of that work are not derived from the
153      Program, and can be reasonably considered independent and separate
154      works in themselves, then this License, and its terms, do not
155      apply to those sections when you distribute them as separate
156      works.  But when you distribute the same sections as part of a
157      whole which is a work based on the Program, the distribution of
158      the whole must be on the terms of this License, whose permissions
159      for other licensees extend to the entire whole, and thus to each
160      and every part regardless of who wrote it.
161
162      Thus, it is not the intent of this section to claim rights or
163      contest your rights to work written entirely by you; rather, the
164      intent is to exercise the right to control the distribution of
165      derivative or collective works based on the Program.
166
167      In addition, mere aggregation of another work not based on the
168      Program with the Program (or with a work based on the Program) on
169      a volume of a storage or distribution medium does not bring the
170      other work under the scope of this License.
171
172   3. You may copy and distribute the Program (or a work based on it,
173      under Section 2) in object code or executable form under the terms
174      of Sections 1 and 2 above provided that you also do one of the
175      following:
176
177        a. Accompany it with the complete corresponding machine-readable
178           source code, which must be distributed under the terms of
179           Sections 1 and 2 above on a medium customarily used for
180           software interchange; or,
181
182        b. Accompany it with a written offer, valid for at least three
183           years, to give any third party, for a charge no more than your
184           cost of physically performing source distribution, a complete
185           machine-readable copy of the corresponding source code, to be
186           distributed under the terms of Sections 1 and 2 above on a
187           medium customarily used for software interchange; or,
188
189        c. Accompany it with the information you received as to the offer
190           to distribute corresponding source code.  (This alternative is
191           allowed only for noncommercial distribution and only if you
192           received the program in object code or executable form with
193           such an offer, in accord with Subsection b above.)
194
195      The source code for a work means the preferred form of the work for
196      making modifications to it.  For an executable work, complete
197      source code means all the source code for all modules it contains,
198      plus any associated interface definition files, plus the scripts
199      used to control compilation and installation of the executable.
200      However, as a special exception, the source code distributed need
201      not include anything that is normally distributed (in either
202      source or binary form) with the major components (compiler,
203      kernel, and so on) of the operating system on which the executable
204      runs, unless that component itself accompanies the executable.
205
206      If distribution of executable or object code is made by offering
207      access to copy from a designated place, then offering equivalent
208      access to copy the source code from the same place counts as
209      distribution of the source code, even though third parties are not
210      compelled to copy the source along with the object code.
211
212   4. You may not copy, modify, sublicense, or distribute the Program
213      except as expressly provided under this License.  Any attempt
214      otherwise to copy, modify, sublicense or distribute the Program is
215      void, and will automatically terminate your rights under this
216      License.  However, parties who have received copies, or rights,
217      from you under this License will not have their licenses
218      terminated so long as such parties remain in full compliance.
219
220   5. You are not required to accept this License, since you have not
221      signed it.  However, nothing else grants you permission to modify
222      or distribute the Program or its derivative works.  These actions
223      are prohibited by law if you do not accept this License.
224      Therefore, by modifying or distributing the Program (or any work
225      based on the Program), you indicate your acceptance of this
226      License to do so, and all its terms and conditions for copying,
227      distributing or modifying the Program or works based on it.
228
229   6. Each time you redistribute the Program (or any work based on the
230      Program), the recipient automatically receives a license from the
231      original licensor to copy, distribute or modify the Program
232      subject to these terms and conditions.  You may not impose any
233      further restrictions on the recipients' exercise of the rights
234      granted herein.  You are not responsible for enforcing compliance
235      by third parties to this License.
236
237   7. If, as a consequence of a court judgment or allegation of patent
238      infringement or for any other reason (not limited to patent
239      issues), conditions are imposed on you (whether by court order,
240      agreement or otherwise) that contradict the conditions of this
241      License, they do not excuse you from the conditions of this
242      License.  If you cannot distribute so as to satisfy simultaneously
243      your obligations under this License and any other pertinent
244      obligations, then as a consequence you may not distribute the
245      Program at all.  For example, if a patent license would not permit
246      royalty-free redistribution of the Program by all those who
247      receive copies directly or indirectly through you, then the only
248      way you could satisfy both it and this License would be to refrain
249      entirely from distribution of the Program.
250
251      If any portion of this section is held invalid or unenforceable
252      under any particular circumstance, the balance of the section is
253      intended to apply and the section as a whole is intended to apply
254      in other circumstances.
255
256      It is not the purpose of this section to induce you to infringe any
257      patents or other property right claims or to contest validity of
258      any such claims; this section has the sole purpose of protecting
259      the integrity of the free software distribution system, which is
260      implemented by public license practices.  Many people have made
261      generous contributions to the wide range of software distributed
262      through that system in reliance on consistent application of that
263      system; it is up to the author/donor to decide if he or she is
264      willing to distribute software through any other system and a
265      licensee cannot impose that choice.
266
267      This section is intended to make thoroughly clear what is believed
268      to be a consequence of the rest of this License.
269
270   8. If the distribution and/or use of the Program is restricted in
271      certain countries either by patents or by copyrighted interfaces,
272      the original copyright holder who places the Program under this
273      License may add an explicit geographical distribution limitation
274      excluding those countries, so that distribution is permitted only
275      in or among countries not thus excluded.  In such case, this
276      License incorporates the limitation as if written in the body of
277      this License.
278
279   9. The Free Software Foundation may publish revised and/or new
280      versions of the General Public License from time to time.  Such
281      new versions will be similar in spirit to the present version, but
282      may differ in detail to address new problems or concerns.
283
284      Each version is given a distinguishing version number.  If the
285      Program specifies a version number of this License which applies
286      to it and "any later version," you have the option of following
287      the terms and conditions either of that version or of any later
288      version published by the Free Software Foundation.  If the Program
289      does not specify a version number of this License, you may choose
290      any version ever published by the Free Software Foundation.
291
292  10. If you wish to incorporate parts of the Program into other free
293      programs whose distribution conditions are different, write to the
294      author to ask for permission.  For software which is copyrighted
295      by the Free Software Foundation, write to the Free Software
296      Foundation; we sometimes make exceptions for this.  Our decision
297      will be guided by the two goals of preserving the free status of
298      all derivatives of our free software and of promoting the sharing
299      and reuse of software generally.
300
301                                 NO WARRANTY
302
303  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
304      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
305      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
306      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
307      WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
308      NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
309      FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
310      QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
311      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
312      SERVICING, REPAIR OR CORRECTION.
313
314  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
315      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
316      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
317      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
318      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
319      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
320      DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
321      OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
322      OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
323      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
324
325                       END OF TERMS AND CONDITIONS
326
327 How to Apply These Terms to Your New Programs
328 =============================================
329
330    If you develop a new program, and you want it to be of the greatest
331 possible use to the public, the best way to achieve this is to make it
332 free software which everyone can redistribute and change under these
333 terms.
334
335    To do so, attach the following notices to the program.  It is safest
336 to attach them to the start of each source file to most effectively
337 convey the exclusion of warranty; and each file should have at least
338 the "copyright" line and a pointer to where the full notice is found.
339
340      ONE LINE TO GIVE THE PROGRAM'S NAME AND AN IDEA OF WHAT IT DOES.
341      Copyright (C) 19YY  NAME OF AUTHOR
342      
343      This program is free software; you can redistribute it and/or
344      modify it under the terms of the GNU General Public License
345      as published by the Free Software Foundation; either version 2
346      of the License, or (at your option) any later version.
347      
348      This program is distributed in the hope that it will be useful,
349      but WITHOUT ANY WARRANTY; without even the implied warranty of
350      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
351      GNU General Public License for more details.
352      
353      You should have received a copy of the GNU General Public License along
354      with this program; if not, write to the Free Software Foundation, Inc.,
355      59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
356
357    Also add information on how to contact you by electronic and paper
358 mail.
359
360    If the program is interactive, make it output a short notice like
361 this when it starts in an interactive mode:
362
363      Gnomovision version 69, Copyright (C) 20YY NAME OF AUTHOR
364      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
365      type `show w'.  This is free software, and you are welcome
366      to redistribute it under certain conditions; type `show c'
367      for details.
368
369    The hypothetical commands `show w' and `show c' should show the
370 appropriate parts of the General Public License.  Of course, the
371 commands you use may be called something other than `show w' and `show
372 c'; they could even be mouse-clicks or menu items--whatever suits your
373 program.
374
375    You should also get your employer (if you work as a programmer) or
376 your school, if any, to sign a "copyright disclaimer" for the program,
377 if necessary.  Here is a sample; alter the names:
378
379      Yoyodyne, Inc., hereby disclaims all copyright
380      interest in the program `Gnomovision'
381      (which makes passes at compilers) written
382      by James Hacker.
383      
384      SIGNATURE OF TY COON, 1 April 1989
385      Ty Coon, President of Vice
386
387    This General Public License does not permit incorporating your
388 program into proprietary programs.  If your program is a subroutine
389 library, you may consider it more useful to permit linking proprietary
390 applications with the library.  If this is what you want to do, use the
391 GNU Library General Public License instead of this License.
392
393 
394 File: emacs,  Node: GNU Free Documentation License,  Next: Intro,  Prev: Copying,  Up: Top
395
396 GNU Free Documentation License
397 ******************************
398
399                         Version 1.1, March 2000
400      Copyright (C) 2000  Free Software Foundation, Inc.
401      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
402      
403      Everyone is permitted to copy and distribute verbatim copies
404      of this license document, but changing it is not allowed.
405
406
407   0. PREAMBLE
408
409      The purpose of this License is to make a manual, textbook, or other
410      written document "free" in the sense of freedom: to assure everyone
411      the effective freedom to copy and redistribute it, with or without
412      modifying it, either commercially or noncommercially.  Secondarily,
413      this License preserves for the author and publisher a way to get
414      credit for their work, while not being considered responsible for
415      modifications made by others.
416
417      This License is a kind of "copyleft", which means that derivative
418      works of the document must themselves be free in the same sense.
419      It complements the GNU General Public License, which is a copyleft
420      license designed for free software.
421
422      We have designed this License in order to use it for manuals for
423      free software, because free software needs free documentation: a
424      free program should come with manuals providing the same freedoms
425      that the software does.  But this License is not limited to
426      software manuals; it can be used for any textual work, regardless
427      of subject matter or whether it is published as a printed book.
428      We recommend this License principally for works whose purpose is
429      instruction or reference.
430
431
432   1. APPLICABILITY AND DEFINITIONS
433
434      This License applies to any manual or other work that contains a
435      notice placed by the copyright holder saying it can be distributed
436      under the terms of this License.  The "Document", below, refers to
437      any such manual or work.  Any member of the public is a licensee,
438      and is addressed as "you."
439
440      A "Modified Version" of the Document means any work containing the
441      Document or a portion of it, either copied verbatim, or with
442      modifications and/or translated into another language.
443
444      A "Secondary Section" is a named appendix or a front-matter
445      section of the Document that deals exclusively with the
446      relationship of the publishers or authors of the Document to the
447      Document's overall subject (or to related matters) and contains
448      nothing that could fall directly within that overall subject.
449      (For example, if the Document is in part a textbook of
450      mathematics, a Secondary Section may not explain any mathematics.)
451      The relationship could be a matter of historical connection with
452      the subject or with related matters, or of legal, commercial,
453      philosophical, ethical or political position regarding them.
454
455      The "Invariant Sections" are certain Secondary Sections whose
456      titles are designated, as being those of Invariant Sections, in
457      the notice that says that the Document is released under this
458      License.
459
460      The "Cover Texts" are certain short passages of text that are
461      listed, as Front-Cover Texts or Back-Cover Texts, in the notice
462      that says that the Document is released under this License.
463
464      A "Transparent" copy of the Document means a machine-readable copy,
465      represented in a format whose specification is available to the
466      general public, whose contents can be viewed and edited directly
467      and straightforwardly with generic text editors or (for images
468      composed of pixels) generic paint programs or (for drawings) some
469      widely available drawing editor, and that is suitable for input to
470      text formatters or for automatic translation to a variety of
471      formats suitable for input to text formatters.  A copy made in an
472      otherwise Transparent file format whose markup has been designed
473      to thwart or discourage subsequent modification by readers is not
474      Transparent.  A copy that is not "Transparent" is called "Opaque."
475
476      Examples of suitable formats for Transparent copies include plain
477      ASCII without markup, Texinfo input format, LaTeX input format,
478      SGML or XML using a publicly available DTD, and
479      standard-conforming simple HTML designed for human modification.
480      Opaque formats include PostScript, PDF, proprietary formats that
481      can be read and edited only by proprietary word processors, SGML
482      or XML for which the DTD and/or processing tools are not generally
483      available, and the machine-generated HTML produced by some word
484      processors for output purposes only.
485
486      The "Title Page" means, for a printed book, the title page itself,
487      plus such following pages as are needed to hold, legibly, the
488      material this License requires to appear in the title page.  For
489      works in formats which do not have any title page as such, "Title
490      Page" means the text near the most prominent appearance of the
491      work's title, preceding the beginning of the body of the text.
492
493   2. VERBATIM COPYING
494
495      You may copy and distribute the Document in any medium, either
496      commercially or noncommercially, provided that this License, the
497      copyright notices, and the license notice saying this License
498      applies to the Document are reproduced in all copies, and that you
499      add no other conditions whatsoever to those of this License.  You
500      may not use technical measures to obstruct or control the reading
501      or further copying of the copies you make or distribute.  However,
502      you may accept compensation in exchange for copies.  If you
503      distribute a large enough number of copies you must also follow
504      the conditions in section 3.
505
506      You may also lend copies, under the same conditions stated above,
507      and you may publicly display copies.
508
509   3. COPYING IN QUANTITY
510
511      If you publish printed copies of the Document numbering more than
512      100, and the Document's license notice requires Cover Texts, you
513      must enclose the copies in covers that carry, clearly and legibly,
514      all these Cover Texts: Front-Cover Texts on the front cover, and
515      Back-Cover Texts on the back cover.  Both covers must also clearly
516      and legibly identify you as the publisher of these copies.  The
517      front cover must present the full title with all words of the
518      title equally prominent and visible.  You may add other material
519      on the covers in addition.  Copying with changes limited to the
520      covers, as long as they preserve the title of the Document and
521      satisfy these conditions, can be treated as verbatim copying in
522      other respects.
523
524      If the required texts for either cover are too voluminous to fit
525      legibly, you should put the first ones listed (as many as fit
526      reasonably) on the actual cover, and continue the rest onto
527      adjacent pages.
528
529      If you publish or distribute Opaque copies of the Document
530      numbering more than 100, you must either include a
531      machine-readable Transparent copy along with each Opaque copy, or
532      state in or with each Opaque copy a publicly-accessible
533      computer-network location containing a complete Transparent copy
534      of the Document, free of added material, which the general
535      network-using public has access to download anonymously at no
536      charge using public-standard network protocols.  If you use the
537      latter option, you must take reasonably prudent steps, when you
538      begin distribution of Opaque copies in quantity, to ensure that
539      this Transparent copy will remain thus accessible at the stated
540      location until at least one year after the last time you
541      distribute an Opaque copy (directly or through your agents or
542      retailers) of that edition to the public.
543
544      It is requested, but not required, that you contact the authors of
545      the Document well before redistributing any large number of
546      copies, to give them a chance to provide you with an updated
547      version of the Document.
548
549   4. MODIFICATIONS
550
551      You may copy and distribute a Modified Version of the Document
552      under the conditions of sections 2 and 3 above, provided that you
553      release the Modified Version under precisely this License, with
554      the Modified Version filling the role of the Document, thus
555      licensing distribution and modification of the Modified Version to
556      whoever possesses a copy of it.  In addition, you must do these
557      things in the Modified Version:
558
559      A. Use in the Title Page (and on the covers, if any) a title
560      distinct    from that of the Document, and from those of previous
561      versions    (which should, if there were any, be listed in the
562      History section    of the Document).  You may use the same title
563      as a previous version    if the original publisher of that version
564      gives permission.
565      B. List on the Title Page, as authors, one or more persons or
566      entities    responsible for authorship of the modifications in the
567      Modified    Version, together with at least five of the principal
568      authors of the    Document (all of its principal authors, if it
569      has less than five).
570      C. State on the Title page the name of the publisher of the
571      Modified Version, as the publisher.
572      D. Preserve all the copyright notices of the Document.
573      E. Add an appropriate copyright notice for your modifications
574      adjacent to the other copyright notices.
575      F. Include, immediately after the copyright notices, a license
576      notice    giving the public permission to use the Modified Version
577      under the    terms of this License, in the form shown in the
578      Addendum below.
579      G. Preserve in that license notice the full lists of Invariant
580      Sections    and required Cover Texts given in the Document's
581      license notice.
582      H. Include an unaltered copy of this License.
583      I. Preserve the section entitled "History", and its title, and add
584      to    it an item stating at least the title, year, new authors, and
585        publisher of the Modified Version as given on the Title Page.
586      If    there is no section entitled "History" in the Document,
587      create one    stating the title, year, authors, and publisher of
588      the Document as    given on its Title Page, then add an item
589      describing the Modified    Version as stated in the previous
590      sentence.
591      J. Preserve the network location, if any, given in the Document for
592        public access to a Transparent copy of the Document, and
593      likewise    the network locations given in the Document for
594      previous versions    it was based on.  These may be placed in the
595      "History" section.     You may omit a network location for a work
596      that was published at    least four years before the Document
597      itself, or if the original    publisher of the version it refers
598      to gives permission.
599      K. In any section entitled "Acknowledgements" or "Dedications",
600      preserve the section's title, and preserve in the section all the
601       substance and tone of each of the contributor acknowledgements
602      and/or dedications given therein.
603      L. Preserve all the Invariant Sections of the Document,
604      unaltered in their text and in their titles.  Section numbers
605      or the equivalent are not considered part of the section titles.
606      M. Delete any section entitled "Endorsements."  Such a section
607      may not be included in the Modified Version.
608      N. Do not retitle any existing section as "Endorsements"    or to
609      conflict in title with any Invariant Section.
610
611      If the Modified Version includes new front-matter sections or
612      appendices that qualify as Secondary Sections and contain no
613      material copied from the Document, you may at your option
614      designate some or all of these sections as invariant.  To do this,
615      add their titles to the list of Invariant Sections in the Modified
616      Version's license notice.  These titles must be distinct from any
617      other section titles.
618
619      You may add a section entitled "Endorsements", provided it contains
620      nothing but endorsements of your Modified Version by various
621      parties-for example, statements of peer review or that the text has
622      been approved by an organization as the authoritative definition
623      of a standard.
624
625      You may add a passage of up to five words as a Front-Cover Text,
626      and a passage of up to 25 words as a Back-Cover Text, to the end
627      of the list of Cover Texts in the Modified Version.  Only one
628      passage of Front-Cover Text and one of Back-Cover Text may be
629      added by (or through arrangements made by) any one entity.  If the
630      Document already includes a cover text for the same cover,
631      previously added by you or by arrangement made by the same entity
632      you are acting on behalf of, you may not add another; but you may
633      replace the old one, on explicit permission from the previous
634      publisher that added the old one.
635
636      The author(s) and publisher(s) of the Document do not by this
637      License give permission to use their names for publicity for or to
638      assert or imply endorsement of any Modified Version.
639
640   5. COMBINING DOCUMENTS
641
642      You may combine the Document with other documents released under
643      this License, under the terms defined in section 4 above for
644      modified versions, provided that you include in the combination
645      all of the Invariant Sections of all of the original documents,
646      unmodified, and list them all as Invariant Sections of your
647      combined work in its license notice.
648
649      The combined work need only contain one copy of this License, and
650      multiple identical Invariant Sections may be replaced with a single
651      copy.  If there are multiple Invariant Sections with the same name
652      but different contents, make the title of each such section unique
653      by adding at the end of it, in parentheses, the name of the
654      original author or publisher of that section if known, or else a
655      unique number.  Make the same adjustment to the section titles in
656      the list of Invariant Sections in the license notice of the
657      combined work.
658
659      In the combination, you must combine any sections entitled
660      "History" in the various original documents, forming one section
661      entitled "History"; likewise combine any sections entitled
662      "Acknowledgements", and any sections entitled "Dedications."  You
663      must delete all sections entitled "Endorsements."
664
665   6. COLLECTIONS OF DOCUMENTS
666
667      You may make a collection consisting of the Document and other
668      documents released under this License, and replace the individual
669      copies of this License in the various documents with a single copy
670      that is included in the collection, provided that you follow the
671      rules of this License for verbatim copying of each of the
672      documents in all other respects.
673
674      You may extract a single document from such a collection, and
675      distribute it individually under this License, provided you insert
676      a copy of this License into the extracted document, and follow
677      this License in all other respects regarding verbatim copying of
678      that document.
679
680   7. AGGREGATION WITH INDEPENDENT WORKS
681
682      A compilation of the Document or its derivatives with other
683      separate and independent documents or works, in or on a volume of
684      a storage or distribution medium, does not as a whole count as a
685      Modified Version of the Document, provided no compilation
686      copyright is claimed for the compilation.  Such a compilation is
687      called an "aggregate", and this License does not apply to the
688      other self-contained works thus compiled with the Document, on
689      account of their being thus compiled, if they are not themselves
690      derivative works of the Document.
691
692      If the Cover Text requirement of section 3 is applicable to these
693      copies of the Document, then if the Document is less than one
694      quarter of the entire aggregate, the Document's Cover Texts may be
695      placed on covers that surround only the Document within the
696      aggregate.  Otherwise they must appear on covers around the whole
697      aggregate.
698
699   8. TRANSLATION
700
701      Translation is considered a kind of modification, so you may
702      distribute translations of the Document under the terms of section
703      4.  Replacing Invariant Sections with translations requires special
704      permission from their copyright holders, but you may include
705      translations of some or all Invariant Sections in addition to the
706      original versions of these Invariant Sections.  You may include a
707      translation of this License provided that you also include the
708      original English version of this License.  In case of a
709      disagreement between the translation and the original English
710      version of this License, the original English version will prevail.
711
712   9. TERMINATION
713
714      You may not copy, modify, sublicense, or distribute the Document
715      except as expressly provided for under this License.  Any other
716      attempt to copy, modify, sublicense or distribute the Document is
717      void, and will automatically terminate your rights under this
718      License.  However, parties who have received copies, or rights,
719      from you under this License will not have their licenses
720      terminated so long as such parties remain in full compliance.
721
722  10. FUTURE REVISIONS OF THIS LICENSE
723
724      The Free Software Foundation may publish new, revised versions of
725      the GNU Free Documentation License from time to time.  Such new
726      versions will be similar in spirit to the present version, but may
727      differ in detail to address new problems or concerns.  See
728      http://www.gnu.org/copyleft/.
729
730      Each version of the License is given a distinguishing version
731      number.  If the Document specifies that a particular numbered
732      version of this License "or any later version" applies to it, you
733      have the option of following the terms and conditions either of
734      that specified version or of any later version that has been
735      published (not as a draft) by the Free Software Foundation.  If
736      the Document does not specify a version number of this License,
737      you may choose any version ever published (not as a draft) by the
738      Free Software Foundation.
739
740
741 ADDENDUM: How to use this License for your documents
742 ====================================================
743
744    To use this License in a document you have written, include a copy of
745 the License in the document and put the following copyright and license
746 notices just after the title page:
747
748      Copyright (C)  YEAR  YOUR NAME.
749      Permission is granted to copy, distribute and/or modify this document
750      under the terms of the GNU Free Documentation License, Version 1.1
751      or any later version published by the Free Software Foundation;
752      with the Invariant Sections being LIST THEIR TITLES, with the
753      Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
754      A copy of the license is included in the section entitled "GNU
755      Free Documentation License."
756
757    If you have no Invariant Sections, write "with no Invariant Sections"
758 instead of saying which ones are invariant.  If you have no Front-Cover
759 Texts, write "no Front-Cover Texts" instead of "Front-Cover Texts being
760 LIST"; likewise for Back-Cover Texts.
761
762    If your document contains nontrivial examples of program code, we
763 recommend releasing these examples in parallel under your choice of
764 free software license, such as the GNU General Public License, to
765 permit their use in free software.
766
767 
768 File: emacs,  Node: Intro,  Next: Glossary,  Prev: GNU Free Documentation License,  Up: Top
769
770 Introduction
771 ************
772
773    You are reading about GNU Emacs, the GNU incarnation of the advanced,
774 self-documenting, customizable, extensible real-time display editor
775 Emacs.  (The `G' in `GNU' is not silent.)
776
777    We say that Emacs is a "display" editor because normally the text
778 being edited is visible on the screen and is updated automatically as
779 you type your commands.  *Note Display: Screen.
780
781    We call it a "real-time" editor because the display is updated very
782 frequently, usually after each character or pair of characters you
783 type.  This minimizes the amount of information you must keep in your
784 head as you edit.  *Note Real-time: Basic.
785
786    We call Emacs advanced because it provides facilities that go beyond
787 simple insertion and deletion: controlling subprocesses; automatic
788 indentation of programs; viewing two or more files at once; editing
789 formatted text; and dealing in terms of characters, words, lines,
790 sentences, paragraphs, and pages, as well as expressions and comments in
791 several different programming languages.
792
793    "Self-documenting" means that at any time you can type a special
794 character, `Control-h', to find out what your options are.  You can
795 also use it to find out what any command does, or to find all the
796 commands that pertain to a topic.  *Note Help::.
797
798    "Customizable" means that you can change the definitions of Emacs
799 commands in little ways.  For example, if you use a programming
800 language in which comments start with `<**' and end with `**>', you can
801 tell the Emacs comment manipulation commands to use those strings
802 (*note Comments::).  Another sort of customization is rearrangement of
803 the command set.  For example, if you prefer the four basic cursor
804 motion commands (up, down, left and right) on keys in a diamond pattern
805 on the keyboard, you can rebind the keys that way.  *Note
806 Customization::.
807
808    "Extensible" means that you can go beyond simple customization and
809 write entirely new commands, programs in the Lisp language to be run by
810 Emacs's own Lisp interpreter.  Emacs is an "on-line extensible" system,
811 which means that it is divided into many functions that call each
812 other, any of which can be redefined in the middle of an editing
813 session.  Almost any part of Emacs can be replaced without making a
814 separate copy of all of Emacs.  Most of the editing commands of Emacs
815 are written in Lisp; the few exceptions could have been written in Lisp
816 but are written in C for efficiency.  Although only a programmer can
817 write an extension, anybody can use it afterward.  If you want to learn
818 Emacs Lisp programming, we recommend the `Introduction to Emacs Lisp'
819 by Robert J. Chassell, also published by the Free Software Foundation.
820
821    When run under the X Window System, Emacs provides its own menus and
822 convenient bindings to mouse buttons.  But Emacs can provide many of the
823 benefits of a window system on a text-only terminal.  For instance, you
824 can look at or edit several files at once, move text between files, and
825 edit files while running shell commands.
826
827 
828 File: emacs,  Node: Screen,  Next: User Input,  Prev: Acknowledgments,  Up: Top
829
830 The Organization of the Screen
831 ******************************
832
833    On a text-only terminal, the Emacs display occupies the whole screen.
834 On the X Window System, Emacs creates its own X windows to use.  We use
835 the term "frame" to mean an entire text-only screen or an entire X
836 window used by Emacs.  Emacs uses both kinds of frames in the same way
837 to display your editing.  Emacs normally starts out with just one frame,
838 but you can create additional frames if you wish.  *Note Frames::.
839
840    When you start Emacs, the entire frame except for the top and bottom
841 is devoted to the text you are editing.  This area is called the
842 "window".  At the top there is normally a "menu bar" where you can
843 access a series of menus; then there may be a "tool bar", a row of
844 icons that perform editing commands if you click on them.  Below this,
845 the window begins.  The last line is a special "echo area" or
846 "minibuffer window", where prompts appear and where you can enter
847 information when Emacs asks for it.  See below for more information
848 about these special lines.
849
850    You can subdivide the large text window horizontally or vertically
851 into multiple text windows, each of which can be used for a different
852 file (*note Windows::).  In this manual, the word "window" always
853 refers to the subdivisions of a frame within Emacs.
854
855    The window that the cursor is in is the "selected window", in which
856 editing takes place.  Most Emacs commands implicitly apply to the text
857 in the selected window (though mouse commands generally operate on
858 whatever window you click them in, whether selected or not).  The other
859 windows display text for reference only, unless/until you select them.
860 If you use multiple frames under the X Window System, then giving the
861 input focus to a particular frame selects a window in that frame.
862
863    Each window's last line is a "mode line", which describes what is
864 going on in that window.  It appears in inverse video, if the terminal
865 supports that; its contents normally begin with `--:--  *scratch*' when
866 Emacs starts.  The mode line displays status information such as what
867 buffer is being displayed above it in the window, what major and minor
868 modes are in use, and whether the buffer contains unsaved changes.
869
870 * Menu:
871
872 * Point::               The place in the text where editing commands operate.
873 * Echo Area::           Short messages appear at the bottom of the screen.
874 * Mode Line::           Interpreting the mode line.
875 * Menu Bar::            How to use the menu bar.
876
877 
878 File: emacs,  Node: Point,  Next: Echo Area,  Up: Screen
879
880 Point
881 =====
882
883    Within Emacs, the terminal's cursor shows the location at which
884 editing commands will take effect.  This location is called "point".
885 Many Emacs commands move point through the text, so that you can edit at
886 different places in it.  You can also place point by clicking mouse
887 button 1.
888
889    While the cursor appears to point _at_ a character, you should think
890 of point as _between_ two characters; it points _before_ the character
891 that appears under the cursor.  For example, if your text looks like
892 `frob' with the cursor over the `b', then point is between the `o' and
893 the `b'.  If you insert the character `!' at that position, the result
894 is `fro!b', with point between the `!' and the `b'.  Thus, the cursor
895 remains over the `b', as before.
896
897    Sometimes people speak of "the cursor" when they mean "point," or
898 speak of commands that move point as "cursor motion" commands.
899
900    Text-only terminals have only one cursor, and when output is in
901 progress it must appear where the output is being displayed.  This does
902 not mean that point is moving.  It is only that Emacs has no way to
903 show you the location of point except when the terminal is idle.
904
905    If you are editing several files in Emacs, each in its own buffer,
906 each buffer has its own point location.  A buffer that is not currently
907 displayed remembers where point is in case you display it again later.
908
909    When Emacs displays multiple windows, each window has its own point
910 location.  On text-only terminals, the cursor shows the location of
911 point in the selected window.  On graphical terminals, Emacs shows a
912 cursor in each window; the selected window's cursor is solid, and the
913 other cursors are hollow.  Either way, the cursor or cursors tell you
914 which window is selected.  If the same buffer appears in more than one
915 window, each window has its own position for point in that buffer, and
916 (when possible) its own cursor.
917
918    *Note Cursor Display::, for customization options that control
919 display of the cursor or cursors.
920
921    The term "point" comes from the character `.', which was the command
922 in TECO (the language in which the original Emacs was written) for
923 accessing the value now called "point."
924
925 
926 File: emacs,  Node: Echo Area,  Next: Mode Line,  Prev: Point,  Up: Screen
927
928 The Echo Area
929 =============
930
931    The line at the bottom of the frame (below the mode line) is the
932 "echo area".  It is used to display small amounts of text for several
933 purposes.
934
935    "Echoing" means displaying the characters that you type.  Outside
936 Emacs, the operating system normally echoes all your input.  Emacs
937 handles echoing differently.
938
939    Single-character commands do not echo in Emacs, and multi-character
940 commands echo only if you pause while typing them.  As soon as you pause
941 for more than a second in the middle of a command, Emacs echoes all the
942 characters of the command so far.  This is to "prompt" you for the rest
943 of the command.  Once echoing has started, the rest of the command
944 echoes immediately as you type it.  This behavior is designed to give
945 confident users fast response, while giving hesitant users maximum
946 feedback.  You can change this behavior by setting a variable (*note
947 Display Custom::).
948
949    If a command cannot be executed, it may display an "error message"
950 in the echo area.  Error messages are accompanied by beeping or by
951 flashing the screen.  The error also discards any input you have typed
952 ahead.
953
954    Some commands display informative messages in the echo area.  These
955 messages look much like error messages, but they are not announced with
956 a beep and do not throw away input.  Sometimes the message tells you
957 what the command has done, when this is not obvious from looking at the
958 text being edited.  Sometimes the sole purpose of a command is to show
959 you a message giving you specific information--for example, `C-x ='
960 displays a message describing the character position of point in the
961 text and its current column in the window.  Commands that take a long
962 time often display messages ending in `...' while they are working, and
963 add `done' at the end when they are finished.
964
965    Echo-area informative messages are saved in an editor buffer named
966 `*Messages*'.  (We have not explained buffers yet; see *Note Buffers::,
967 for more information about them.)  If you miss a message that appears
968 briefly on the screen, you can switch to the `*Messages*' buffer to see
969 it again.  (Successive progress messages are often collapsed into one
970 in that buffer.)
971
972    The size of `*Messages*' is limited to a certain number of lines.
973 The variable `message-log-max' specifies how many lines.  Once the
974 buffer has that many lines, each line added at the end deletes one line
975 from the beginning.  *Note Variables::, for how to set variables such as
976 `message-log-max'.
977
978    The echo area is also used to display the "minibuffer", a window that
979 is used for reading arguments to commands, such as the name of a file
980 to be edited.  When the minibuffer is in use, the echo area begins with
981 a prompt string that usually ends with a colon; also, the cursor
982 appears in that line because it is the selected window.  You can always
983 get out of the minibuffer by typing `C-g'.  *Note Minibuffer::.
984
Note: See TracBrowser for help on using the browser.