[PATCH] Support autoconf option checking.
17 years, 9 months
Malcolm Purvis
Poking around with the CVS version of autoconf I've discovered that a future
release will support option checking and it will generate errors if it
encounters an option it doesn't know about. Unfortunately we use
XE_MERGED_ARG instead of the standard API, so all of our options will fail.
This patch expands XE_MERGED_ARG to register the --with and --enable forms of
our options with the option checking list so that they are processed properly.
This change is ignored by autoconf 2.60 and earlier and using those versions
produces an copy of configure that's identical to what's currently in CVS.
Malcolm
ChangeLog addition:
2006-12-27 Malcolm Purvis <malcolmp(a)xemacs.org>
* configure.ac (XE_MERGED_ARG): Register --enable and --with forms
with the option checking list.
xemacs-autoconf-2.5 source patch:
Diff command: cvs -q diff -u
Files affected: configure.ac
===================================================================
RCS
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.52
diff -u -r1.52 configure.ac
--- configure.ac 2006/12/11 19:44:11 1.52
+++ configure.ac 2006/12/27 12:09:13
@@ -252,6 +252,10 @@
--without-FEATURE do not use FEATURE (same as --with-FEATURE=no)
--disable-FEATURE alias for --without-FEATURE]])dnl
m4_divert_once([HELP_ENABLE], m4_bpatsubst([[$2]],[--enable\([^ ]+\) ],[--with\1 ]))dnl
+dnl Register both forms with the option checking list.
+dnl Options are only checked with autoconf > 2.61.
+m4_append_uniq([_AC_USER_OPTS], [enable_]m4_bpatsubst([$1], -, _), [:])dnl
+m4_append_uniq([_AC_USER_OPTS], [with_]m4_bpatsubst([$1], -, _), [:])dnl
# If --with-$1 or --without-$1 were given then copy the value to the
# equivalent enable_$1 variable.
if test "[${with_]m4_bpatsubst([$1], -, _)+set}" = set; then
--
Malcolm Purvis <malcolmp(a)xemacs.org>
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[21.5R21.4] [PATCH] Use system malloc on ppc64.
17 years, 9 months
Malcolm Purvis
21.5 RECOMMEND 21.4
Building on ppc64 linux systems and alpha systems fail because of problems
with the Doug Lea malloc. This patch make these systems use the system malloc
by default.
BTW, we've been recommending this solution for a while, eg:
http://thread.gmane.org/gmane.emacs.xemacs.beta/8074/focus=8078
Malcolm
src/ChangeLog addition:
2006-12-26 Malcolm Purvis <malcolmp(a)xemacs.org>
* s/linux.h: Enable SYSTEM_MALLOC on ppc64 and alpha systems.
xemacs-ppc64-malloc source patch:
Diff command: cvs -q diff -u
Files affected: src/s/linux.h
===================================================================
RCS
Index: src/s/linux.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/s/linux.h,v
retrieving revision 1.19
diff -u -r1.19 linux.h
--- src/s/linux.h 2002/08/12 14:45:34 1.19
+++ src/s/linux.h 2006/12/26 11:42:52
@@ -206,3 +206,8 @@
/* XEmacs: removed setpgrp() definition because we use setpgid() when
it's available, and autodetect it. */
+/* The in-built malloc does not work on PPC64 or Alpha, so use the system
+ malloc for now. */
+#if defined(__powerpc64__) || defined(__alpha__)
+#define SYSTEM_MALLOC
+#endif
--
Malcolm Purvis <malcolmp(a)xemacs.org>
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[PATCH] List autoconf 2.60 bug in PROBLEMS.
17 years, 9 months
Malcolm Purvis
As mentioned in -beta, this adds to PROBLEMS mention of autoconf 2.60's bug
with `config.status --recheck'.
Malcolm
ChangeLog addition:
2006-12-27 Malcolm Purvis <malcolmp(a)xemacs.org>
* PROBLEMS: Point out a bug in autoconf 2.60.
xemacs-autoconf-2.5 source patch:
Diff command: cvs -q diff -u
Files affected: PROBLEMS
===================================================================
RCS
Index: PROBLEMS
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/PROBLEMS,v
retrieving revision 1.73
diff -u -r1.73 PROBLEMS
--- PROBLEMS 2006/05/17 06:18:45 1.73
+++ PROBLEMS 2006/12/27 12:03:41
@@ -124,6 +124,12 @@
This will rebuild all the needed .elc files.
+*** config.status --recheck fails with File Not Found
+
+A bug in autoconf 2.60 and 2.61 will cause `config.status --recheck' to fail
+if configure is run with command line arguments. The solution is to rebuild
+configure with autoconf 2.59.
+
** Intel Architecture General
*** Don't use -O2 or -O3 with Cygwin 1.0, CodeFusion-99070 or gcc 2.7.2 on x86
--
Malcolm Purvis <malcolmp(a)xemacs.org>
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[AC web] Describe tighter spam filters
17 years, 9 months
Stephen J. Turnbull
APPROVE COMMIT web
Index: Lists/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/Lists/ChangeLog,v
retrieving revision 1.29
diff -u -U0 -r1.29 ChangeLog
--- Lists/ChangeLog 12 Oct 2006 05:57:02 -0000 1.29
+++ Lists/ChangeLog 27 Dec 2006 04:22:32 -0000
@@ -0,0 +1,7 @@
+2006-12-27 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * index.content: Update spam policy statement (we're members-only
+ now) and instant death and hold policies (add COMPLEXBODY).
+ Reviewed for post-disk-crash correctness, added note that
+ xemacs-winnt is now directed to xemacs-beta.
+
Index: Lists/index.content
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/Lists/index.content,v
retrieving revision 1.29
diff -u -r1.29 index.content
--- Lists/index.content 12 Oct 2006 05:57:02 -0000 1.29
+++ Lists/index.content 27 Dec 2006 04:22:38 -0000
@@ -426,6 +426,20 @@
</dl>
</td>
</tr>
+ <tr valign="top">
+ <td rowspan="1" colspan="1">
+ <p><strong>xemacs-winnt</strong> has been merged into
+ xemacs-beta, as the Windows support is now a standard part
+ of XEmacs.</p>
+ </td>
+ <td rowspan="1" colspan="1">
+ <dl>
+ <!-- one of (dd dt) -->
+ <dt><a id="xemacs-nt" name="xemacs-nt">Legacy Archive</a>:</dt>
+ <dd><a href="http://calypso.tux.org/pipermail/xemacs-nt/">http://calypso.tux.org...>
+ </dl>
+ </td>
+ </tr>
</table>
<h2><a id="subscribing" name="subscribing">How To Subscribe</a></h2>
@@ -509,13 +523,9 @@
</p>
<p>
- Currently the XEmacs mailing lists are operated as open-post
- lists. That is, you don't need to be a member to post to them.
- While members-only-post is a somewhat effective policy in reducing
- spam, it doesn't eliminate it, and it would require substantially
- more effort from the list administrators, because we do want to
- reply to all legitimate posters, at least to tell them how to
- post. Autoresponders cannot be used because they generate huge
+ Currently the XEmacs mailing lists are operated as members-only-post
+ lists. Other posts are moderated, first by automatic filters, then
+ by humans. Autoresponders cannot be used because they generate huge
number of bounces due to non-existent addresses at poorly
configured hosts, driving the postmaster crazy. Instead, with a
mixture of <a href="http://spamassassin.org/">SpamAssassin</a> and
@@ -525,13 +535,17 @@
<p>
Due to a dramatic increase in the amount of spam and a near
- perfect record of like 0.05% false positives, we are discarding
- near-certain spam without checking as of 2004-04-27. We have
- added more categories as recently as 2005-10-07. Here are the
- criteria, any of which qualifies your post for automatic discard:
+ perfect record of like 0.05% false positives, we are <em>discarding
+ near-certain spam</em> without checking as of 2004-04-27. We have
+ added more categories as recently as <strong>2006-12-26</strong>.
+ Here are the criteria, any of which qualifies your post for automatic
+ discard:
</p>
<ol>
+ <li>Send a message which is of MIME type "multipart/alternative"
+ or "multipart/related", containing both a "text/html" type part
+ and an "image/*" type part.</li>
<li>Have a known abusive from address (eg, daemon addresses at
Microsoft.com, used by the MS-Blaster/Nachi viruses)</li>
<li>Send posts with unencoded 8-bit characters in the headers</li>
@@ -604,6 +618,8 @@
</p>
<ol>
+ <li>A message which is of MIME type "multipart/alternative"
+ or "multipart/related", containing an "image/*" type part.</li>
<li>
Broken headers, including addresses or message IDs apparently
munged or added by relays.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
Re: [PATCH] Support syntax, case for Cyrillic, Greek; move Latin support to latin.el
17 years, 9 months
Aidan Kehoe
Ar an dara lá is fiche de mí na Nollaig, scríobh Stephen J. Turnbull:
> > Okay, the below moves the content of european.el to latin.el and
> > deletes the former. It also deals with sundry other language and
> > Mule-related issues; it
>
> You really should submit separate patches. If any of the "sundry"
> items gets vetoed, so does the whole patch.
I know how it works, thanks. It was after midnight and the choice was
between submit one patch then, or taking three times the time in the New
Year to understand the changes again, to construct three patches I’m sure
work independently, and to wait on Patcher + CVS to do its thing.
Who understands why \( is preferable to ( in docstrings, by the way?
--
When I was in the scouts, the leader told me to pitch a tent. I couldn't
find any pitch, so I used creosote.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[AC web] remove broken link
17 years, 10 months
Stephen J. Turnbull
APPROVE COMMIT web
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/ChangeLog,v
retrieving revision 1.257
diff -u -U0 -r1.257 ChangeLog
--- ChangeLog 11 Dec 2006 02:11:56 -0000 1.257
+++ ChangeLog 20 Dec 2006 02:40:25 -0000
@@ -0,0 +1,4 @@
+2006-12-20 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * index.content: Remove link to missing gui-xemacs page.
+
Index: index.content
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/index.content,v
retrieving revision 1.166
diff -u -r1.166 index.content
--- index.content 11 Dec 2006 02:11:57 -0000 1.166
+++ index.content 20 Dec 2006 02:40:31 -0000
@@ -494,9 +494,10 @@
<p>
It's about time for a dashing piece of news: William
M. Perry's work (funded by BeOpen.com through sourceXchange),
- <a href="http://www.cs.indiana.edu/elisp/gui-xemacs/">Gtk-XEmacs</a>
- is available via tarballs or
- directly from the XEmacs repository.</p></dd>
+ Gtk-XEmacs is available via tarballs or
+ directly from the XEmacs repository. (N.B. This feature has
+ been incorporated in the XEmacs mainline since the 21.4.0
+ release.)</p></dd>
<dt><strong>2000-07-01</strong></dt>
<dd>
<p>
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[AC21.5] Document ROOT(S) arguments correctly in find-paths.el
17 years, 10 months
Stephen J. Turnbull
APPROVE COMMIT 21.5
Mike, these seem obviously correct, but please check me anyway.
Index: lisp/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/ChangeLog,v
retrieving revision 1.781
diff -u -r1.781 ChangeLog
--- lisp/ChangeLog 17 Dec 2006 13:41:33 -0000 1.781
+++ lisp/ChangeLog 19 Dec 2006 15:16:57 -0000
@@ -0,0 +1,12 @@
+2006-12-19 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * find-paths.el (paths-construct-emacs-directory):
+ (paths-for-each-emacs-directory):
+ (paths-find-site-directory):
+ (paths-find-site-directories):
+ (paths-for-each-version-directory):
+ (paths-find-version-directory):
+ (paths-find-version-directories):
+ (paths-find-architecture-directory):
+ Document ROOT(S) argument correctly.
+
Index: lisp/find-paths.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/find-paths.el,v
retrieving revision 1.29
diff -u -r1.29 find-paths.el
--- lisp/find-paths.el 15 Jan 2005 15:17:36 -0000 1.29
+++ lisp/find-paths.el 19 Dec 2006 15:16:57 -0000
@@ -126,7 +126,7 @@
(defun paths-construct-emacs-directory (root suffix base)
"Construct a directory name within the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOT must be an installation root.
SUFFIX is the subdirectory from there.
BASE is the base to look for."
(file-name-as-directory
@@ -211,7 +211,7 @@
"Iterate over the site-specific directories in the XEmacs hierarchy.
FUNC is a function that called for each directory, with the directory
as the only argument.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -227,7 +227,7 @@
(defun paths-find-site-directory (roots base &optional envvar default)
"Find a site-specific directory in the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -240,7 +240,7 @@
(defun paths-find-site-directories (roots base &optional envvar default)
"Find a list of site-specific directories in the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -257,7 +257,7 @@
"Iterate over version-specific directories in the XEmacs hierarchy.
FUNC is a function that called for each directory, with the directory
as the only argument.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -275,7 +275,7 @@
(defun paths-find-version-directory (roots base
&optional envvar default enforce-version)
"Find a version-specific directory in the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -290,7 +290,7 @@
(defun paths-find-version-directories (roots base
&optional envvar default enforce-version)
"Find a list of version-specific directories in the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
@@ -305,7 +305,7 @@
(defun paths-find-architecture-directory (roots base &optional envvar default)
"Find an architecture-specific directory in the XEmacs hierarchy.
-ROOT must be a an installation root.
+ROOTS must be a list of installation roots.
BASE is the base to look for.
ENVVAR is the name of the environment variable that might also
specify the directory.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[AC21.5] make configure now depends on configure.ac
17 years, 10 months
Stephen J. Turnbull
APPROVE COMMIT 21.5
Obviously correct.
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/ChangeLog,v
retrieving revision 1.516
diff -u -r1.516 ChangeLog
--- ChangeLog 11 Dec 2006 19:43:57 -0000 1.516
+++ ChangeLog 19 Dec 2006 15:16:52 -0000
@@ -0,0 +1,4 @@
+2006-12-19 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * Makefile.in.in (${srcdir}/configure): Generated from configure.ac.
+
Index: Makefile.in.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/Makefile.in.in,v
retrieving revision 1.30
diff -u -r1.30 Makefile.in.in
--- Makefile.in.in 31 Dec 2005 12:41:23 -0000 1.30
+++ Makefile.in.in 19 Dec 2006 15:16:52 -0000
@@ -261,14 +261,14 @@
## Convenience target for XEmacs maintainers
## Updates some rarely generated files:
-## - configure from configure.in
+## - configure from configure.ac
## - config.values.in from configure
## - src/depend from src/*.[ch]
.PHONY: config configure depend
config: configure depend
configure: ${srcdir}/configure ${srcdir}/lib-src/config.values.in
-${srcdir}/configure: ${srcdir}/configure.in
+${srcdir}/configure: ${srcdir}/configure.ac
cd ${srcdir} && autoconf
${srcdir}/lib-src/config.values.in : ${srcdir}/configure
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches
[PATCH] Add case, syntax support for Cyrillic
17 years, 10 months
Aidan Kehoe
lisp/ChangeLog addition:
2006-12-15 Aidan Kehoe <kehoea(a)parhasard.net>
* mule/cyrillic.el:
Add case table, syntax table information for cyrillic-iso8859-5.
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: lisp/mule/cyrillic.el
===================================================================
RCS
Index: lisp/mule/cyrillic.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/mule/cyrillic.el,v
retrieving revision 1.11
diff -u -r1.11 cyrillic.el
--- lisp/mule/cyrillic.el 2006/11/28 21:20:30 1.11
+++ lisp/mule/cyrillic.el 2006/12/15 13:35:45
@@ -45,19 +45,68 @@
;; ISO-8859-5
-; (make-charset 'cyrillic-iso8859-5
-; "Right-Hand Part of Latin/Cyrillic Alphabet (ISO/IEC 8859-5): ISO-IR-144"
-; '(dimension
-; 1
-; registry "ISO8859-5"
-; chars 96
-; columns 1
-; direction l2r
-; final ?L
-; graphic 1
-; short-name "RHP of ISO8859/5"
-; long-name "RHP of Cyrillic (ISO 8859-5): ISO-IR-144"
-; ))
+(loop
+ for (upper lower)
+ in '((#xcf #xef) ; YA
+ (#xce #xee) ; YU
+ (#xcd #xed) ; E
+ (#xcc #xec) ; SOFT SIGN
+ (#xcb #xeb) ; YERU
+ (#xca #xea) ; HARD SIGN
+ (#xc9 #xe9) ; SHCHA
+ (#xc8 #xe8) ; SHA
+ (#xc7 #xe7) ; CHE
+ (#xc6 #xe6) ; TSE
+ (#xc5 #xe5) ; HA
+ (#xc4 #xe4) ; EF
+ (#xc3 #xe3) ; U
+ (#xc2 #xe2) ; TE
+ (#xc1 #xe1) ; ES
+ (#xc0 #xe0) ; ER
+ (#xbf #xdf) ; PE
+ (#xbe #xde) ; O
+ (#xbd #xdd) ; EN
+ (#xbc #xdc) ; EM
+ (#xbb #xdb) ; EL
+ (#xba #xda) ; KA
+ (#xb9 #xd9) ; SHORT I
+ (#xb8 #xd8) ; I
+ (#xb7 #xd7) ; ZE
+ (#xb6 #xd6) ; ZHE
+ (#xb5 #xd5) ; IE
+ (#xb4 #xd4) ; DE
+ (#xb3 #xd3) ; GHE
+ (#xb2 #xd2) ; VE
+ (#xb1 #xd1) ; BE
+ (#xb0 #xd0) ; A
+ (#xaf #xff) ; DZHE
+ (#xae #xfe) ; SHORT U
+ (#xac #xfc) ; KJE
+ (#xab #xfb) ; TSHE
+ (#xaa #xfa) ; NJE
+ (#xa9 #xf9) ; LJE
+ (#xa8 #xf8) ; JE
+ (#xa7 #xf7) ; YI
+ (#xa6 #xf6) ; BYELORUSSIAN-UKRAINIAN I
+ (#xa5 #xf5) ; DZE
+ (#xa4 #xf4) ; UKRAINIAN IE
+ (#xa3 #xf3) ; GJE
+ (#xa2 #xf2) ; DJE
+ (#xa1 #xf1)) ; IO
+ with case-table = (standard-case-table)
+ do
+ (put-case-table-pair (make-char 'cyrillic-iso8859-5 upper)
+ (make-char 'cyrillic-iso8859-5 lower)
+ case-table))
+
+;; The default character syntax is now word. Pay attention to the
+;; exceptions in ISO-8859-5.
+
+(dolist (code '(#xA0 ;; NO-BREAK SPACE
+ #xAD ;; SOFT HYPHEN
+ #xF0 ;; NUMERO SIGN
+ #xFD)) ;; SECTION SIGN
+ (modify-syntax-entry (make-char 'cyrillic-iso8859-5 code) "_"))
(make-coding-system
'iso-8859-5 'iso2022
--
Santa Maradona, priez pour moi!
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches