Mercurial > hg > xemacs-beta
comparison etc/BETA @ 294:4b85ae5eabfb r21-0b45
Import from CVS: tag r21-0b45
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:38:01 +0200 |
parents | 7df0dd720c89 |
children | 5a79be0ef6a8 |
comparison
equal
deleted
inserted
replaced
293:403535bfea94 | 294:4b85ae5eabfb |
---|---|
218 of the developers. | 218 of the developers. |
219 | 219 |
220 ** Creating patches for submission | 220 ** Creating patches for submission |
221 ================================== | 221 ================================== |
222 | 222 |
223 When making patches please use the `-u' option, or if your diff | 223 Patches to XEmacs should be mailed to <xemacs-patches@xemacs.org>. |
224 Each patch will be reviewed by the patches review board, and will be | |
225 acked and added to the distribution, or rejected with an explanation. | |
226 | |
227 When making patches, please use the `-u' option, or if your diff | |
224 doesn't support it, `-c'. Using ordinary (context-free) diffs are | 228 doesn't support it, `-c'. Using ordinary (context-free) diffs are |
225 notoriously prone to error, since line numbers tend to change when | 229 notoriously prone to error, since line numbers tend to change when |
226 others make changes to the same source file. | 230 others make changes to the same source file. |
227 | 231 |
228 $ diff -u old-file.c new-file.c | 232 An example of the `diff' usage: |
233 | |
234 $ diff -u OLDFILE NEWFILE | |
229 | 235 |
230 -or- | 236 -or- |
231 | 237 |
232 $ diff -c old-file.c new-file.c | 238 $ diff -c OLDFILE NEWFILE |
233 | 239 |
234 Also, it is helpful if you create the patch in the top level of the | 240 Also, it is helpful if you create the patch in the top level of the |
235 XEmacs source directory: | 241 XEmacs source directory: |
236 | 242 |
237 $ cp -p lwlib/xlwmenu.c lwlib/xlwmenu.c.orig | 243 $ cp -p lwlib/xlwmenu.c lwlib/xlwmenu.c.orig |
238 hack, hack, hack.... | 244 hack, hack, hack.... |
239 $ diff -u lwlib/xlwmenu.c.orig lwlib/xlwmenu.c | 245 $ diff -u lwlib/xlwmenu.c.orig lwlib/xlwmenu.c |
240 | 246 |
241 It is preferrable for patches to be accompanied by an update (raw | 247 Each patch should be accompanied by an update to the appropriate |
242 entry preferred) to the appropriate ChangeLog file. Patches to | 248 ChangeLog file. Please don't mail patches to ChangeLog because they |
243 ChangeLog files have an extremely high rate of failure. | 249 have an extremely high rate of failure; just mail us the new part of |
250 the ChangeLog you added. | |
244 | 251 |
245 Also note that if you cut & paste from an xterm to an XEmacs mail buffer | 252 Also note that if you cut & paste from an xterm to an XEmacs mail buffer |
246 you will probably lose due to tab expansion. The best thing to do is | 253 you will probably lose due to tab expansion. The best thing to do is |
247 to use an XEmacs shell buffer to run the diff commands, or ... | 254 to use an XEmacs shell buffer to run the diff commands, or ... |
248 M-x cd to the appropriate directory, and issue the command `C-u M-!' from | 255 M-x cd to the appropriate directory, and issue the command `C-u M-!' from |