annotate CONTRIBUTE @ 71664:dd41b3cb7611

(shell-mode): Only change the buffer-local value of comint-dynamic-complete-functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 07 Jul 2006 14:34:02 +0000
parents 475dcca89ec9
children a99d8ae1c5d9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
1
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
2 Contributing to Emacs
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
3
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
4 Emacs is a collaborative project and we encourage contributions from
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
5 anyone and everyone. If you want to contribute in the way that will
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
6 help us most, we recommend (1) fixing reported bugs and (2)
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
7 implementing the feature ideas in etc/TODO. However, if you think of
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
8 new features to add, please suggest them too -- we might like your
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
9 idea. Porting to new platforms is also useful, when there is a new
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
10 platform, but that is not common nowadays.
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
11
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
12 For documentation on how to develop Emacs changes, refer to the Emacs
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
13 Manual and the Emacs Lisp Reference Manual (both included in the Emacs
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
14 distribution). The web pages in http://www.gnu.org/software/emacs
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
15 contain additional information.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
16
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
17 You may also want to submit your change so that can be considered for
71608
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
18 inclusion in a future version of Emacs (see below).
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
19
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
20 If you don't feel up to hacking Emacs, there are many other ways to
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
21 help. You can answer questions on the mailing lists, write
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
22 documentation, find and report bugs, contribute to the Emacs web
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
23 pages, or develop a package that works with Emacs.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
24
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
25 Here are some style and legal conventions for contributors to Emacs:
71608
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
26
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
27
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
28 o Coding Standards
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
29
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
30 Contributed code should follow the GNU Coding Standard.
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
31 If it doesn't, we'll need to find someone to fix the code
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
32 before we can use it.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
33
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
34 Emacs has certain additional style and coding conventions.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
35
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
36 Ref: http://www.gnu.org/prep/standards_toc.html
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
37 Ref: GNU Coding Standards Info Manual
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
38
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
39
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
40 o Copyright Assignment
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
41
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
42 We can accept small changes without legal papers, and for
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
43 medium-size changes a copyright disclaimer is ok too. To
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
44 accept substantial contributions from you, we need a copyright
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
45 assignment form filled out and filed with the FSF.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
46
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
47 Contact us at emacs-devel@gnu.org to obtain the relevant
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
48 forms.
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
49
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
50
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
51 o Getting the Source Code
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
52
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
53 The latest version of Emacs can be downloaded using CVS or
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
54 Arch from the Savannah web site. It is important to write
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
55 your patch based on this version; if you start from an older
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
56 version, your patch may be outdated when you write it, and
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
57 maintainers will have hard time applying it.
71657
2abae690629b Mention INSTALL.CVS.
Kim F. Storm <storm@cua.dk>
parents: 71619
diff changeset
58
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
59 After you have downloaded the CVS source, you should read the
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
60 file INSTALL.CVS for build instructions (they differ to some
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
61 extent from a normal build).
71657
2abae690629b Mention INSTALL.CVS.
Kim F. Storm <storm@cua.dk>
parents: 71619
diff changeset
62
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
63 Ref: http://savannah.gnu.org/projects/emacs
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
64
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
65
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
66 o Submitting Patches
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
67
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
68 Every patch must have several pieces of information before we
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
69 can properly evaluate it.
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
70
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
71 * For bug fixes, a description of the bug and how your patch
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
72 fixes this bug.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
73
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
74 * For new features, a description of the feature and your
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
75 implementation.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
76
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
77 * A ChangeLog entry as plaintext (separate from the patch);
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
78 see the various ChangeLog files for format and content. Note
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
79 that, unlike some other projects, we do require ChangeLogs
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
80 also for documentation, i.e. Texinfo files.
71608
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
81
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
82 Ref: "Change Log Concepts" node of the GNU Coding Standards
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
83 Info Manual, for how to write good log entries.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
84
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
85 * The patch itself. If you are accessing the CVS repository
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
86 use "cvs update; cvs diff -cp"; else, use "diff -cp OLD NEW".
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
87 If your version of diff does not support these options, then
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
88 get the latest version of GNU Diff.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
89
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
90 * We accept the patches as plain text (preferred for the
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
91 compilers themselves), MIME attachments (preferred for the
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
92 web pages), or as uuencoded gzipped text.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
93
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
94 When you have all these pieces, bundle them up in a mail message
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
95 and send it to emacs-pretest-bug@gnu.org or emacs-devel@gnu.org.
71608
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
96 All subsequent discussion should also be sent to the mailing
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
97 list.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
98
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
99
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
100 o Please reread your patch before submitting it.
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
101
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
102
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
103 o If you send several unrelated changes together, we will
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
104 ask you to separate them so we can consider each of the changes
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
105 by itself.
71657
2abae690629b Mention INSTALL.CVS.
Kim F. Storm <storm@cua.dk>
parents: 71619
diff changeset
106
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
107
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
108 o Supplemental information for Emacs Developers:
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
109
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
110 Once you become a frequent contributor to Emacs, we can
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
111 consider giving you write access to the CVS repository.
71657
2abae690629b Mention INSTALL.CVS.
Kim F. Storm <storm@cua.dk>
parents: 71619
diff changeset
112
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
113 Discussion about Emacs development takes place on
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
114 emacs-devel@gnu.org.
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
115
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
116 Think carefully about whether your change requires updating the
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
117 documentation. If it does, you can either do this yourself or
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
118 add an item to the NEWS file.
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
119
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
120 If you document your change in NEWS, please mark the NEWS
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
121 entry with the documentation status of the change: if you
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
122 submit the changes for the manuals, mark it with "+++"; if it
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
123 doesn't need to be documented, mark it with "---"; if it needs
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
124 to be documented, but you didn't submit documentation changes,
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
125 leave the NEWS entry unmarked. (These marks are checked by
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
126 the Emacs maintainers to make sure every change was reflected
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
127 in the manuals.)
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
128
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
129 The best way to understand Emacs Internals is to read the code,
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
130 but the nodes "Tips" and "GNU Emacs Internals" in the Appendix
71608
e4b43205e213 *** empty log message ***
Nick Roberts <nickrob@snap.net.nz>
parents: 71604
diff changeset
131 of the Emacs Lisp Reference Manual may also help.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
132
71660
475dcca89ec9 Slight formatting changes and typo fixes. Add description of NEWS markings.
Eli Zaretskii <eliz@gnu.org>
parents: 71657
diff changeset
133 The file etc/DEBUG describes how to debug Emacs bugs.
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
134
71619
fc0f241e3ff8 Much rewrite.
Richard M. Stallman <rms@gnu.org>
parents: 71608
diff changeset
135 Avoid using `defadvice' or `eval-after-load' for Lisp
71604
801b0f932405 New file.
Nick Roberts <nickrob@snap.net.nz>
parents:
diff changeset
136 code to be included in Emacs.