annotate etc/BETA @ 146:2af401a6ecca r20-2p1

Import from CVS: tag r20-2p1
author cvs
date Mon, 13 Aug 2007 09:34:46 +0200
parents b980b6286996
children 9ad43877534d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
1 -*- mode:outline; minor-mode:outl-mouse -*-
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
2
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
3 * Introduction
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
4 ==============
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
5
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
6 You are running an experimental version of XEmacs. Please do not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
7 report problems with Beta XEmacs to comp.emacs.xemacs. Report them to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
8 xemacs-beta@xemacs.org.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
9
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
10 ** XEmacs Beta Mailing List
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
11 ===========================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
12
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
13 *** Subscribing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
14 ---------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
15
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
16 If you are not subscribed to the XEmacs beta list you should be. Send
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
17 an email message with a subject of `subscribe' (without the quotes) to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
18 xemacs-beta-request@xemacs.org and follow the directions. You do not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
19 have to fill out the survey if you don't want to.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
20
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
21 *** Unsubscribing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
22 -----------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
23
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
24 To unsubscribe from the list send an email message with a subject of
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
25 `unsubscribe' (without the quotes) to xemacs-beta-request@xemacs.org.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
26
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
27 *** Administrivia
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
28 -----------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
29
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
30 The XEmacs beta list is managed by the SmartList mailing list package,
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
31 and the usual SmartList commands work. Do not send mailing list
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
32 requests to the main address (xemacs-beta@xemacs.org), always send
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
33 them to xemacs-beta-request@xemacs.org. If you have problems with the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
34 list itself, they should be brought to the attention of the Mailing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
35 List manager Chuck Thompson <cthomp@xemacs.org>.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
36
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
37
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
38 ** Beta Release Schedule
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
39 ========================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
40
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
41 The URL ftp://ftp.xemacs.org/pub/beta/README always contains the best
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
42 estimate of when the next beta XEmacs will be released. For weekend
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
43 betas the release time is generally in the vicinity of 2PM to 5PM US
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
44 Pacific Time (Universal Time minus 8 hours). For weekday betas, the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
45 release time is generally in the vicinity of 8PM to Midnight US
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
46 Pacific Time on the listed day.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
47
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
48 While 19.15 and 20.x are in parallel development, a simultaneous
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
49 release day implies a release of 20.x first, followed a few hours
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
50 later by 19.15.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
51
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
52 Betas are nominally a week apart, scheduled on every Saturday.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
53 Midweek releases are made when a serious enough problem warrants it.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
54
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
55
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
56 ** Reporting Problems
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
57 =====================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
58
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
59 The best way to get problems fixed in XEmacs is to submit good problem
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
60 reports. Since this is beta software problems are certain to exist.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
61 Please read through all of part II of the XEmacs FAQ for an overview
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
62 of problem reporting. Other items which are most important are:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
63
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
64 1. Do not submit C stack backtraces without line numbers. Since it
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
65 is possible to compile optimized with debug information with GCC
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
66 it is never a good idea to compile XEmacs without the -g flag.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
67 XEmacs runs on a variety of platforms, and often it is not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
68 possible to recreate problems which afflict a specific platform.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
69 The line numbers in the C stack backtrace help isolate where the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
70 problem is actually occurring.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
71
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
72 2. Attempt to recreate the problem starting with an invocation of
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
73 XEmacs with `xemacs -q -no-site-file'. Quite often problems are
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
74 due to package interdependencies, and the like. An actual bug in
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
75 XEmacs should be reproducible in a default configuration without
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
76 loading any special packages (or the one or two specific packages
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
77 that cause the bug to appear).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
78
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
79 3. A picture can be worth a thousand words. When reporting an
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
80 unusual display, it is generally best to capture the problem in a
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
81 screen dump and include that with the problem report. The easiest
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
82 way to get a screen dump is to use the xv program and its grab
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
83 function. Save the image as a GIF to keep bandwidth requirements
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
84 down without loss of information. MIME is the preferred method
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
85 for making the image attachments.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
86
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
87 * Compiling Beta XEmacs
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
88 =======================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
89
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
90 ** Building an XEmacs from patches
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
91 ==================================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
92
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
93 All beta releases of XEmacs are included with patches from the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
94 previous version in an attempt to keep bandwidth requirements down.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
95 Patches should be applied with the GNU patch program in something like
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
96 the following. Let's say you're upgrading XEmacs 20.4-beta10 to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
97 XEmacs 20.4-beta11 and you have a full unmodified XEmacs 20.4-beta10
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
98 source tree to work with. Cd to the top level directory and issue the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
99 shell command:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
100
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
101 $ gunzip -c /tmp/xemacs-20.4-b10-20.4-b11.patch.gz | patch -p1
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
102
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
103 After patching check to see that no patches were missed by doing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
104 $ find . -name \*.rej -print
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
105
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
106 Any rejections should be treated as serious problems to be resolved
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
107 before starting compilation.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
108
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
109 After seeing that there were no rejections, issue the command
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
110
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
111 $ make all-elc
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
112
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
113 and go play minesweep for awhile on an older XEmacs while the binary
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
114 is rebuilt.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
115
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
116 ** Building an XEmacs from a full distribution
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
117 ==============================================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
118
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
119 Locate a convenient place where you have at least 100MB of free space
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
120 and issue the command
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
121
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
122 $ gunzip -c /tmp/xemacs-20.4-b11.tar.gz | tar xvf -
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
123
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
124 (or the simpler `tar zxvf /tmp/xemacs-20.4-b11.tar.gz' if you use GNU
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
125 tar).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
126
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
127 cd to the top level directory and issue an appropriate configure
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
128 command. The maintainer uses the following at the time of this
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
129 writing:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
130
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
131 ./configure --with-offix --with-mule=yes --with-dialogs=athena3d \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
132 --cflags="-m486 -g -O4 -fno-strength-reduce -malign-loops=2 \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
133 -malign-jumps=2 -malign-functions=2" --with-sound=no \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
134 --with-xface=yes --error-checking=all --debug=yes \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
135 --with-scrollbars=athena3d \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
136 --with-canna=yes --with-wnn=yes --wnn-includes=/usr/X11R6/include/wnn
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
137
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
138 Save the output from configure that looks something like:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
139 Configured for `i586-unknown-linux2.0.28'.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
140
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
141 Where should the build process find the source code? /usr/src/xemacs-20.0
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
142 What installation prefix should install use? /usr/local
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
143 What operating system and machine description files should XEmacs use?
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
144 `s/linux.h' and `m/intel386.h'
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
145 What compiler should XEmacs be built with? gcc -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
146 Should XEmacs use the GNU version of malloc? yes
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
147 Should XEmacs use the relocating allocator for buffers? yes
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
148 What window system should XEmacs use? x11
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
149 Where do we find X Windows header files? /usr/X11R6/include
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
150 Where do we find X Windows libraries? /usr/X11R6/lib
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
151 Compiling in support for XAUTH.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
152 Compiling in support for XPM.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
153 Compiling in support for X-Face headers.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
154 Compiling in support for GIF image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
155 Compiling in support for JPEG image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
156 Compiling in support for PNG image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
157 Compiling in support for Berkeley DB.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
158 Compiling in support for GNU DBM.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
159 Compiling in Mule (multi-lingual) support.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
160 Compiling in support for OffiX.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
161 Using the Lucid menubar.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
162 Using the Athena-3d scrollbar.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
163 Using the Athena-3d dialog boxes.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
164
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
165 Then type make and you should have a working XEmacs.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
166
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
167 After you have verified that you have a functional editor, fire up
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
168 your favorite mail program and send a build report to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
169 xemacs-beta@xemacs.org. The build report should include
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
170
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
171 1. Your hardware configuration (OS version, etc.)
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
172
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
173 2. Version numbers of software in use (X11 version, system library
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
174 versions if appropriate, graphics library versions if appropriate).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
175 If you're on a system like Linux, include all the version numbers
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
176 you can because chances are it makes a difference.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
177
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
178 3. The options given to configure
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
179
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
180 4. The configuration report illustrated above
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
181
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
182 5. Any other unusual items you feel should be brought to the attention
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
183 of the developers.
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
184
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
185 ** Creating patches for submission
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
186 ==================================
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
187
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
188 When making patches you should use the `-c', or preferably if your
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
189 diff supports it, `-u'. Using ordinary diffs like this are
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
190 notoriously prone to error (and this one won't in fact work, since
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
191 I've already applied a patch to this file so the line numbers probably
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
192 don't match up any more).
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
193
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
194 $ diff -u old-file.c new-file.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
195
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
196 -or-
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
197
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
198 $ diff -c old-file.c new-file.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
199
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
200 Also, it is helpful for me if you create the patch in the top level of
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
201 the XEmacs source directory:
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
202
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
203 $ diff -u lwlib/xlwmenu.c~ lwlib/xlwmenu.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
204
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
205 I prefer patches to be accompanied by an update (either a raw entry or
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
206 a patch) to the appropriate ChangeLog file, but it is not required.
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
207
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
208 Also note that if you cut & paste from an xterm to an XEmacs mail buffer
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
209 you will probably lose due to tab expansion. The best thing to do is to
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
210 M-x cd to the appropriate directory, and issue the command `C-u M-!' from
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
211 within XEmacs.