Mercurial > emacs
annotate etc/CONTRIBUTE @ 106959:5071660bbec4
* net/tramp-smb.el (tramp-smb-conf): New defcustom.
(tramp-smb-maybe-open-connection): Use it.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sat, 23 Jan 2010 12:02:28 +0100 |
parents | b92c3979701c |
children | 7f1976431211 |
rev | line source |
---|---|
106802
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106592
diff
changeset
|
1 Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
84410 | 2 See end for license conditions. |
3 | |
4 | |
5 Contributing to Emacs | |
6 | |
7 Emacs is a collaborative project and we encourage contributions from | |
8 anyone and everyone. If you want to contribute in the way that will | |
9 help us most, we recommend (1) fixing reported bugs and (2) | |
10 implementing the feature ideas in etc/TODO. However, if you think of | |
11 new features to add, please suggest them too -- we might like your | |
12 idea. Porting to new platforms is also useful, when there is a new | |
13 platform, but that is not common nowadays. | |
14 | |
15 For documentation on how to develop Emacs changes, refer to the Emacs | |
16 Manual and the Emacs Lisp Reference Manual (both included in the Emacs | |
17 distribution). The web pages in http://www.gnu.org/software/emacs | |
18 contain additional information. | |
19 | |
20 You may also want to submit your change so that can be considered for | |
21 inclusion in a future version of Emacs (see below). | |
22 | |
23 If you don't feel up to hacking Emacs, there are many other ways to | |
24 help. You can answer questions on the mailing lists, write | |
25 documentation, find and report bugs, contribute to the Emacs web | |
26 pages, or develop a package that works with Emacs. | |
27 | |
28 Here are some style and legal conventions for contributors to Emacs: | |
29 | |
30 | |
31 * Coding Standards | |
32 | |
33 Contributed code should follow the GNU Coding Standard. | |
34 | |
35 If it doesn't, we'll need to find someone to fix the code before we | |
36 can use it. | |
37 | |
38 Emacs has certain additional style and coding conventions. | |
39 | |
106592
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
40 Ref: http://www.gnu.org/prep/standards/ |
84410 | 41 Ref: GNU Coding Standards Info Manual |
42 Ref: The "Tips" Appendix in the Emacs Lisp Reference. | |
43 | |
44 | |
45 * Copyright Assignment | |
46 | |
47 We can accept small changes without legal papers, and for medium-size | |
48 changes a copyright disclaimer is ok too. To accept substantial | |
49 contributions from you, we need a copyright assignment form filled out | |
50 and filed with the FSF. | |
51 | |
52 Contact us at emacs-devel@gnu.org to obtain the relevant forms. | |
53 | |
54 | |
55 * Getting the Source Code | |
56 | |
106592
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
57 The latest version of Emacs can be downloaded using CVS (or other |
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
58 version control systems) from the Savannah web site. It is important |
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
59 to write your patch based on this version; if you start from an older |
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
60 version, your patch may be outdated when you write it, and maintainers |
d04aeb2c3beb
(Coding Standards): Update URL.
Glenn Morris <rgm@gnu.org>
parents:
100972
diff
changeset
|
61 will have a hard time applying it. |
84410 | 62 |
63 After you have downloaded the CVS source, you should read the file | |
64 INSTALL.CVS for build instructions (they differ to some extent from a | |
65 normal build). | |
66 | |
67 Ref: http://savannah.gnu.org/projects/emacs | |
68 | |
69 | |
70 * Submitting Patches | |
71 | |
72 Every patch must have several pieces of information before we | |
73 can properly evaluate it. | |
74 | |
75 When you have all these pieces, bundle them up in a mail message and | |
106802
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106592
diff
changeset
|
76 send it to bug-gnu-emacs@gnu.org or emacs-devel@gnu.org. |
84410 | 77 |
78 All subsequent discussion should also be sent to the mailing list. | |
79 | |
80 ** Description | |
81 | |
82 For bug fixes, a description of the bug and how your patch fixes this | |
83 bug. | |
84 | |
84844 | 85 For new features, a description of the feature and your implementation. |
84410 | 86 |
87 ** ChangeLog | |
88 | |
89 A ChangeLog entry as plaintext (separate from the patch). | |
90 | |
91 See the various ChangeLog files for format and content. Note that, | |
92 unlike some other projects, we do require ChangeLogs also for | |
93 documentation, i.e. Texinfo files. | |
94 | |
95 Ref: "Change Log Concepts" node of the GNU Coding Standards Info | |
96 Manual, for how to write good log entries. | |
97 | |
98 ** The patch itself. | |
99 | |
100 Please use "Context Diff" format. | |
101 | |
102 If you are accessing the CVS repository use | |
103 cvs update; cvs diff -cp | |
104 else, use | |
105 diff -cp OLD NEW | |
106 | |
107 If your version of diff does not support these options, then get the | |
108 latest version of GNU Diff. | |
109 | |
110 ** Mail format. | |
111 | |
112 We prefer to get the patches as inline plain text. | |
113 | |
114 Please be aware of line wrapping which will make the patch unreadable | |
115 and useless for us. To avoid that, you can use MIME attachments or, | |
116 as a last resort, uuencoded gzipped text. | |
117 | |
118 ** Please reread your patch before submitting it. | |
119 | |
120 ** Do not mix changes. | |
121 | |
122 If you send several unrelated changes together, we will ask you to | |
123 separate them so we can consider each of the changes by itself. | |
124 | |
125 | |
126 * Coding style and conventions. | |
127 | |
128 ** Mandatory reading: | |
129 | |
130 The "Tips and Conventions" Appendix of the Emacs Lisp Reference. | |
131 | |
132 ** Avoid using `defadvice' or `eval-after-load' for Lisp code to be | |
133 included in Emacs. | |
134 | |
135 ** Remove all trailing whitespace in all source and text files. | |
136 | |
137 ** Use ?\s instead of ? in Lisp code for a space character. | |
138 | |
139 | |
140 * Supplemental information for Emacs Developers. | |
141 | |
142 ** Write access to Emacs' CVS repository. | |
143 | |
144 Once you become a frequent contributor to Emacs, we can consider | |
145 giving you write access to the CVS repository. | |
146 | |
147 | |
148 ** Emacs Mailing lists. | |
149 | |
150 Discussion about Emacs development takes place on emacs-devel@gnu.org. | |
151 | |
106802
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106592
diff
changeset
|
152 Bug reports are sent to bug-gnu-emacs@gnu.org. |
84410 | 153 |
154 You can subscribe to the mailing lists at savannah.gnu.org/projects/emacs. | |
155 | |
156 You can find the mailing lists archives at lists.gnu.org or gmane.org. | |
157 | |
158 | |
159 ** Document your changes. | |
160 | |
161 Think carefully about whether your change requires updating the | |
162 documentation. If it does, you can either do this yourself or add an | |
163 item to the NEWS file. | |
164 | |
165 If you document your change in NEWS, please mark the NEWS entry with | |
166 the documentation status of the change: if you submit the changes for | |
167 the manuals, mark it with "+++"; if it doesn't need to be documented, | |
168 mark it with "---"; if it needs to be documented, but you didn't | |
169 submit documentation changes, leave the NEWS entry unmarked. (These | |
170 marks are checked by the Emacs maintainers to make sure every change | |
171 was reflected in the manuals.) | |
172 | |
173 | |
174 ** Understanding Emacs Internals. | |
175 | |
176 The best way to understand Emacs Internals is to read the code, | |
177 but the nodes "Tips" and "GNU Emacs Internals" in the Appendix | |
178 of the Emacs Lisp Reference Manual may also help. | |
179 | |
180 The file etc/DEBUG describes how to debug Emacs bugs. | |
181 | |
182 | |
183 | |
184 This file is part of GNU Emacs. | |
185 | |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
186 GNU Emacs is free software: you can redistribute it and/or modify |
84410 | 187 it under the terms of the GNU General Public License as published by |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
188 the Free Software Foundation, either version 3 of the License, or |
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
189 (at your option) any later version. |
84410 | 190 |
191 GNU Emacs is distributed in the hope that it will be useful, | |
192 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
193 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
194 GNU General Public License for more details. | |
195 | |
196 You should have received a copy of the GNU General Public License | |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
197 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
84410 | 198 |
199 Local variables: | |
200 mode: outline | |
201 paragraph-separate: "[ ]*$" | |
202 end: | |
203 |