Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
[emacs.git] / README
blob494ee08c2b74a62a9756c5d93198bc7befb6eea8
1 Copyright (C) 2001-2017 Free Software Foundation, Inc.
2 See the end of the file for license conditions.
5 This directory tree holds version 26.0.50 of GNU Emacs, the extensible,
6 customizable, self-documenting real-time display editor.
8 The file INSTALL in this directory says how to build and install GNU
9 Emacs on various systems, once you have unpacked or checked out the
10 entire Emacs file tree.
12 See the file etc/NEWS for information on new features and other
13 user-visible changes in recent versions of Emacs.
15 The file etc/PROBLEMS contains information on many common problems that
16 occur in building, installing and running Emacs.
18 The file CONTRIBUTE contains information on contributing to Emacs as a
19 developer.
21 You may encounter bugs in this release.  If you do, please report
22 them; your bug reports are valuable contributions to the FSF, since
23 they allow us to notice and fix problems on machines we don't have, or
24 in code we don't use often.  Please send bug reports to the mailing
25 list bug-gnu-emacs@gnu.org.  If possible, use M-x report-emacs-bug.
27 See the "Bugs" section of the Emacs manual for more information on how
28 to report bugs.  (The file 'BUGS' in this directory explains how you
29 can find and read that section using the Info files that come with
30 Emacs.)  For a list of mailing lists related to Emacs, see
31 <http://savannah.gnu.org/mail/?group=emacs>.  For the complete
32 list of GNU mailing lists, see <http://lists.gnu.org/>.
34 The 'etc' subdirectory contains several other files, named in capital
35 letters, which you might consider looking at when installing GNU
36 Emacs.
38 The file 'configure' is a shell script to acclimate Emacs to the
39 oddities of your processor and operating system.  It creates the file
40 'Makefile' (a script for the 'make' program), which automates the
41 process of building and installing Emacs.  See INSTALL for more
42 detailed information.
44 The file 'configure.ac' is the input used by the autoconf program to
45 construct the 'configure' script.
47 The shell script 'autogen.sh' generates 'configure' and other files by
48 running Autoconf, which in turn uses GNU m4.  If you want to use it,
49 you will need to install recent versions of these build tools.  This
50 should be needed only if you edit files like 'configure.ac' that
51 specify Emacs's autobuild procedure.
53 The file 'Makefile.in' is a template used by 'configure' to create
54 'Makefile'.
56 The file 'make-dist' is a shell script to build a distribution tar
57 file from the current Emacs tree, containing only those files
58 appropriate for distribution.  If you make extensive changes to Emacs,
59 this script will help you distribute your version to others.
61 There are several subdirectories:
63 'src'       holds the C code for Emacs (the Emacs Lisp interpreter and
64             its primitives, the redisplay code, and some basic editing
65             functions).
66 'lisp'      holds the Emacs Lisp code for Emacs (most everything else).
67 'leim'      holds the original source files for the generated files
68             in lisp/leim.  These form the library of Emacs input methods,
69             required to type international characters that can't be
70             directly produced by your keyboard.
71 'lib'       holds source code for libraries used by Emacs and its utilities
72 'lib-src'   holds the source code for some utility programs for use by or
73             with Emacs, like movemail and etags.
74 'etc'       holds miscellaneous architecture-independent data files Emacs
75             uses, like the tutorial text and tool bar images.
76             The contents of the 'lisp', 'leim', 'info', and 'doc'
77             subdirectories are architecture-independent too.
78 'info'      holds the Info documentation tree for Emacs.
79 'doc/emacs' holds the source code for the Emacs Manual.  If you modify the
80             manual sources, you will need the 'makeinfo' program to produce
81             an updated manual.  'makeinfo' is part of the GNU Texinfo
82             package; you need a suitably recent version of Texinfo.
83 'doc/lispref'   holds the source code for the Emacs Lisp reference manual.
84 'doc/lispintro' holds the source code for the Introduction to Programming
85                 in Emacs Lisp manual.
86 'msdos'     holds configuration files for compiling Emacs under MS-DOS.
87 'nextstep'  holds instructions and some other files for compiling the
88             Nextstep port of Emacs, for GNUstep and macOS Cocoa.
89 'nt'        holds code and documentation for building Emacs on MS-Windows.
90 'test'      holds tests for various aspects of Emacs's functionality.
92    Building Emacs on non-Posix platforms requires tools that aren't part
93 of the standard distribution of the OS.  The platform-specific README
94 files and installation instructions should list the required tools.
97 NOTE ON COPYRIGHT YEARS
99 In copyright notices where the copyright holder is the Free Software
100 Foundation, then where a range of years appears, this is an inclusive
101 range that applies to every year in the range.  For example: 2005-2008
102 represents the years 2005, 2006, 2007, and 2008.
105 This file is part of GNU Emacs.
107 GNU Emacs is free software: you can redistribute it and/or modify
108 it under the terms of the GNU General Public License as published by
109 the Free Software Foundation, either version 3 of the License, or
110 (at your option) any later version.
112 GNU Emacs is distributed in the hope that it will be useful,
113 but WITHOUT ANY WARRANTY; without even the implied warranty of
114 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
115 GNU General Public License for more details.
117 You should have received a copy of the GNU General Public License
118 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.