This commit was generated by cvs2svn to compensate for changes in r4946,
authortomo <tomo>
Mon, 12 Aug 2002 15:55:16 +0000 (15:55 +0000)
committertomo <tomo>
Mon, 12 Aug 2002 15:55:16 +0000 (15:55 +0000)
which included commits to RCS files with non-trunk default branches.

29 files changed:
aclocal.m4
etc/MACHINES
lib-src/ChangeLog
lib-src/Makefile.in.in
lib-src/gnuserv.c
lisp/about.el
lisp/autoload.el
lisp/build-report.el
lisp/font-lock.el
lisp/lisp-mode.el
lisp/window.el
lwlib/ChangeLog
lwlib/lwlib-Xaw.c
man/ChangeLog
man/xemacs/programs.texi
nt/ChangeLog
nt/config.h
src/Makefile.in.in
src/dired.c
src/extents.h
src/fileio.c
src/glyphs-x.c
src/s/aix4.h
src/s/irix6-0.h
src/s/windowsnt.h
src/sysdep.c
src/systime.h
tests/ChangeLog
version.sh

index 9dd7ecf..7e20505 100644 (file)
@@ -88,11 +88,11 @@ if test "$XEGCC" = yes; then
   wl='-Wl,'
 
   case "$xehost_os" in
-  aix3* | aix4* | irix5* | irix6* | osf3* | osf4*)
+  aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]])
     # PIC is the default for these OSes.
     ;;
 
-  aix3* | aix4* | os2*)
+  os2*)
     # We can build DLLs from non-PIC.
     ;;
   amigaos*)
@@ -117,7 +117,7 @@ else
     dll_cflags='+Z'
     ;;
 
-  irix5* | irix6*)
+  irix[[5-9]]*)
     wl='-Wl,'
     # PIC (with -KPIC) is the default.
     ;;
@@ -126,11 +126,16 @@ else
     # We can build DLLs from non-PIC.
     ;;
 
-  osf3* | osf4*)
+  osf[[3-9]]*)
     # All OSF/1 code is PIC.
     wl='-Wl,'
     ;;
 
+  aix[[3-9]]*)
+    # All AIX code is PIC.
+    wl='-Wl,'
+    ;;
+
   sco3.2v5*)
     dll_cflags='-belf -Kpic'
     wl='-Wl,'
@@ -243,7 +248,7 @@ if test "$XEGCC" = yes; then
   xldf="-shared"
 else # Not using GCC
   case "$xehost_os" in
-    aix3* | aix4*)
+    aix[[3-9]]*)
       xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc"
       xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc"
       ;;
@@ -262,7 +267,7 @@ else # Not using GCC
       xcldf="${wl}-b ${wl}+s"
       ;;
 
-    irix5* | irix6* | osf3* | osf4*)
+    irix[[5-9]]* | osf[[3-9]]*)
       xcldf="${wl}-shared"
       xldf="-shared"
       ;;
@@ -415,7 +420,7 @@ else
       dll_ldflags=$xldf
       ;;
 
-    aix4*)
+    aix[[4-9]]*)
       dll_ldflags=$xcldf
       ;;
 
@@ -445,7 +450,7 @@ else
       dll_ldflags=$xldf
       ;;
 
-    irix5* | irix6*)
+    irix[[5-9]]*)
       dll_ld=$LTLD
       dll_ldflags=$xldf
       ;;
@@ -532,11 +537,7 @@ fi
 
 if test -z "$ld_dynamic_link_flags"; then
   case "$xehost_os" in
-  aix3*)
-    ld_dynamic_link_flags=
-    ;;
-
-  aix4*)
+  aix[[3-9]]*)
     ld_dynamic_link_flags=
     ;;
 
@@ -556,7 +557,7 @@ if test -z "$ld_dynamic_link_flags"; then
     ld_dynamic_link_flags="${wl}-E"
     ;;
 
-  irix5* | irix6*)
+  irix[[5-9]]*)
     ld_dynamic_link_flags=
     ;;
 
index 0d3bbf3..78c3c21 100644 (file)
-This is a list of the status of GNU Emacs on various machines and systems.
+This is a list of the status of XEmacs on various machines and systems.
+See PROBLEMS for particular problems and possible workarounds.
 
-For each system and machine, we give the configuration name you should
-pass to the `configure' script to prepare to build Emacs for that
-system/machine.
+Much effort has gone into making XEmacs work on as many different
+machines, configurations, and compilers as possible.
 
-The `configure' script uses the configuration name to decide which
-machine and operating system description files `src/config.h' should
-include.  The machine description files are all in `src/m', and have
-names similar to, but not identical to, the machine names used in
-configuration names.  The operating system files are all in `src/s',
-and are named similarly.  See the `configure' script if you need to
-know which configuration names use which machine and operating system
-description files.
+Much effort has gone into making XEmacs 64-bit clean.
 
-If you add support for a new configuration, add a section to this
-file, and then edit the `configure' script to tell it which
-configuration name(s) should select your new machine description and
-system description files.
+Much effort has gone into removing system-specific code, and replacing
+such code with autodetection at configure time.
 
-\f
-Here are the configurations Emacs is intended to work with, with the
-corresponding configuration names.  You can postpend version numbers
-to operating system names (i.e. sunos4.1) or architecture names (i.e.
-hppa1.1).  If you leave out the version number, the `configure' script
-will configure Emacs for the latest version it knows about.
+The XEmacs core should build "out of the box" on most Unix-like systems.
 
-*************************************************************************
-*                                                                      *
-*   NOTE: this file is kept in sync with the FSF version, though we    *
-*   expect the information here to be mostly accurate for XEmacs.      *
-*   Bear in mind that the version numbers mentioned in the text below  *
-*   are the FSF numbers, not the Lucid numbers.  For comparison,       *
-*   FSFmacs 19.26 roughly corresponds to XEmacs 19.11.                 *
-*                                                                      *
-*************************************************************************
+XEmacs 21.2 was tested and `make check' succeeded on these Unix
+configurations as of 2001-02-10:
 
-Acorn RISCiX (arm-acorn-riscix1.2)
+alphaev56-dec-osf4.0e (both Compaq C and gcc)
+i386-unknown-freebsd4.2
+i386-unknown-netbsdelf1.5
+i586-sco-sysv5uw7.0.1 (both SCO's cc and gcc)
+i686-pc-linux-gnu
+hppa2.0-hp-hpux10.20 (both HP's ANSI cc and gcc)
+mips-sgi-irix6.5 (both MIPSpro cc and gcc)
+rs6000-ibm-aix4.3.0.0 (both IBM's xlc and gcc)
+sparc-sun-solaris2.6 (both Sun's Forte C and gcc)
+sparc-sun-solaris2.7 (both Sun's Forte C and gcc)
+sparc-sun-sunos4.1.4 (gcc)
 
-  Emacs 19.29 has changes that ought to support RISCiX 1.2.
+Some systems have a dual mode 32-bit/64-bit compiler.  On most of
+these, XEmacs requires the --pdump configure option to build
+correctly with the 64-bit version of the compiler.
 
-  Due to a bug in the RISCiX C compiler (3.4.5), emacs must
-  be built with gcc (versions 2.5.8 onwards).
+mips-sgi-irix6.5, CC="gcc -mabi=64"
+mips-sgi-irix6.5, CC="cc -64"
+rs6000-ibm-aix4.3.0.0, CC="cc -q64"
 
-  In addition, you will need GNU sed and GNU make, as the RISCiX release
-  versions of these utilities cannot cope with building emacs-19!
+On most of these systems, XEmacs also builds with a C++ compiler,
+but not "out of the box".  This feature is only for use by the
+maintainers.
 
-    GNU sed should be configured with:
+XEmacs 21.2 is known _not_ to work on any machines with m680x0
+processors.  Sorry, all you sun3 and Unix PC nostalgia buffs out there.
 
-    env 'DEFS=-Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind \
-            -Doptarg=gnu_optarg' ./configure
-
-    GNU make (3.72+) should be configured with:
-
-    env 'CFLAGS=-Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind \
-              -Doptarg=gnu_optarg' ./configure
-
-  Emacs may be configured to use the X toolkit, by adding --with-x-toolkit
-  to the configure command.  If you do this, you will need to edit the line
-  in src/Makefile which defines LIBW (about line 59) to read:
-
-  LIBW= -lXaw_n
-
-  This ensures that the non-shared widget library is used.
-
-  It is unlikely that this version of emacs will work with RISCiX 1.1.
-
-Alliant (fx80-alliant-bsd):
-
-  18.52 worked on system version 4.  Previous Emacs versions were
-  known to work on previous system versions.
-
-  If you are using older versions of their operating system, you may
-  need to edit `src/config.h' to use `m/alliant1.h' (on version 1) or
-  `m/alliant.h' (on versions 2 and 3).
-
-Alliant FX/2800 (i860-alliant-bsd)
-
-  Known to work with 19.26 and OS version 2.2, compiler version 1.3.
-
-Alpha (DEC) running OSF/1 (alpha-dec-osf1)
-
-  Worked as of Lucid Emacs 19.8.
-
-Altos 3068 (m68k-altos-sysv)
-
-  18.52 was said to work, provided you don't compile unexec.c with -O.
-
-Amdahl UTS (580-amdahl-sysv)
-
-  Small changes for 18.38 were merged in 18.39.  It is mostly
-  working, but at last report a bug sometimes causes Emacs to
-  grab very large amounts of memory.  No fix or explanation
-  has yet been reported.  It may be possible to find this bug
-  if you find which Emacs command it happens within and then
-  run that command with a breakpoint set at malloc.
-
-  The 5.2u370 compiler is so brain damaged that it is not
-  even worth trying to use it.  Success was obtained with the
-  uts native C compiler on uts version 5.2.5.
-
-Apollo running Domain (m68k-apollo-domain)
-
-  19.29 has a few patches that ought to make things work.
-
-  There are reports of bugs in cc -O on this system.
-
-  In `lib-src/Makefile', don't expect emacsclient and emacsserver to
-  compile.  You might want to remove them from your makefile.
-
-  The Apollo has a bizarre operating system which does not permit
-  Emacs to be dumped with preloaded pure Lisp code.  Therefore, each
-  time you start Emacs on this system, the standard Lisp code is loaded
-  into it.  Expect it to take a long time.  You can prevent loading of
-  the standard Lisp code by specifying the -nl switch.  It must
-  come at the beginning of the command line; only the -t and -batch
-  switches may come before it.
-
-
-  Here is a design for a method of dumping and reloading the relevant
-  necessary impure areas of Emacs.
-
-  On dumping, you need to dump only the array `pure' plus the
-  locations that contain values of forwarded Lisp variables or that are
-  protected for garbage collection.  The former can be found by a
-  garbage- collection-like technique, and the latter are in the
-  staticprolist vector (see alloc.c for both things).
-
-  Reloading would work in an Emacs that has just been started; except
-  when a switch is specified to inhibit this, it would read the dump
-  file and set all the appropriate locations.  The data loaded must be
-  relocated, but that's not hard.  Those locations that are of type
-  Lisp_Object can be found by a technique like garbage-collection, and
-  those of them that point to storage can be relocated.  The other data
-  read from the file will not need to be relocated.
-
-  The switch to inhibit loading the data base would be used when it
-  is time to dump a new data base.
-
-  This would take a few seconds, which is much faster than loading
-  the Lisp code of Emacs from scratch.
-
-AT&T 3b2, 3b5, 3b15, 3b20 (we32k-att-sysv)
-
-  Emacs will probably not work with certain kernel constants too small. 
-
-  In param.h CDLIMIT should be at least (1L << 12) in order to allow 
-  processes to write up to 2 Mbyte files.  This parameter is configurable
-  by normal means in /etc/master.d/kernel; examine that file for the
-  symbol CDLIMIT or ULIMIT, and raise it by several powers of 2.  Then
-  do normal kernel rebuild things via "cd /boot; mkboot -k KERNEL" and so
-  forth.
-
-  In seg.h NSEGP and STACKSEG should be at least 16 and 4 respectively
-  to allow processes with total size of up to 2Mbytes.
-  However, I'm told it is unlikely this would fail to be true.
-
-  The MAXMEM may also prevent Emacs from running.  The file
-  3B-MAXMEM in this directory explains how to increase MAXMEM.
-
-  On some of these machines, you may need to define IN_SCCS_ID
-  in config.h to make Emacs work.  Supposedly you can tell whether
-  this is necessary by checking something in /usr/include/sys/time.h;
-  we do not know precisely what.
-
-AT&T 7300 or 3b1 (m68k-att-sysv)
-
-  18.52 worked.  If you have strange troubles with dumping
-  Emacs, delete the last few lines from `src/m/7300.h' and recompile.
-  These lines are supposed to produce a sharable executable.
-
-  `src/m/7300.h' defines SHORTNAMES because operating system versions
-  older than 3.5 did not support long symbol names.  Version 3.5 does
-  support them, so you can remove the #define SHORTNAMES in that
-  version.
-
-Bull DPX/2 models 2nn or 3nn (m68k-bull-sysv3)
-
-  Minor fixes merged into 19.19, which should work with CC or GCC.
-
-  You should compile with all the POSIX stuff: undef _SYSV and define
-  _POSIX_SOURCE, _XOPEN_SOURCE and _BULL_SOURCE.
-
-  On bos2.00.45 there is a bug that makes the F_SETOWN fcntl
-  call enters in an infinite loop. F_SETOWN_BUG has been defined to avoid 
-  calling it.
-
-Bull DPX/20 (rs6000-bull-bosx)
-
-  Version 19 works.
-
-Bull sps7 (m68k-bull-sysv2)
-
-  Changes partially merged in version 19, but some fixes are probably required.
-
-CCI 5/32, 6/32
-
-  See "Tahoe".
-
-Celerity (celerity-celerity-bsd4.2)
-
-  Version 18.49 worked.  This configuration name is a hack, because we
-  don't know the processor used by Celerities.  If someone
-  who uses a Celerity could get in touch with us, we can teach
-  config.sub a better name for the configuration.
-
-Clipper (clipper-???)
-
-  Version 19 has support for some brand of clipper system.  If you
-  have successfully built Emacs 19 on some sort of clipper system, let
-  us know so we can flesh out this entry.
-
-  Note that the Orion 105 is also a clipper, but some system-related
-  parameters are different.
-
-Convex (c1-convex-bsd, c2-convex-bsd, c32-convex-bsd, c34-convex-bsd,
-        c38-convex-bsd)
-
-  Support updated and residual bugs fixed in 19.26.
-
-Cubix QBx/386 (i386-cubix-sysv)
-
-  Changes merged in 19.1.  Systems before 2/A/0 may fail to compile etags.c
-  due to a compiler bug.
-
-Cydra 5 (cydra-cydrome-sysv)
-
-  18.51 worked in one version of their operating system but stopped
-  working in a newer version.  This has not been fixed.
-
-Data General Aviion (m88k-dg-dgux)
-
-  19.23 works; however, the GCC provided with DGUX 5.4R3.00 fails to
-  compile src/emacs.c.  GCC 2.5.8 does work.
-  The 19.26 pretest was reported to work; no word on which compiler.
-
-  System versions other than DGUX 5.4R3.00 have not been tested.
-
-DECstation (mips-dec-ultrix or mips-dec-osf)
-
-  This machine is the older Mips-based DECstation.
-  Emacs should now work on the Alpha CPU.
-
-  19.25 works on Ultrix 4.2.  The 19.26 pretest was reported to work
-  on Ultrix 4.2a and on 4.4.
-
-  One user reported 19.25 did not work at all with --with-x-toolkit
-  using X11R5 patch level 10, but worked ok with X11R5 pl26.
-
-  See under Ultrix for problems using X windows on Ultrix.
-  Note that this is a MIPS machine.
-
-  For Ultrix versions 4.1 or earlier, you may need to define
-  SYSTEM_MALLOC in `src/m/pmax.h', because XvmsAlloc.o in libX11.a seems
-  to insist on defining malloc itself.
-
-  For Ultrix versions prior to 4.0, you may need to delete
-  the definition of START_FILES from `src/m/pmax.h'.
-
-Motorola Delta 147 (m68k-motorola-sysv)
-
-  The EMacs 19.26 pretest was reported to work.
-
-  Motorola Delta boxes running System V/68 release 3.
-  Tested on 147 board with SVR3V7, no X and gcc.
-  Tested on 167 board with SVR3V7, no X, cc, gnucc and gcc.
-  Reports say it works with X too.
-
-  The installation script chooses the compiler itself.  gnucc is
-  preferred.
-
-Motorola Delta 187 (m88k-motorola-sysv,
-                   m88k-motorola-sysvr4, or
-                   m88k-motorola-m88kbcs)
-
-  The 19.26 pretest was reported to run on SVR3.  However, if you
-  use --with-x-toolkit on svr3, you will have problems compiling some
-  files because time.h and sys/time.h get included twice.
-  One fix is to edit those files to protect against multiple inclusion.
-
-  As of version 19.13, Emacs was reported to run under SYSVr3 and SYSVr4.
-Dual running System V (m68k-dual-sysv)
-
-  As of 17.46, this worked except for a few changes
-  needed in unexec.c.
-
-Dual running Uniplus (m68k-dual-uniplus)
-
-  Worked, as of 17.51.
-
-Elxsi 6400 (elxsi-elxsi-sysv)
-
-  Changes for 12.0 release are in 19.1.
-  Dumping should work now.
-
-Encore machine (ns16k-encore-bsd)
-
-  This machine bizarrely uses 4.2BSD modified to use the COFF format
-  for object files.  Works (as of 18.40).  For the APC processor you
-  must enable two lines at the end of `src/s/umax.h', which are commented
-  out in the file as distributed.
-
-  WARNING: If you compile Emacs with the "-O" compiler switch, you
-  must also use the "-q enter_exits" switch so that all functions have
-  stack frames.  Otherwise routines that call `alloca' all lose.
-
-  A kernel bug in some system versions causes input characters to be lost
-  occasionally.
-
-GEC 63 (local-gec63-usg5.2)
-
-  Changes are partially merged in version 18, but certainly require
-  more work.  Let us know if you get this working, and we'll give it a
-  real configuration name.
-
-Gould Power Node (pn-gould-bsd4.2 or pn-gould-bsd4.3)
-
-  18.36 worked on versions 1.2 and 2.0 of the operating system.
-
-  On UTX/32 2.0, use pn-gould-bsd4.3.
-
-  On UTX/32 1.2 and UTX/32S 1.0, use pn-gould-bsd4.2 and note that
-  compiling `lib-src/sorted-doc' tickles a compiler bug: remove the -g
-  flag to cc in the makefile.
-
-  UTX/32 1.3 has a bug in the bcopy library routine.  Fix it by 
-  #undef BSTRING in `src/m/gould.h'.
-
-  Version 19 incorporates support for releases 2.1 and later of UTX/32.
-  A site running a pre-release of 2.1 should #define RELEASE2_1 in config.h.
-
-Gould NP1 (np1-gould-bsd)
-
-  Version 19 supposedly works.
-
-Harris Night Hawk (m68k-harris-cxux or m88k-harris-cxux)
-
-  This port was added in 19.23.  The configuration actually tested was
-  a Night Hawk 4800 running CX/UX 7.0.
-
-  If you have GCC ported and want to build with it, you probably need to
-  change things (like compiler switches) defined in the s/cxux.h file.
-
-  With CX/UX 7.0 and later releases, you need to build after setting the
-  SDE_TARGET environment variable to COFF (a port using ELF and shared
-  libraries has not yet been done).
-
-Honeywell XPS100 (xps100-honeywell-sysv)
-
-  Config file added in version 19.
-
-Hewlett-Packard 9000 series 200 or 300 (m68k-hp-bsd or m68k-hp-hpux7.)
-
-  Version 19 works under BSD.  The 19.26 pretest was reported
-  to work on HPUX 9.
-
-  These machines are 68000-series CPUs running HP/UX
-  (a derivative of sysV with some BSD features) or BSD 4.3 ported by Utah.
-  The operating system suffix determines which system Emacs is built for.
-
-  Series 200 HPUX runs Emacs only if it has the "HP/UX upgrade".
-
-  If you are running HP/UX release 8.0 or later, you need the optional
-  "C/ANSI C" software in order to build Emacs (older releases of HP/UX
-  do not require any special software).  If the file "/etc/filesets/C"
-  exists on your machine, you have this software, otherwise you do not.
-
-  Note that HP has used two incompatible assembler syntaxes,
-  and has recently changed the format of C function frames.
-  `src/crt0.c' and `src/alloca.s' have been conditionalised for the new
-  assembler and new function-entry sequence.  You may need to define
-  OLD_HP_ASSEMBLER if you are using an older hpux version.  If you
-  have an official (bought from HP) series 300 machine you have
-  the new assembler.  Kernels that are 5.+ or later have new
-  assembler.  A Series 200 that has been upgraded to a 68010
-  processor and a 5.+ kernel has the new compiler.
-
-  Define C_SWITCH_MACHINE to be +X to make a version of Emacs that
-  runs on both 68010 and 68020 based HP/UX's.
-
-  Define HPUX_68010 if you are using the new assembler, for
-  a system that has a 68010 without a 68881.  This is to say,
-  a s200 (upgraded) or s310.
-
-  Define the symbol HPUX_NET if you have the optional network features
-  that include the `netunam' system call.  This is referred to as
-  Network Services (NS/9000) in HP literature.
-
-HP 9000 series 500: not supported.
-
-  The series 500 has a seriously incompatible memory architecture
-  which relocates data in memory during execution of a program,
-  and support for it would be difficult to implement.
-
-HP 9000 series 700 or 800 (Spectrum) (hppa1.0-hp-hpux or hppa1.1-hp-hpux
-                                     or ...hpux9shr)
-
-  19.26 is believed to work on HPUX 9 provided you compile with GCC.
-  As of version 19.16, Emacs was reported to build (using GCC) and run
-  on HP 9000/700 series machines running HP/UX versions 8.07 and 9.01.
-
-  Use hppa1.1 for the 700 series and hppa1.0 for the 800
-  series machines.  (Emacs may not actually care which one you use.)
-
-  Use hppa1.1-hp-hpux9shr to use shared libraries on HPUX version 9.
-  You may need to create the X libraries libXaw.a and libXmu.a from
-  the MIT X distribute, and you may need to edit src/Makefile's
-  definition of LIBXT to look like this:
-
-     LIBXT= $(LIBW) -lXmu -lXt $(LIBXTR6) -lXext
-
-  Some people report trouble using the GNU memory allocator under
-  HP/UX version 9.  The problems often manifest as lots of ^@'s in the
-  buffer.
-  
-  We are told that these problems go away if you obtain the latest
-  patches for the HP/UX C compiler.  James J Dempsey
-  <jjd@spserv.bbn.com> says that this set of versions works for him:
-    /bin/cc:
-           HP92453-01 A.09.28 HP C Compiler
-    /lib/ccom:
-           HP92453-01 A.09.28 HP C Compiler
-            HP-UX SLLIC/OPTIMIZER  HP-UX.09.00.23  02/18/93
-            Ucode Code Generator - HP-UX.09.00.23.5 (patch)  2/18/93
-
-  For 700 series machines, the HP-UX patch needed is known as
-  PHSS_2653.  (Perhaps for 800 series machines as well; we don't
-  know.)  If you are on the Internet, you should be able to obtain
-  this patch by using telnet to access the machine
-  support.mayfield.hp.com and logging in as "hpslreg" and following
-  the instructions there.  Do not ask FSF for further support on
-  this.  If you have any trouble obtaining the patch, contact HP
-  Software Support.
-
-  If your buffer fills up with nulls (^@) at some point, it could well
-  be that problem.  That problem does not happen when people use GCC
-  to compile Emacs.  On the other hand, the HP compiler version 9.34
-  was reported to work for the 19.26 pretest.  9.65 was also reported to work.
-
-  If you turn on the DSUSP character (delayed suspend),
-  Emacs 19.26 does not know how to turn it off on HPUX.
-  You need to turn it off manually.
-
-  If you are running HP/UX release 8.0 or later, you need the optional
-  "C/ANSI C" software in order to build Emacs (older releases of HP/UX
-  do not require any special software).  If the file "/etc/filesets/C"
-  exists on your machine, you have this software, otherwise you do not.
-
-High Level Hardware Orion (orion-highlevel-bsd)
-
-  This is the original microprogrammed hardware.
-  Machine description file ought to work.
-
-High Level Hardware Orion 1/05 (clipper-highlevel-bsd)
-
-  Changes merged in 18.52.  This is the one with the Clipper cpu.
-  Note that systems which lack NFS need LOAD_AVE_TYPE changed to `double'.
-
-  C compiler has a bug; it loops compiling eval.c.
-  Compile it by hand without optimization.
-
-IBM PS/2 (i386-ibm-aix1.1 or i386-ibm-aix1.2)
-
-  Changes merged in version 19.  You may need to copy
-  /usr/lib/samples/hft/hftctl.c to the Emacs src directory.
-
-  i386-ibm-aix1.1 may not work with certain new X window managers, and
-  may be suboptimal.
-
-IBM RS/6000 (rs6000-ibm-aix)
-
-  Emacs 19.26 is believed to work; its pretest was tested.
-
-  At last report, Emacs didn't run well on terminals.  Informed
-  persons say that the tty VMIN and VTIME settings have been
-  corrupted; if you have a fix, please send it to us.
-
-  Compiling with -O using the IBM compiler has been known
-  to make Emacs work incorrectly.  It's reported that on
-  AIX 3.2.5 with an IBM compiler earlier than 1.03.00.14,
-  cc -O fails for some files.  You need to install any
-  PTF containing APAR #IX42810 to bring the compiler to
-  the 1.03.00.14 level to allow optimized compiles.
-  Alternatively, recompiling just emacs.c and extents.c
-  without optimization seems to do the trick as well.
-
-  There are reports that IBM compiler versions earlier than 1.03.00.02
-  fail even without -O.
-
-  As of 19.11, if you strip the Emacs executable, it ceases to work.
-
-  If you are using AIX 3.2.3, you may get a core dump when loading
-  ange-ftp.  You may be able to fix the problem by defining LIBS_TERMCAP
-  as -ltermcap -lcurses.  Please tell us if this fails to work.
-
-  If anyone can fix the above problems, or confirm that they don't happen
-  with certain versions of various programs, we would appreciate it.
-
-IBM RT/PC (romp-ibm-bsd or romp-ibm-aix)
-
-  Use romp-ibm-bsd for the 4.2-like system and romp-ibm-aix for AIX.
-  19.22 is reported to work under bsd.  We don't know about AIX.
-
-  On BSD, if you have trouble, try compiling with a different compiler.
-
-  On AIX, the file /usr/lib/samples/hft/hftctl.c must be compiled into
-  hftctl.o, with this result left in the src directory (hftctl.c is
-  part of the standard AIX distribution).
-
-  window.c must not be compiled with -O on AIX.
-
-Integrated Solutions `Optimum V' (m68k-isi-bsd4.2 or -bsd4.3)
-
-  18.52 said to work on some sort of ISI machine.
-  Version 18.45 worked (running on a Optimum V (VME bus, 68020)
-  BSD 4.2 (3.05e) system).  18.42 is reported to work on
-  a Qbus 68010 system.  Has not been tried on `WorkStation' `Cluster
-  Compute Node' `Cluster WorkStation' or `Server Node'  (Love the
-  StudLYCaps) 
-
-  Compilation with -O is rumored to break something.
-
-  On recent system versions, you may need to undefine the macro UMAX
-  in `lib-src/loadst.c' and `src/getpagesize.h'.  They stupidly defined this
-  in a system header file, which confuses Emacs (which thinks that UMAX
-  indicates the Umax operating system).
-
-Intel 386 (i386-*-isc,                 i386-*-esix,
-          i386-*-xenix,        i386-*-linux,    i386-*-freebsd,
-          i386-intsys-sysv,    i386-*-sysv3,
-          i386-*-sysv4,        i386-*-sysv4.2,
-          i386-*-sysv5.3,      i386-*-bsd4.2,
-          i386-*-sco3.2v4,     i386-*-bsd386,   i386-*-386bsd
-          or i486... or i586...)
-
-  In the above configurations, * means that the manufacturer's name
-  you specify does not matter, and you can use any name you like
-  (but it should not contain any dashes or stars).
-
-  When using the ISC configurations, be sure to specify the isc
-       version number - for example, if you're running ISC 3.0, use
-       i386-unknown-isc3.0 as your configuration name.
-  Use i386-*-esix for Esix; Emacs runs as of version 19.6.
-  Use i386-*-linux for GNU/Linux systems; Emacs runs as of version 19.26.
-  Use i386-intsys-sysv for Integrated Solutions 386 machines.
-  It may also be correct for Microport systems.
-  Use i386-*-sco3.2v4 for SCO 3.2v4; Emacs runs as of version 19.26.
-
-  On GNU/Linux systems, Emacs 19.23 was said to work properly with libc
-  version 4.5.21, but not with 4.5.19.  If your system uses QMAGIC
-  for the executable format, you must edit config.h to define LINUX_QMAGIC.
-
-  On GNU/Linux, configure may fail to put these definitions in config.h:
-
-    #define HAVE_GETTIMEOFDAY
-    #define HAVE_MKDIR
-    #define HAVE_RMDIR
-
-  To work around the problem, add those definitions by hand.
-  It is possible that this problem happens only with X11R6
-  or that newer system versions have fixed it.
-
-  The 19.26 pretest was reported to work on SVR4.3 and on Freebsd.
-
-  Use i386-*-bsd386 for BSDI BSD/386; Emacs runs as of version 19.23.
-  Make on that system is broken; use GNU make instead.
-  Shell bugs in version 1.0 of BSD/386 cause configure
-  to do the wrong thing with --with-x-toolkit; the workaround is to edit
-  configure to run another shell such as bash.
-
-  For System V release 3, use i386-*-sysv3.
-  For System V release 4, use i386-*-sysv4.
-  For System V release 4.2, use i386-*-sysv4.2.
-
-  If you are using Xenix, see notes at end under Xenix.
-  If you are using Esix, see notes at end under Esix.
-  If you are using SCO Unix, see notes at end under SCO.
-
-  On 386bsd, netbsd and freebsd, you should use GNU make, not the
-  system's make.  Assuming it's installed as gmake, do `gmake install
-  MAKE=gmake'.
-
-  If you are using System V release 4.2, you may find that `cc -E'
-  puts spurious spaces in `src/xmakefile'.  If that happens,
-  specify CPP=/lib/cpp as an option when you run make.
-  There is no problem if you compile with GCC.
-    
-  Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries
-  requires the experimental "net 2" network patches (no relation to
-  Berkeley Net 2).  There is a report that (some version of) Linux
-  requires including `/usr/src/linux/include/linux' in buffer.c
-  but no coherent explanation of why that might be so.  If it is so,
-  in current versions of Linux, something else should probably be changed.
-
-  Some sysV.3 systems seem to have bugs in `opendir';
-  for them, alter `config.h' to define NONSYSTEM_DIR_LIBRARY
-  and undefine SYSV_SYSTEM_DIR.
-
-  If you use optimization on V.3, you may need the option -W2,'-y 0'
-  to prevent certain faulty optimization.
-
-  On 386/ix, to link with shared libraries, add #define USG_SHARED_LIBRARIES
-  to config.h.
-
-  On SCO, there are problems in regexp matching when Emacs is compiled
-  with the system compiler.  The compiler version is "Microsoft C
-  version 6", SCO 4.2.0h Dev Sys Maintenance Supplement 01/06/93;
-  Quick C Compiler Version 1.00.46 (Beta).  The solution is to compile
-  with GCC.
-
-  On ISC systems (2.02 and more recent), don't try to use the versions
-  of X that come with the system; use XFree86 instead.
-
-  There is no consistency in the handling of certain system header files
-  on V.3.
-
-  Some versions have sys/sioctl.h, and require it in sysdep.c.
-  But some versions do not have sys/sioctl.h.
-  For a given version of the system, this may depend on whether you have
-  X Windows or TCP/IP.  Define or undefine NO_SIOCTL_H in config.h
-  according to whether you have the file.
-
-  Likewise, some versions have been known to need sys/ttold.h, sys/stream.h,
-  and sys/ptem.h included in sysdep.c.  If your system has these files,
-  try defining NEED_PTEM_H in config.h if you have trouble without it.
-
-  You may find that adding -I/usr/X/include or -I/usr/netinclude or both
-  to CFLAGS avoids compilation errors on certain systems.
-
-  Some versions convince sysdep.c to try to use `struct tchars'
-  but define `struct tc' instead; add `#define tchars tc'
-  to config.h to solve this problem.
-
-Iris 2500 and Iris 2500 Turbo (m68k-sgi-iris3.5 or m68k-sgi-iris3.6)
-
-  Version 18 was said to work; use m68k-sgi-iris3.5 for system version 2.5
-  and m68k-sgi-iris3.6 for system version 3.6.
-  Note that the 3030 is the same as the Iris 2500 Turbo.
-
-Iris 4D (mips-sgi-irix[456].*)
-
-  The 19.26 pretest was reported to work on IRIX 4.0.5 and 5.2.
-  19.23 was reported to work on IRIX 5.2, but you may need to install
-  the "compiler_dev.hdr.internal" subsystem in order to compile unexelfsgi.c.
-  19.22 was known to work on all Silicon Graphics machines running
-  IRIX 4.0.5 or IRIX 5.1.
-
-  Compiling with -O using IRIX compilers prior to 3.10.1 may not work.
-  Don't use -O or use GCC instead.
-
-  Most IRIX 3.3 systems do not have an ANSI C compiler, but a few do.
-  Compile Emacs 18 with the -cckr switch on these machines.
-
-  There is a bug in IRIX 3.3 that can sometimes leave ptys owned by root
-  with a permission of 622.  This causes malfunctions in use of
-  subprocesses of Emacs.  Irix versions 4.0 and later with GNU Emacs
-  versions 18.59 and later fix this bug.
-
-Masscomp (m68k-masscomp-rtu)
-
-  18.36 worked on a 5500DP running RTU v3.1a and compiler version 3.2
-  with minor fixes that are included in 18.37.  However, bizarre behavior
-  was reported for 18.36 on a Masscomp (model and version unknown but probably
-  a 68020 system).  The report sounds like a compiler bug.
-
-  A compiler bug affecting statements like 
-    unsigned char k; unsigned char *p;... x = p[k];
-  has been reported for "C version 1.2 under RTU 3.1".  We do not wish
-  to take the time to install the numerous workarounds required to
-  compensate for this bug.
-
-  For RTU version 3.1, define FIRST_PTY_LETTER to be 'p' in `src/s/rtu.h'
-  (or #undef and redefine it in config.h) so that ptys will be used.
-
-  GNU Emacs is said to have no chance of compiling on RTU versions
-  prior to v3.0.
-
-Megatest (m68k-megatest-bsd)
-
-  Emacs 15 worked; do not have any reports about Emacs 16 or 17
-  but any new bugs are probably not difficult.
-
-Mips (mips-mips-riscos, mips-mips-riscos4.0, or mips-mips-bsd)
-
-  The C compiler on Riscos 4.51 dumps core trying to optimize
-  parts of Emacs.  Try without optimization or try GCC.
-
-  Meanwhile, the linker on that system returns success even if
-  there are undefined symbols; as a result, configure gets the
-  wrong answers to various questions.  No work-around is known
-  except to edit src/config.h by hand to indicate which functions
-  don't exist.
-
-  Use mips-mips-riscos4.0 for RISCOS version 4.
-  Use mips-mips-bsd with the BSD world.
-
-  Note that the proper configuration names for DECstations are
-  mips-dec-ultrix and mips-dec-osf.
-
-  If you are compiling with GCC, then you must run fixincludes;
-  the alternative of using -traditional won't work because
-  the definition of SIGN_EXTEND_CHAR uses the keyword `signed'.
-
-  If the SYSV world is the default, then you probably need the following
-  line in etc/Makefile:
-
-    CFLAGS= -g -systype bsd43
-
-  Some operating systems on MIPS machines give SIGTRAP for division by
-  zero instead of the usual signals.  The only real solution is to fix
-  the system to give a proper signal.
-
-  In the meantime, you can change init_data in data.c if you wish.
-  Change it to handle SIGTRAP as well as SIGFPE.  But this will have a
-  great disadvantage: you will not be able to run Emacs under a
-  debugger.  I think crashing on division by zero is a lesser problem.
-
-  dsg@mitre.org reported needing to use --x-libraries=/bsd43/usr/lib
-  on a riscos4bsd site.  But it is not clear whether this is needed in
-  general or only because of quirks on a particular site.
-
-National Semiconductor 32000 (ns32k-ns-genix)
-
-  This is for a complete machine from National Semiconductor,
-  running Genix.  Changes merged in version 19.
-
-NCR Tower 32 (m68k-ncr-sysv2 or m68k-ncr-sysv3)
-
-  If you are running System V release 2, use m68k-ncr-sysv2.
-  If you are running System V release 3, use m68k-ncr-sysv3.
-
-  These both worked as of 18.56.  If you change `src/ymakefile' so that
-  CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH, check
-  out the comments in `src/m/tower32.h' (for System V release 2) or
-  `src/m/tower32v3.h' (for System V release 3) about this.
-
-  There is a report that compilation with -O did not work with 18.54
-  under System V release 2.
-
-NCR Intel system (i386-ncr-sysv4.2)
-
-  This system works in 19.31, but if you don't link it with GNU ld,
-  you may need to set LD_RUN_PATH at link time to specify where
-  to find the X libraries.
-
-NeXT (m68k-next-nextstep)
-
-  Emacs 19 has not been tested extensively yet, but it seems to work
-  in a NeXTStep 3.0 terminal window, and under the X server called
-  co-Xist.  You may need to specify -traditional when src/Makefile
-  builds xmakefile.
-
-  NeXT users might want to implement direct operation with NeXTStep,
-  but from the point of view of the GNU project, that is a
-  distraction.
-
-  Thanks to Thorsten Ohl for working on the NeXT port of Emacs 19.
-
-Nixdorf Targon 31 (m68k-nixdorf-sysv)
-
-  Machine description file for version 17 is included in 18
-  but whether it works is not known.
-  `src/unexec.c' bombs if compiled with -O.
-  Note that the "Targon 35" is really a Pyramid.
-
-Nu (TI or LMI) (m68k-nu-sysv)
-
-  Version 18 is believed to work.
-
-Paragon OSF/1 (i860-intel-osf1)
-
-  Changes merged in 19.29.
-
-  There is a bug in OSF/1 make which claims there is a syntax error
-  in the src/xmakefile.  You can successfully build emacs with:
-
-        pmake MAKE=pmake
-
-Plexus (m68k-plexus-sysv)
-
-  Worked as of 17.56.
-
-Pmax (DEC Mips)  (mips-dec-ultrix or mips-dec-osf1)
-
-  See under DECstation, above.
-
-Prime EXL (i386-prime-sysv)
-
-  Minor changes merged in 19.1.
-
-Pyramid (pyramid-pyramid-bsd)
-
-  The 19.26 pretest was observed to work on OSx 5.0, but it is necessary
-  to edit gmalloc.c.  You must add #include <sys/types.h> at the top,
-  and delete the #define for size_t.
-
-  You need to build Emacs in the Berkeley universe with
-  the `ucb' command, as in `ucb make' or `ucb build-install'.
-  
-  In OSx 4.0, it seems necessary to add the following two lines
-  to `src/m/pyramid.h':
-     #define _longjmp longjmp
-     #define _setjmp setjmp
-
-  In Pyramid system 2.5 there has been a compiler bug making
-  Emacs crash just after screen-splitting with Qnil containing 0.
-  A compiler that fixes this is Pyramid customer number 8494,
-  internal number 1923.
-
-  Some versions of the pyramid compiler get fatal
-  errors when the -gx compiler switch is used; if this
-  happens to you, change `src/m/pyramid.h' to define
-  C_DEBUG_SWITCH with an empty definition.
-
-  Some old system versions may require you to define PYRAMID_OLD
-  in when alloca.s is preprocessed, in order to define _longjmp and _setjmp.
-
-Sequent Balance (ns32k-sequent-bsd4.2 or ns32k-sequent-bsd4.3)
-
-  Emacs 18.51 worked on system version 3.0.  18.52 is said to work.
-  Delete some lines at the end of `src/m/sequent.h' for earlier system
-  versions.
-
-Sequent Symmetry (i386-sequent-bsd, i386-sequent-ptx)
-
-  Emacs 19 should work on Dynix (BSD).  However, if you compile with
-  the Sequent compiler, you may find Emacs does not restore the
-  terminal settings on exit.  If this happens, compile with GCC.
-
-  Emacs 19.27 contains patches that should support
-  DYNIX/ptx 1.4 and 2.1 with the native cc compiler.
-
-  Gcc can't compile src/process.c due to a non-standard Sequent asm
-  keyword extension supported by cc and used for the network byte/word
-  swapping functions in the PTX /usr/include/netinet/in.h file.  Gcc
-  2.5.8 includes the file <sys/byteorder.h> which can be included into
-  netinet/in.h to perform these byte/word swapping functions in the
-  same manner.  Patches have been submitted to the FSF against gcc
-  2.6.0 to fix this problem and allow Emacs to be built with gcc.
-
-  If your machine does not have TCP/IP installed, you will have to edit the
-  src/s/ptx.h file and comment out #define TCPIP_INSTALLED.
-
-Siemens Nixdorf RM600 and RM400 (mips-siemens-sysv4)
-
-  Changes merged in 19.29.  This configuration should also work for
-  Pyramid MIS Server running DC-OSX 1.x.  The version configured with
-  `--with-x' works without any modifications, but `--with-x-toolkit'
-  works only if the Athena library and the Toolkit library are linked
-  statically.  For this, edit `src/Makefile' after the `configure' run
-  and modify the lines with `-lXaw' and `-lXt' as follows:
-
-    LIBW= /usr/lib/libXaw.a
-    LIBXT= $(LIBW) -lXmu /usr/lib/libXt.a $(LIBXTR6) -lXext
-
-SONY News (m68k-sony-bsd4.2 or m68k-sony-bsd4.3)
-
-  18.52 worked.  Use m68k-sony-bsd4.3 for system release 3.
-
-SONY News 3000 series (RISC NEWS) (mips-sony-bsd)
-
-  The 19.26 pretest is reported to work.
-
-  Some versions of the operating system give SIGTRAP for division by zero
-  instead of the usual signals.  This causes division by zero
-  to make Emacs crash.  The system should be fixed to give the proper signal.
-  Changing Emacs is not a proper solution, because it would prevent
-  Emacs from working under any debugger.  But you can change init_data
-  in data.c if you wish.
-
-Stardent i860 (i860-stardent-sysv4.0)
-
-  19.26 pretest reported to work.
-
-Stardent 1500 or 3000
-
-  See Titan.
-
-Stride (m68k-stride-sysv)
-
-  Works (most recent news for 18.30) on their release 2.0.
-  For release 2.2, see the end of `src/m/stride.h'.
-  It may be possible to run on their V.1 system but changes
-  in the s- file would be needed.
-
-Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
-                              sparc-sun-sunos4shr, sparc-sun-solaris2.*,
-                              i386-sun-solaris2.*)
-
-  19.26 is believed to work on Sparcs and Sun 3's.  Some people report
-  that Emacs crashes immediately on startup when used with a non-X
-  terminal, but we think this is due to compiling with GCC and failing
-  to use GCC's "fixed" system header files.
-
-  Some Sun versions of X windows use the clipboard, not the selections,
-  for transferring text between clients.  The Cut, Paste and Copy items
-  in the menu bar Edit menu work with the clipboard.
-
-  It's important to include the SunOS version number in the
-  configuration name.  For example, for SunOS release 4.0 on a Sun 3,
-  use `m68k-sun-sunos4.0'; for SunOS release 4.1 on a Sparc, use
-  `sparc-sun-sunos4.1'.  For SunOS release 4.1.3 on a Sparc, use
-  `sparc-sun-sunos4.1.3'.  Use sunos4shr to link with shared libraries
-  on Sunos 4.1.
-
-  (FSF MACHINES file says use of shared libraries does not work with
-  X11R5 or X11R6 on Sunos 4 as of 19.26, but I think this does not
-  apply to XEmacs.)
-
-  Use `m68k' for the 68000-based Sun boxes, `sparc' for Sparcstations,
-  and `i386' for Sun Roadrunners.  i386 calls for Sunos4.0.
-
-  Do not define the environment variable 'KEEP_STATE' while running
-  `configure'.
-
-  FSF MACHINES file says the following: (may not apply to XEmacs)
-
-  If you compile with Sun's ANSI compiler acc, you need additional options
-  when linking temacs, such as
-     /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1
-  (those should be added just before the libraries) and you need to
-  add -lansi just before -lc.  The precise file names depend on the
-  compiler version, so we cannot easily arrange to supply them.
-
-  On SunOS 4.1.1, do not use /usr/5bin/cc.  You can use gcc or/usr/bin/cc.
-  Make sure the environment variable LD_LIBRARY_PATH is not defined.
-
-  Some people report crashes on SunOS 4.1.3 if SYSTEM_MALLOC is defined.
-  Others have reported that Emacs works if SYSTEM_MALLOC is defined, and not
-  if it is undefined.  So far we do not know why results vary in this way.
-  The sources are set up so that SYSTEM_MALLOC is defined; if that crashes,
-  or if you want the benefit of the relocating memory allocator, you can
-  try enabling the #undef SYSTEM_MALLOC in src/s/sunos4-1-3.h.
-
-  On Solaris 2, you need to install patch 100947-02 to fix a system bug.
-  Presumably this patch comes from Sun.  You must alter the definition of
-  LD_SWITCH_SYSTEM if your X11 libraries are not in /usr/openwin/lib.
-  You must make sure that /usr/ucblib is not in your LD_LIBRARY_PATH.
-
-  On Solaris 2.2, with a multiprocessor SparcCenter 1000, Emacs 19.17 is
-  reported to hang sometimes if it exits while it has one or more
-  subprocesses (e.g. the `wakeup' subprocess used by `display-time').
-  Emacs and its subprocesses become zombies, and in their zombie state
-  slow down their host and disable rlogin and telnet.  This is most
-  likely due to a bug in Solaris 2.2's multiprocessor support,
-  rather than an Emacs bug.
-
-  On Solaris, do not use /usr/ucb/cc.  Use /opt/SUNWspro/bin/cc.  Make
-  sure that /usr/ccs/bin and /opt/SUNWspro/bin are in your PATH before
-  /usr/ucb.  (Most free software packages have the same requirement on
-  Solaris.)
-
-  If you have trouble using open-network-stream, get the distribution
-  of `bind' (the BSD name-server), build libresolv.a, and link Emacs
-  with -lresolv, by copying the #definition of LIBS_SYSTEM in
-  src/s/sunos4-1.h to src/config.h.  This problem is due to obsolete
-  software in the nonshared standard library.
-
-  If you want to use SunWindows, define HAVE_SUN_WINDOWS
-  in config.h to enable a special interface called `emacstool'.
-  The definition must *precede* the #include "machine.h".
-  System version 3.2 is required for this facility to work.
-
-  We recommend that you instead use the X window system, which
-  has technical advantages, is an industry standard, and is also
-  free software.  The FSF does not support the SunWindows code;
-  we installed it only on the understanding we would not let it
-  divert our efforts from what we think is important.
-
-  If you are compiling for X windows, and the X window library was
-  compiled to use the 68881, then you must edit config.h according
-  the comments at the end of `src/m/sun3.h'.
-
-  Note that Emacs on a Sun is not really as big as it looks.
-  As dumped, it includes around 200k of zeros between the
-  original text section and the original data section
-  (now remapped as part of the text).  These are never
-  swapped in.
-
-  To build a single Emacs that will run on Sun 2 and Sun 3
-  HARDWARE, just build it on the Sun 2.
-
-  On Sunos 4.1.3, the word is that Emacs can loop infinitely
-  on startup with X due perhaps to a bug in Sunos.  Installing all of
-  these Sun patches fixes the problem.  We don't know which of them
-  are really relevant.
-
-    100075-11 100224-06 100347-03 100482-05 100557-02 100623-03 100804-03
-    101080-01 100103-12 100249-09 100496-02 100564-07 100630-02 100891-10
-    101134-01 100170-09 100296-04 100377-09 100507-04 100567-04 100650-02
-    101070-01 101145-01 100173-10 100305-15 100383-06 100513-04 100570-05
-    100689-01 101071-03 101200-02 100178-09 100338-05 100421-03 100536-02
-    100584-05 100784-01 101072-01 101207-01
-
-Tadpole 68K (m68k-tadpole-sysv)
-
-  Changes merged in 19.1.
-
-  You may need to edit Makefile to change the variables LIBDIR and
-  BINDIR from /usr/local to /usr/contrib.
-
-  To give movemail access to /usr/mail, you may need to execute
-
-    chmod 2755 etc/movemail; chgrp mail etc/movemail
-
-Tahoe (tahoe-tahoe-bsd4.2 or tahoe-tahoe-bsd4.3)
-
-  18.52 was known to work on some Tahoes, but a compiler bug intervenes
-  on others.  Some Emacs versions have worked in Unisys 1r4
-  (not in 1r3) and CCI I.21.
-
-  If you have trouble compiling `lib-src/loadst.c', turn off the definition
-  of DKSTAT_HEADER_FILE in `src/m/tahoe.h'.
-
-Tandem Integrity S2 (mips-tandem-sysv)
-
-  Changes merged in 18.56 but subprocess support is turned off.
-  You will probably want to see if you can make subprocesses work.
-
-  You must edit `lib-src/Makefile' to define LOADLIBES = -mld.
-
-Tektronix XD88 (m88k-tektronix-sysv3*)
-
-  The 19.26 pretest was reported to work.
-  Minor changes merged in 19.19.
-
-Tektronix 16000 box (6130?) (ns16k-tektronix-bsd)
-
-  Emacs 17.61 worked.
-
-Tektronix 4300 (m68k-tektronix-bsd)
-
-  Emacs 19.26 pretest reported to work.
-
-Titan P2 or P3 (titan-titan-sysv)
-
-  Changes probably merged in version 19.
-
-Ustation E30 (SS5E) (m68k-unisys-unipl)
-
-  Changes merged in 18.52; don't know whether they work.
-
-Vaxen running Berkeley Unix (vax-dec-bsd4.1, vax-dec-bsd4.2, vax-dec-bsd4.3),
-             Ultrix (vax-dec-ultrix),
-              System V (vax-dec-sysv0, vax-dec-sysv2), or
-              VMS (vax-dec-vms)
-
-  Works.
-
-  See under Ultrix for problems using X windows on Ultrix (vax-dec-ultrix).
-
-  18.27 worked on System V rel 2 (vax-dec-sysv2).
-
-  18.36 worked on System V rel 0 (vax-dec-sysv0).
-
-  Richard Levitte <levitte@e.kth.se> distributes a set of patches to
-  Emacs 18.59 to make it work nicely under VMS.  Emacs 19 probably
-  won't work very well, or even compile.  Levitte is working on a
-  port, so these problems should be fixed in the near future.
-
-Whitechapel MG1 (ns16k-whitechapel-?)
-
-  May work.  Supposedly no changes were needed except in `src/m/mg1.h'
-  file.  I do not know what Unix version runs on them.
-
-Wicat (m68k-wicat-sysv)
-
-  Changes merged as of 18.6; whether they work is unknown.
-  See comments in `src/m/wicat.h' for things you should change
-  depending on the system and compiler version you have.
-\f
-Here are notes about some of the systems supported:
-
-Berkeley 4.1 (bsd4.1)
-
-  Works on vaxes.
-
-Berkeley 4.2 (bsd4.2)
-
-  Works on several machines.
-
-Berkeley 4.3 (bsd4.3)
-
-  Works, on Vaxes at least.
-
-Esix
-
-  The following was written for Emacs 18.59 and has been
-  slightly adapted for Emacs 19.  It may need more change to be correct.
-
-  Use s/usg5-4.h for Esix System V 4.0.[34] systems if you also have
-  XFree86.  If you insist on using the Esix X Window libraries, good
-  luck.  s/esix5r4.h provides a starting point, but doesn't seem to
-  work consistently.  The basic problems involve the need to load
-  -lX11 *last* in the link command, and even then some things break.
-  You get best results by installing XFree86 and forgetting about the
-  Esix stuff unless you want to run IXI xdt3, which really only needs
-  the Esix X11 shared libraries.
-
-  To compile with XFree86, make sure that your LD_LIBRARY_PATH
-  contains /usr/X386/lib.  Be careful if you also have the Esix X
-  Window libraries that /usr/X386/lib appears *first* in the
-  LD_LIBRARY_PATH.  Then define C_SWITCH_X_SYSTEM -I/usr/X386/include.
-
-Microport
-
-  See under "Intel 386".
-
-SCO Unix
-  If you have TCP but not X, you need to edit src/s/sco4.h
-  to define HAVE_SOCKETS.
-
-  If you are using MMDF instead of sendmail, you need to remove
-  /usr/lib/sendmail or modify lisp/paths.el before compiling.
-  lisp/paths.el (which is loaded during the build) will attempt to use
-  sendmail if it exists.
-
-  If you are using SMAIL, you need to define the macro
-  SMAIL in config.h.
-
-System V rel 0 (usg5.0)
-
-  Works, on Vaxes and 3bxxx's.
-  There are some problems in 18.37 due to shortnames/cccp problems:
-  use the emacs 17 cpp if you have it.
-
-System V rel 2 (usg5.2)
-
-  Works on various machines.
-  On some (maybe all) machines the library -lPW exists and contains
-  a version of `alloca'.  On these machines, to use it, put
-     #define HAVE_ALLOCA
-     #define LIB_STANDARD -lPW -lc
-  in the `src/m/MACHINENAME.h' file for the machine.
-
-  If you find that the character Meta-DEL makes Emacs crash,
-  find where function init_sys_modes in sysdep.c sets sg.c_cc[VQUIT]
-  and make it store 7 there.  I have as yet no evidence of whether
-  this problem, known in HP/UX, exists in other system V versions.
-
-System V rel 2.2 (usg5.2.2)
-
-  In 5.2.2 AT&T undid, incompatibly, their previous incompatible
-  change to the way the nlist library is called.  A different s- file
-  is used to enable the other interface.
-
-  They call themselves the right choice--can't they choose?
-
-  Emacs version 18 unexec is currently not working properly
-  on 5.2.2.  Nobody knows why yet.  A workaround is to define
-  NO_REMAP.  It is not yet known whether this applies to all
-  machines running 5.2.2.
-
-System V rel 3 (usg5.3)
-
-  Some versions of this system support ptys and BSD-style sockets.
-  On such systems, you should define HAVE_PTYS and HAVE_SOCKETS in config.h.
-
-  If you want to link Emacs with shared libraries, define
-  USG_SHARED_LIBRARIES.
-
-  You may have to add ANSI idempotence #-lines to your sys/types.h
-  file to get Emacs to compile correctly.  This may be necessary on
-  other pre-ANSI systems as well.
-
-  On an AT&T 6386WGS using System V Release 3.2 and X11R3, the X support
-  cannot be made to work.  Whether or not the GNU relocating malloc is
-  used, the symptom is that the first call Emacs makes to sbrk(0) returns
-  (char *)-1.  Sorry, you're stuck with character-only mode.  Try
-  installing Xfree86 to fix this.
-
-System V rel 4.0.3 and 4.0.4 (usg5.4)
-
-  Supported, including shared libraries for ELF, but ptys do not work
-  because TIOCGPGRP fails to work on ptys (but Dell 2.2 seems to have
-  fixed this).  This failure is probably due to a misunderstanding of
-  the consequences of the POSIX spec: many system designers mistakenly
-  think that POSIX requires this feature to fail.  This is untrue;
-  ptys are an extension, and POSIX says that extensions *when used*
-  may change the action of standard facilities in any fashion.
-
-  If you get compilation errors about wrong number of
-  arguments to getpgrp, define GETPGRP_NO_ARG.
-
-  The standard C preprocessor may generate xmakefile incorrectly.  However,
-  /lib/cpp will work, so use `make CPP=/lib/cpp'.  Standard cpp
-  seems to work OK under Dell 2.2.
-
-  Some versions 3 and earlier of V.4, on the Intel 386 and 860, had
-  problems in the X11 libraries.  These prevent Emacs from working
-  with X.  You can use Emacs with X provided your copy of X is based
-  on X11 release 4 or newer, or is Dell's 2.2 (which is a 4.0.3).
-  Unfortunately, the only way you can tell whether your X11 library is
-  new enough is to try compiling Emacs to use X.  If emacs runs, your
-  X11 library is new enough.
-
-  In this context, GSV4 and GSV4i are alternate names for X11R4.
-  OL2.* is X11R3 based.  OL3 is in between X11R3 and X11R4, and may or
-  may not work, depending on who made the Unix system.  If the library
-  libXol is part of the X distribution, then you have X11R3 and Emacs
-  won't work with X.
-
-  Most versions of V.4 support sockets.  If `/usr/lib/libsocket.so'
-  exists, your system supports them.  If yours does not, you must add
-  #undef HAVE_SOCKETS in config.h, after the inclusion of s-usg5-4.h.
-  (Any system that supports Internet should implement sockets.)
-
-Ultrix (bsd4.3)
-
-  Recent versions of Ultrix appear to support the features of Berkeley 4.3.
-  Ultrix was at the BSD 4.2 level for a long time after BSD 4.3 came out.
-
-  Ultrix 3.0 has incompatibilities in its X library if you have the
-  Ultrix version of X (UWS version 2.0).  To solve them, you need to
-  prevent XvmsAlloc.o in Xlib from being used.  Israel Pinkas says:
-
-    I added the following lines to config.h after the X defines:
-
-    #if defined(ultrix) && defined(X11)
-    #define OBJECTS_SYSTEM calloc.o
-    #endif
-
-    Then I ran the following:
-
-    ar x /usr/lib/libc.a calloc.o
-
-  The problem is said to be gone in UWS version 2.1.
-
-Uniplus 5.2 (unipl5.2)
-
-  Works, on Dual machines at least.
-
-VMS (vmsM.N)
-
-  Richard Levitte <levitte@e.kth.se> distributes a set of patches to
-  Emacs 18.59 to make it work nicely under VMS.  Emacs 19 probably
-  won't work very well, or even compile.  Levitte is working on a
-  port, so these problems should be fixed in the near future.
-
-  Note that Emacs for VMS is usually distributed in a special VMS
-  distribution.  See the file ../vms/VMSINSTALL for info on moving
-  Unix distributions to VMS, and other VMS-related topics.
-
-Xenix (xenix)
-
-  Should work in 18.50, but you will need to edit the files
-  `lib-src/Makefile' and `src/ymakefile'
-  (see the comments that mention "Xenix" for what to change.)
-  Compiling Emacs with -O is said not to work.
-
-  If you want Emacs to work with Smail (installed as /usr/bin/smail)
-  then add the line   #define SMAIL  to config.h.
-
-  The file etc/XENIX suggests some useful things to do to Xenix
-  to make the Emacs meta key work.
-\f
-Local variables:
-mode: indented-text
-fill-prefix: "  "
-End:
+VMS has never been supported by XEmacs.  In fact, all the old VMS code
+inherited from Emacs has been removed.  Sorry, all you VMS fans out there.
index ae5c8af..2ff3afa 100644 (file)
@@ -1,3 +1,38 @@
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-11  Martin Buchholz  <martin@xemacs.org>
+
+       * Makefile.in.in: Cleanup.
+       Fixes bug: all must depend on make-dump-id.
+       Don't install make-path; only used at build time.
+       Avoid duplicating file lists for maintainability.
+       (PUBLIC_INSTALLABLE_SCRIPTS): More logical naming.
+       (PUBLIC_INSTALLABLE_EXES): Likewise.
+       (PUBLIC_INSTALLABLES): Likewise.
+       (PRIVATE_INSTALLABLE_SCRIPTS): More logical naming.
+       (PRIVATE_INSTALLABLE_EXES): Likewise.
+       (PRIVATE_INSTALLABLES): Likewise.
+       (SCRIPTS): Likewise.
+       (EXES): New.
+       (PROGS): New.
+       (SOURCES): Remove.
+       (BUILD_UTILITIES): New.  Non-installed utilities.
+       (INSTALL_GNUSERV): New.
+       (unlock): Remove obsolete target.
+       (relock): Remove obsolete target.
+       (aixcc.c): Remove.  Obsolete.
+       * aixcc.lex:  Remove.  Obsolete.
+
+2001-02-12  Martin Buchholz  <martin@xemacs.org>
+
+       * make-dump-id.c (main): No longer #include dump-id.h.
+
+2001-02-08  Martin Buchholz  <martin@xemacs.org>
+
+       * gnuserv.c (permitted): Compiler warning fixes.
+
 2001-02-08  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.44 "Thalia" is released.
@@ -45,7 +80,7 @@
        (C_entries): Don't be fooled by things like XDEFUN.
        (consider_token): Discard asm pseudo function.
 
-2001-01-25  Francesco Potorti`  <pot@potorti.it>
+2001-01-25  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (struct tok): Renamed from struct token.
        (token): Renamed from tok.
        (consider_token, C_entries): Use them.
        (C_entries): Build proper lisp names for Emacs DEFUNs.
 
-2001-01-15  Francesco Potorti`  <pot@pot.cnuce.cnr.it>
+2001-01-15  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (print_language_names): Print filenames in addition to
        suffixes.
        (Makefile_targets): New function, inspired by Assar Westerlund
        <assar@sics.se>.
 
-2000-11-07  Francesco Potortì  <pot@pot.cnuce.cnr.it>
+2000-11-07  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (Texinfo_nodes): Renamed from Texinfo_fuctions and made
        it conformant to the style of the rest of the code.
        potential signed char to int conversion problem.
        (MSDOS): #undefine befere redefining
 
-2000-02-04  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+2000-02-04  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (many functions): Add prototypes.
 
-2000-01-31  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+2000-01-31  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
        (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
index 33dd10c..12663b8 100644 (file)
@@ -73,44 +73,65 @@ INSTALL_DATA = @INSTALL_DATA@
 #define NOT_C_CODE
 #include "../src/config.h"
 
-## Things that a user might actually run,
-## which should be installed in bindir.
-#ifdef WIN32_NATIVE
-INSTALLABLES_BASE = etags ctags b2m ootags
-#else
-INSTALLABLES_BASE = etags ctags b2m gnuclient ootags
+#ifndef WIN32_NATIVE
+#define INSTALL_GNUSERV
+#endif
+
+## ----------------------------------------------------------------
+## Things that a user might actually run directly,
+## which should be installed in ${bindir}.
+
+PUBLIC_INSTALLABLE_EXES=\
+#ifdef INSTALL_GNUSERV
+ gnuclient\
 #endif
-INSTALLABLE_SCRIPTS = rcs-checkin gnudoit gnuattach
 #ifdef HAVE_SHLIB
-INSTALLABLES = $(INSTALLABLES_BASE) ellcc
-#else
-INSTALLABLES = $(INSTALLABLES_BASE)
+ ellcc\
+#endif
+ etags ctags b2m ootags
+
+PUBLIC_INSTALLABLE_SCRIPTS=\
+#ifdef INSTALL_GNUSERV
+ gnudoit gnuattach\
 #endif
+ rcs-checkin
+
+PUBLIC_INSTALLABLES = ${PUBLIC_INSTALLABLE_EXES} ${PUBLIC_INSTALLABLE_SCRIPTS}
 
+## ----------------------------------------------------------------
+## Things that XEmacs runs internally on the user's behalf,
+## which should be installed in ${archlibdir}.
 
-## Things that Emacs runs internally, or during the build process,
-## which should not be installed in bindir.
+PRIVATE_INSTALLABLE_EXES=\
+#ifdef INSTALL_GNUSERV
+ gnuserv\
+#endif
 #ifdef WIN32_NATIVE
-UTILITIES= make-path wakeup profile make-docfile digest-doc \
-       sorted-doc movemail cvtmail yow i hexl \
-       mmencode minitar
+ i minitar\
 #else
-UTILITIES= make-path wakeup profile make-docfile digest-doc \
-       sorted-doc movemail cvtmail fakemail yow hexl \
-       gnuserv mmencode
+ fakemail\
 #endif
-## These need to be conditional on I18N3 make-msgfile make-po
+ wakeup profile make-docfile digest-doc\
+ sorted-doc movemail cvtmail yow hexl mmencode
 
-## Like UTILITIES, but they are not system-dependent, and should not be
-## deleted by the distclean target.
 GEN_SCRIPTS = rcs2log vcdiff gzip-el.sh
 PKG_SCRIPTS = add-big-package.sh
-SCRIPTS = $(GEN_SCRIPTS) $(PKG_SCRIPTS)
+PRIVATE_INSTALLABLE_SCRIPTS = $(GEN_SCRIPTS) $(PKG_SCRIPTS)
+
+PRIVATE_INSTALLABLES = ${PRIVATE_INSTALLABLE_EXES} ${PRIVATE_INSTALLABLE_SCRIPTS}
+
+## These need to be conditional on I18N3: make-msgfile make-po
+
+## ----------------------------------------------------------------
+## Things that XEmacs uses during the build process itself.
+## Not installed.
+
+BUILD_UTILITIES = make-path make-dump-id
 
-EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
+EXES    = ${PUBLIC_INSTALLABLE_EXES} ${PRIVATE_INSTALLABLE_EXES} ${BUILD_UTILITIES}
+SCRIPTS = ${PUBLIC_INSTALLABLE_SCRIPTS} ${PRIVATE_INSTALLABLE_SCRIPTS}
+PROGS   = ${EXES} ${SCRIPTS}
 
-SOURCES = COPYING ChangeLog Makefile.in.in README aixcc.lex emacs.csh \
-       makedoc.com *.[chy] $(SCRIPTS)
 ## Additional -D flags for movemail (add to MOVE_FLAGS if desired):
 ## MAIL_USE_POP                Support mail retrieval from a POP mailbox.
 ## MAIL_USE_MMDF               Support MMDF mailboxes.
@@ -171,16 +192,15 @@ ldflags  = $(LDFLAGS) $(ld_switch_general) $(ld_libs_general)
 .c.o:
        ${CC} -c $(cflags) $<
 
-.PHONY : all maybe-blessmail install uninstall
+.PHONY : all maybe-blessmail install uninstall check
 
-all: ${UTILITIES} ${INSTALLABLES} srcdir-symlink.stamp
+all: ${PROGS}
 
 ## Make symlinks for shell scripts if using --srcdir
-srcdir-symlink.stamp:
+${SCRIPTS}:
        for f in ${SCRIPTS}; do \
                if test ! -r $$f; then ${LN_S} ${srcdir}/$$f $$f; fi; \
-       done; \
-       touch $@;
+       done
 
 #undef MOVEMAIL_NEEDS_BLESSING
 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF)
@@ -218,55 +238,45 @@ ${archlibdir}: all
        @echo; echo "Installing utilities run internally by XEmacs."
        ./make-path ${archlibdir}
        if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
-         for f in ${UTILITIES}; do \
+         for f in ${PRIVATE_INSTALLABLE_EXES}; do \
            (cd .. && $(INSTALL_PROGRAM) lib-src/$$f ${archlibdir}/$$f) ; \
          done ; \
        fi
        if test "`(cd ${archlibdir} && $(pwd))`" \
             != "`(cd ${srcdir}     && $(pwd))`"; then \
-         for f in ${SCRIPTS}; do \
+         for f in ${PRIVATE_INSTALLABLE_SCRIPTS}; do \
            (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f ${archlibdir}/$$f); \
          done ; \
        fi
 
-## We do not need to install "wakeup" explicitly, because it will be
-## copied when this whole directory is copied.
 install: ${archlibdir}
        @echo; echo "Installing utilities for users to run."
-       for file in ${INSTALLABLES} ; do \
+       for file in ${PUBLIC_INSTALLABLE_EXES} ; do \
          (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
        done
-       for file in ${INSTALLABLE_SCRIPTS} ; do \
+       for file in ${PUBLIC_INSTALLABLE_SCRIPTS} ; do \
          (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
        done
 
 uninstall:
-       (cd ${bindir} && \
-        $(RM) ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
-       (cd ${archlibdir} && \
-        $(RM) ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
+       cd ${bindir} && $(RM) ${PUBLIC_INSTALLABLES}
+       cd ${archlibdir} && $(RM) ${PRIVATE_INSTALLABLES}
 
 .PHONY: mostlyclean clean distclean realclean extraclean
 mostlyclean:
        $(RM) *.o *.i core
 clean: mostlyclean
-       $(RM) ${INSTALLABLES} ${UTILITIES} *.exe
+       $(RM) ${EXES} *.exe
 distclean: clean
-       $(RM) DOC *.tab.c *.tab.h aixcc.c TAGS ellcc.h
+       $(RM) DOC *.tab.c *.tab.h TAGS ellcc.h
        $(RM) GNUmakefile Makefile Makefile.in blessmail config.values
 realclean: distclean
 extraclean: distclean
        $(RM) *~ \#*
 
-.PHONY: unlock relock check
-unlock:
-       chmod u+w $(SOURCES)
-relock:
-       chmod u-w $(SOURCES)
-
 ## Test the contents of the directory.
 check:
-       @echo "We don't have any tests for XEmacs yet."
+       @echo "We don't have any tests for lib-src yet."
 
 TAGS: etags
        etags *.[ch]
@@ -379,12 +389,3 @@ mmencode : ${srcdir}/mmencode.c
 
 make-path: ${srcdir}/make-path.c ../src/config.h
        $(CC) -Demacs $(cflags) ${srcdir}/make-path.c -o $@
-
-## These are NOT included in INSTALLABLES or UTILITIES.
-## See ../src/Makefile.in.in.
-aixcc: ${srcdir}/aixcc.c
-       $(CC) $(cflags) ${srcdir}/aixcc.c -o $@
-
-aixcc.c: ${srcdir}/aixcc.lex
-       lex ${srcdir}/aixcc.lex
-       mv lex.yy.c aixcc.c
index 2ba5785..3cf78c4 100644 (file)
@@ -458,8 +458,6 @@ permitted (unsigned long host_addr, int fd)
   char auth_protocol[128];
   char buf[1024];
   int  auth_data_len;
-  int  auth_data_pos;
-  int  auth_mismatches;
 
   if (fd > 0)
     {
@@ -505,7 +503,8 @@ permitted (unsigned long host_addr, int fd)
          {
            /* Do a compare without comprising info about
               the size of the cookie */
-           auth_mismatches =
+           int auth_data_pos;
+           int auth_mismatches =
              ( auth_data_len ^
                server_xauth->data_length );
 
index decbd08..7c3a89e 100644 (file)
@@ -65,8 +65,9 @@
     (dkindred "Darrell Kindred"          "dkindred@cmu.edu")
     (dv       "Didier Verna"      "didier@xemacs.org")
     (hniksic  "Hrvoje Niksic"     "hniksic@xemacs.org")
+       (jan      "Jan Vroonhof"      "jan@xemacs.org")
     (jareth   "Jareth Hein"       "jareth@camelot.co.jp")
-    (jason    "Jason Mastaler"   "jason@xemacs.org")
+    (jason    "Jason R. Mastaler" "jason@xemacs.org")
     (jens     "Jens Lautenbacher" "jens@lemcbed.lem.uni-karlsruhe.de")
     (jmiller  "Jeff Miller"       "jmiller@smart.net")
     (juhp     "Jens-Ulrik Holger Petersen" "petersen@kurims.kyoto-u.ac.jp")
@@ -781,6 +782,27 @@ After that (and all the remaining exams) I'm looking forward to make a
 living out of my hobbies -- computers (and graphics). But because I
 have no deadline for the exams and XEmacs betas are released at a high
 rate this may take some time...\n"))
+       (jan
+        (widget-insert "\
+Jan Vroonhof has been using XEmacs since he needed to write .tex files
+for his work as a physics and maths student at the Univerisity of Leiden.
+His XEmacs hacking started when XEmacs kept freezing up under a his
+window manager. He submitted a fix and has been hooked every since.
+
+Apart from hunting down more redisplay bugs he has worked on such
+things as improvements to the package system, implementing lazy-shot,
+a short stint at tracking patches and currently acts as a guardian
+of the XEmacs custom subsystem and gnuserv.
+
+XEmacs has followed him first to Switserland where he did a maths
+doctorate at the ETH in Zurich, working on a conjecture by Migdal on
+the behavior of vertex corrections in Electron-Phonon theory.  Finally
+sharing a house with his loved one, he now lives in Oxford (UK)
+working on the Jeode Java Virtual Machine, which like XEmacs is
+portable, implements a language, includes a non-trivial bit of
+graphics and a garbage collector, but is multithreaded to boot!
+Unfortunately his XEmacs time is directly limited by the amount of
+traffic on the M40.\n"))
     (jareth
      (widget-insert "\
 Jareth Hein is a mountain boy who abandoned his home state of Colorado
@@ -968,12 +990,12 @@ My homepage is ")
      (widget-insert ".\n"))
     (jason
      (widget-insert "\
-Beta tester, manager of the various XEmacs mailing lists and
-binary kit manager.  Also, originator and maintainer of the gnus.org
-domain.
+Beta tester, manager of the various XEmacs mailing lists and binary
+kit manager.  Also, originator and maintainer of the gnus.org domain.
 
-Jason resides in Albuquerque, New Mexico where he keeps himself
-busy with studies at the university and consulting work.
+Jason resides in Northern New Mexico where he works as a Systems
+Scientist(tm) in the Los Alamos National Laboratory's Advanced
+Computing Group.
 
 See: ")
       (about-url-link 'jason "Visit Jason's homepage")
@@ -1103,13 +1125,19 @@ and portability fixes.  Lars is a student at the Institute of
 Informatics at the University of Oslo.  He is currently plumbing away
 at his majors work at the Institute of Physics, working on an SCI
 project connected with CASCADE and CERN and stuff.\n")
+       (about-show-linked-info 'jan "\
+Apart from hunting down redisplay bugs Jan has worked on such
+things as improvements to the package system, implementing lazy-shot,
+a short stint at tracking patches and currently acts as a guardian
+of the XEmacs custom subsystem and gnuserv. Having finished his PhD
+he is now working on Java virtual machines.\n")
     (about-show-linked-info 'jens "\
 I'm currently working at the University of Karlsruhe, Germany on
 getting my diploma thesis on Supersymmetry (uuh, that's physics) done.
 After that (and all the remaining exams) I'm looking forward to make a
 living out of my hobbies -- computers (and graphics). But because I
 have no deadline for the exams and XEmacs betas are released at a high
-rate this may take some time...\n")
+rate this may take some time...\n")    
     (about-show-linked-info 'jareth "\
 Jareth Hein is a mountain boy who abandoned his home state of Colorado
 for the perpetual state of chaos known as Tokyo in a failed attempt to
@@ -1209,8 +1237,8 @@ Author of the XEmacs Drag'n'Drop API.\n")
     (about-show-linked-info 'juhp "\
 Author of \"find-func.el\".\n")
     (about-show-linked-info 'jason "\
-Beta tester and manager of the various XEmacs mailing lists.
-Originator and maintainer of the gnus.org domain.\n")
+Beta tester, manager of the various XEmacs mailing lists and binary
+kit manager.  Also, originator and maintainer of the gnus.org domain.\n")
     (about-show-linked-info 'jmiller "\
 Beta tester and last hacker of calendar.\n")
     (about-show-linked-info 'chr "\
@@ -1507,7 +1535,6 @@ above.  We couldn't have done it without them.\n\n"
        (print-short "UENO Fumihiro" "7m2vej@ritp.ye.IHI.CO.JP")
        (print-short "Aki Vehtari" "Aki.Vehtari@hut.fi")
        (print-short "Juan E. Villacis" "jvillaci@cs.indiana.edu")
-       (print-short "Jan Vroonhof" "vroonhof@math.ethz.ch")
        (print-short "Vladimir Vukicevic" "vladimir@intrepid.com")
        (print-short "Charles G. Waldman" "cgw@fnal.gov")
        (print-short "David Walte" "djw18@cornell.edu")
index f1ee483..195885d 100644 (file)
@@ -167,7 +167,7 @@ are used."
            (let ((find-file-hooks nil)
                  (enable-local-variables nil))
              (set-buffer (or visited (find-file-noselect file)))
-             (set-syntax-table lisp-mode-syntax-table))
+             (set-syntax-table emacs-lisp-mode-syntax-table))
            (save-excursion
              (save-restriction
                (widen)
index b3797f3..b35fd05 100644 (file)
@@ -4,7 +4,7 @@
 
 ;; Author: Adrian Aichner <adrian@xemacs.org>
 ;; Date: Sun., Apr. 20, 1997-2000.
-;; Version: $Revision: 1.5.2.6 $
+;; Version: $Revision: 1.5.2.7 $
 ;; Keywords: internal
 
 ;; This file is part of XEmacs.
@@ -87,8 +87,9 @@ xemacs_codename\\s-*=\\s-*\"\\([^\"]+\\)\""
   :group 'build)
 
 (defcustom build-report-destination
-  (quote ("XEmacs Build Reports List <xemacs-build-reports@xemacs.org>"
-          "XEmacs Beta List <xemacs-beta@xemacs.org>"))
+  (list
+   "XEmacs Build Reports List <xemacs-buildreports@xemacs.org>"
+   "XEmacs Beta List <xemacs-beta@xemacs.org>")
   "*The list of mail addresses XEmacs Build Reports should most likely
 go to."
   :type '(repeat
@@ -98,12 +99,22 @@ go to."
   :group 'build-report)
 
 (defcustom build-report-keep-regexp
-  (quote ("^\\(cd\\|n?make\\)\\s-" "errors?" "warnings?"
-          "pure.*\\(space\\|size\\)" "hides\\b" "strange" "shadowings"
-          "^Compil\\(ing\\s-+in\\|ation\\)" "^Using" "not\\s-+found"
-          "^While\\s-+compiling.*\\(\n\\s-+.+\\)*" "^Note:"
-          "Installing" "[Ff]ile(s) copied"
-          "\\s-+tests\\s-+"))
+  (list
+   "^\\(cd\\|n?make\\)\\s-"
+   "errors?"
+   "warnings?"
+   "pure.*\\(space\\|size\\)"
+   "hides\\b"
+   "strange"
+   "shadowings"
+   "^Compil\\(ing\\s-+in\\|ation\\)"
+   "^Using"
+   "not\\s-+found"
+   "^While\\s-+compiling.*\\(\n\\s-+.+\\)*"
+   "^Note:"
+   "Installing"
+   "[Ff]ile(s) copied"
+   "\\s-+tests\\s-+")
   "*Regexp of make process output lines to keep in the report."
   :type '(repeat
           :custom-show t
@@ -112,7 +123,10 @@ go to."
   :group 'build-report)
 
 (defcustom build-report-delete-regexp
-  (quote ("confl.*with.*auto-inlining" "^Formatting:"))
+  (list
+   "confl.*with.*auto-inlining"
+   "^Formatting:"
+   "(100%) tests successful")
   "*Regexp of make process output lines to delete from the report."
   :type '(repeat
           :custom-show t
@@ -136,7 +150,12 @@ go to."
   :group 'build-report)
 
 (defcustom build-report-make-output-files
-  (quote ("beta.err"))
+  (list
+   "beta.err"
+   "xemacs-make-all.err" 
+   "xemacs-make-check-temacs.err"
+   "xemacs-make-check.err"
+   "xemacs-make-install.err")
   "*List of Filenames where stdout and stderr of XEmacs make process
 have been stored.  These are relative to
 `build-report-make-output-dir`.  You'll have to run make with output
index edc5964..9373594 100644 (file)
@@ -313,6 +313,12 @@ megabyte for buffers in `rmail-mode', and size is irrelevant otherwise."
                                      (integer :tag "size")))))
   :group 'font-lock)
 
+;;;###autoload
+(defcustom font-lock-fontify-string-delimiters nil
+  "*If non-nil, apply font-lock-string-face to string delimiters as well as
+string text when fontifying."
+  :type 'boolean
+  :group 'font-lock)
 \f
 ;; Fontification variables:
 
@@ -438,6 +444,45 @@ dramatically slow things down!
 ;;;###autoload
 (make-variable-buffer-local 'font-lock-keywords)
 
+;;;###autoload
+(defvar font-lock-syntactic-keywords nil
+  "A list of the syntactic keywords to highlight.
+Can be the list or the name of a function or variable whose value is the list.
+See `font-lock-keywords' for a description of the form of this list;
+the differences are listed below.  MATCH-HIGHLIGHT should be of the form:
+
+ (MATCH SYNTAX OVERRIDE LAXMATCH)
+
+where SYNTAX can be of the form (SYNTAX-CODE . MATCHING-CHAR), the name of a
+syntax table, or an expression whose value is such a form or a syntax table.
+OVERRIDE cannot be `prepend' or `append'.
+
+For example, an element of the form highlights syntactically:
+
+ (\"\\\\$\\\\(#\\\\)\" 1 (1 . nil))
+
+ a hash character when following a dollar character, with a SYNTAX-CODE of
+ 1 (meaning punctuation syntax).  Assuming that the buffer syntax table does
+ specify hash characters to have comment start syntax, the element will only
+ highlight hash characters that do not follow dollar characters as comments
+ syntactically.
+
+ (\"\\\\('\\\\).\\\\('\\\\)\"
+  (1 (7 . ?'))
+  (2 (7 . ?')))
+
+ both single quotes which surround a single character, with a SYNTAX-CODE of
+ 7 (meaning string quote syntax) and a MATCHING-CHAR of a single quote (meaning
+ a single quote matches a single quote).  Assuming that the buffer syntax table
+ does not specify single quotes to have quote syntax, the element will only
+ highlight single quotes of the form 'c' as strings syntactically.
+ Other forms, such as foo'bar or 'fubar', will not be highlighted as strings.
+
+This is normally set via `font-lock-defaults'."
+)
+;;;###autoload
+(make-variable-buffer-local 'font-lock-syntactic-keywords)
+
 (defvar font-lock-defaults nil
   "The defaults font Font Lock mode for the current buffer.
 Normally, do not set this directly.  If you are writing a major mode,
@@ -511,15 +556,15 @@ If this is nil, the major mode's syntax table is used.
 This is normally set via `font-lock-defaults'.")
 (make-variable-buffer-local 'font-lock-syntax-table)
 
-;; These are used in the FSF version in syntactic font-locking.
-;; We do this all in C.
-;;; These record the parse state at a particular position, always the
-;;; start of a line.  Used to make
-;;; `font-lock-fontify-syntactically-region' faster.
-;(defvar font-lock-cache-position nil)
-;(defvar font-lock-cache-state nil)
-;(make-variable-buffer-local 'font-lock-cache-position)
-;(make-variable-buffer-local 'font-lock-cache-state)
+;; These record the parse state at a particular position, always the start of a
+;; line.  Used to make `font-lock-fontify-syntactically-region' faster.
+;; Previously, `font-lock-cache-position' was just a buffer position.  However,
+;; under certain situations, this occasionally resulted in mis-fontification.
+;; I think the "situations" were deletion with Lazy Lock mode's deferral.  sm.
+(defvar font-lock-cache-state nil)
+(defvar font-lock-cache-position nil)
+(make-variable-buffer-local 'font-lock-cache-state)
+(make-variable-buffer-local 'font-lock-cache-position)
 
 ;; If this is nil, we only use the beginning of the buffer if we can't use
 ;; `font-lock-cache-position' and `font-lock-cache-state'.
@@ -944,7 +989,14 @@ See the variable `font-lock-keywords' for customization."
 (defsubst font-lock-remove-face (start end)
   ;; Remove any syntax highlighting on the characters in the range.
   (put-nonduplicable-text-property start end 'face nil)
-  (put-nonduplicable-text-property start end 'font-lock nil))
+  (put-nonduplicable-text-property start end 'font-lock nil)
+  (if lookup-syntax-properties
+      (put-nonduplicable-text-property start end 'syntax-table nil)))
+
+(defsubst font-lock-set-syntax (start end syntax)
+  ;; Set the face on the characters in the range.
+  (put-nonduplicable-text-property start end 'syntax-table syntax)
+  (put-nonduplicable-text-property start end 'font-lock t))
 
 (defsubst font-lock-any-faces-p (start end)
   ;; Return non-nil if we've put any syntax highlighting on
@@ -1084,8 +1136,10 @@ This can take a while for large buffers."
          ;; Use the fontification syntax table, if any.
          (if font-lock-syntax-table (set-syntax-table font-lock-syntax-table))
          ;; Now do the fontification.
-         (if font-lock-keywords-only
-             (font-lock-unfontify-region beg end)
+         (font-lock-unfontify-region beg end)
+         (when font-lock-syntactic-keywords
+           (font-lock-fontify-syntactic-keywords-region beg end))
+         (unless font-lock-keywords-only
            (font-lock-fontify-syntactically-region beg end loudly))
          (font-lock-fontify-keywords-region beg end loudly))
       ;; Clean up.
@@ -1222,118 +1276,6 @@ buffer modifications are performed or a buffer is reverted.")
 \f
 ;; Syntactic fontification functions.
 
-;; Note: Here is the FSF version.  Our version is much faster because
-;; of the C support we provide.  This may be useful for reference,
-;; however, and perhaps there is something useful here that should
-;; be merged into our version.
-;;
-;(defun font-lock-fontify-syntactically-region (start end &optional loudly)
-;  "Put proper face on each string and comment between START and END.
-;START should be at the beginning of a line."
-;  (let ((synstart (if comment-start-skip
-;                     (concat "\\s\"\\|" comment-start-skip)
-;                   "\\s\""))
-;       (comstart (if comment-start-skip
-;                     (concat "\\s<\\|" comment-start-skip)
-;                   "\\s<"))
-;       state prev prevstate)
-;    (if loudly (message "Fontifying %s... (syntactically...)" (buffer-name)))
-;    (save-restriction
-;      (widen)
-;      (goto-char start)
-;      ;;
-;      ;; Find the state at the `beginning-of-line' before `start'.
-;      (if (eq start font-lock-cache-position)
-;         ;; Use the cache for the state of `start'.
-;         (setq state font-lock-cache-state)
-;       ;; Find the state of `start'.
-;       (if (null font-lock-beginning-of-syntax-function)
-;           ;; Use the state at the previous cache position, if any, or
-;           ;; otherwise calculate from `point-min'.
-;           (if (or (null font-lock-cache-position)
-;                   (< start font-lock-cache-position))
-;               (setq state (parse-partial-sexp (point-min) start))
-;             (setq state (parse-partial-sexp font-lock-cache-position start
-;                                             nil nil font-lock-cache-state)))
-;         ;; Call the function to move outside any syntactic block.
-;         (funcall font-lock-beginning-of-syntax-function)
-;         (setq state (parse-partial-sexp (point) start)))
-;       ;; Cache the state and position of `start'.
-;       (setq font-lock-cache-state state
-;             font-lock-cache-position start))
-;      ;;
-;      ;; If the region starts inside a string, show the extent of it.
-;      (if (nth 3 state)
-;         (let ((beg (point)))
-;           (while (and (re-search-forward "\\s\"" end 'move)
-;                       (nth 3 (parse-partial-sexp beg (point)
-;                                                  nil nil state))))
-;           (put-text-property beg (point) 'face font-lock-string-face)
-;           (setq state (parse-partial-sexp beg (point) nil nil state))))
-;      ;;
-;      ;; Likewise for a comment.
-;      (if (or (nth 4 state) (nth 7 state))
-;         (let ((beg (point)))
-;           (save-restriction
-;             (narrow-to-region (point-min) end)
-;             (condition-case nil
-;                 (progn
-;                   (re-search-backward comstart (point-min) 'move)
-;                   (forward-comment 1)
-;                   ;; forward-comment skips all whitespace,
-;                   ;; so go back to the real end of the comment.
-;                   (skip-chars-backward " \t"))
-;               (error (goto-char end))))
-;           (put-text-property beg (point) 'face font-lock-comment-face)
-;           (setq state (parse-partial-sexp beg (point) nil nil state))))
-;      ;;
-;      ;; Find each interesting place between here and `end'.
-;      (while (and (< (point) end)
-;                 (setq prev (point) prevstate state)
-;                 (re-search-forward synstart end t)
-;                 (progn
-;                   ;; Clear out the fonts of what we skip over.
-;                   (remove-text-properties prev (point) '(face nil))
-;                   ;; Verify the state at that place
-;                   ;; so we don't get fooled by \" or \;.
-;                   (setq state (parse-partial-sexp prev (point)
-;                                                   nil nil state))))
-;       (let ((here (point)))
-;         (if (or (nth 4 state) (nth 7 state))
-;             ;;
-;             ;; We found a real comment start.
-;             (let ((beg (match-beginning 0)))
-;               (goto-char beg)
-;               (save-restriction
-;                 (narrow-to-region (point-min) end)
-;                 (condition-case nil
-;                     (progn
-;                       (forward-comment 1)
-;                       ;; forward-comment skips all whitespace,
-;                       ;; so go back to the real end of the comment.
-;                       (skip-chars-backward " \t"))
-;                   (error (goto-char end))))
-;               (put-text-property beg (point) 'face
-;                                  font-lock-comment-face)
-;               (setq state (parse-partial-sexp here (point) nil nil state)))
-;           (if (nth 3 state)
-;               ;;
-;               ;; We found a real string start.
-;               (let ((beg (match-beginning 0)))
-;                 (while (and (re-search-forward "\\s\"" end 'move)
-;                             (nth 3 (parse-partial-sexp here (point)
-;                                                        nil nil state))))
-;                 (put-text-property beg (point) 'face font-lock-string-face)
-;                 (setq state (parse-partial-sexp here (point)
-;                                                 nil nil state))))))
-;       ;;
-;       ;; Make sure `prev' is non-nil after the loop
-;       ;; only if it was set on the very last iteration.
-;       (setq prev nil)))
-;    ;;
-;    ;; Clean up.
-;    (and prev (remove-text-properties prev end '(face nil)))))
-
 (defun font-lock-lisp-like (mode)
   ;; Note: (or (get mode 'font-lock-lisp-like) (string-match ...)) is
   ;; not enough because the property needs to be able to specify a nil
@@ -1344,52 +1286,77 @@ buffer modifications are performed or a buffer is reverted.")
     ;; in add-log, but I think this encompasses more modes.
     (string-match "lisp\\|scheme" (symbol-name mode))))
 
+;; fontify-syntactically-region used to use syntactically-sectionize, which
+;; was supposedly much faster than the FSF version because it was written in
+;; C. However, the FSF version uses parse-partial-sexp, which is also
+;; written in C, and the benchmarking I did showed the
+;; syntactically-sectionize code to be slower overall. So here's the FSF
+;; version, modified to support font-lock-doc-string-face.
+;; -- mct 2000-12-29
 (defun font-lock-fontify-syntactically-region (start end &optional loudly)
   "Put proper face on each string and comment between START and END.
 START should be at the beginning of a line."
   (if font-lock-keywords-only
       nil
+
+    ;; #### Shouldn't this just be using 'loudly??
     (when (and font-lock-verbose
               (>= (- end start) font-lock-message-threshold))
       (progress-feedback-with-label 'font-lock
                                    "Fontifying %s... (syntactically)" 5
                                    (buffer-name)))
-    (font-lock-unfontify-region start end loudly)
     (goto-char start)
-    (if (> end (point-max)) (setq end (point-max)))
-    (let ((lisp-like (font-lock-lisp-like major-mode)))
-      (syntactically-sectionize
-       #'(lambda (s e context depth)
-          (let (face)
-            (cond ((eq context 'string)
-                   (setq face
-                         ;; #### It would be nice if we handled
-                         ;; Python and other non-Lisp languages with
-                         ;; docstrings correctly.
-                         (if (and lisp-like (= depth 1))
-                             ;; really we should only use this if
-                             ;;  in position 3 depth 1, but that's
-                             ;;  too expensive to compute.
-                             'font-lock-doc-string-face
-                           'font-lock-string-face)))
-                  ((or (eq context 'comment)
-                       (eq context 'block-comment))
-                   (setq face 'font-lock-comment-face)
-;               ;; Don't fontify whitespace at the beginning of lines;
-;               ;;  otherwise comment blocks may not line up with code.
-;               ;; (This is sometimes a good idea, sometimes not; in any
-;               ;; event it should be in C for speed --jwz)
-;               (save-excursion
-;                   (goto-char s)
-;                   (while (prog1 (search-forward "\n" (1- e) 'move)
-;                            (setq face 'font-lock-comment-face)
-;                            (setq e (point)))
-;                     (skip-chars-forward " \t\n")
-;                     (setq s (point)))
-                  ))
-            (font-lock-set-face s e face)))
-       start end)
-      )))
+
+    (let ((lisp-like (font-lock-lisp-like major-mode))
+         (cache (marker-position font-lock-cache-position))
+         state string beg depth)
+      ;;
+      ;; Find the state at the `beginning-of-line' before `start'.
+      (if (eq start cache)
+         ;; Use the cache for the state of `start'.
+         (setq state font-lock-cache-state)
+       ;; Find the state of `start'.
+       (if (null font-lock-beginning-of-syntax-function)
+           ;; Use the state at the previous cache position, if any, or
+           ;; otherwise calculate from `point-min'.
+           (if (or (null cache) (< start cache))
+               (setq state (parse-partial-sexp (point-min) start))
+             (setq state (parse-partial-sexp cache start nil nil
+                                             font-lock-cache-state)))
+         ;; Call the function to move outside any syntactic block.
+         (funcall font-lock-beginning-of-syntax-function)
+         (setq state (parse-partial-sexp (point) start)))
+       ;; Cache the state and position of `start'.
+       (setq font-lock-cache-state state)
+       (set-marker font-lock-cache-position start))
+      ;;
+      ;; If the region starts inside a string or comment, show the extent of it.
+      (when (or (nth 3 state) (nth 4 state))
+       (setq string (nth 3 state) beg (point))
+       (setq state (parse-partial-sexp (point) end nil nil state 'syntax-table))
+       (font-lock-set-face beg (point) (if string 
+                                           font-lock-string-face
+                                         font-lock-comment-face)))
+      ;;
+      ;; Find each interesting place between here and `end'.
+      (while (and (< (point) end)
+                 (progn
+                   (setq state (parse-partial-sexp (point) end nil nil state
+                                                   'syntax-table))
+                   (or (nth 3 state) (nth 4 state))))
+       (setq depth (nth 0 state) string (nth 3 state) beg (nth 8 state))
+       (setq state (parse-partial-sexp (point) end nil nil state 'syntax-table))
+       (if string
+           ;; #### It would be nice if we handled Python and other
+           ;; non-Lisp languages with docstrings correctly.
+           (let ((face (if (and lisp-like (= depth 1))
+                           'font-lock-doc-string-face
+                         'font-lock-string-face)))
+             (if font-lock-fontify-string-delimiters
+                 (font-lock-set-face beg (point) face)
+               (font-lock-set-face (+ beg 1) (- (point) 1) face)))
+         (font-lock-set-face beg (point)
+                             font-lock-comment-face))))))
 \f
 ;;; Additional text property functions.
 
@@ -1473,6 +1440,101 @@ Optional argument OBJECT is the string or buffer containing the text."
        object)
       (setq start next))))
 \f
+;;; Syntactic regexp fontification functions (taken from FSF Emacs 20.7.1)
+
+;; These syntactic keyword pass functions are identical to those keyword pass
+;; functions below, with the following exceptions; (a) they operate on
+;; `font-lock-syntactic-keywords' of course, (b) they are all `defun' as speed
+;; is less of an issue, (c) eval of property value does not occur JIT as speed
+;; is less of an issue, (d) OVERRIDE cannot be `prepend' or `append' as it
+;; makes no sense for `syntax-table' property values, (e) they do not do it
+;; LOUDLY as it is not likely to be intensive.
+
+(defun font-lock-apply-syntactic-highlight (highlight)
+  "Apply HIGHLIGHT following a match.
+ HIGHLIGHT should be of the form MATCH-HIGHLIGHT,
+ see `font-lock-syntactic-keywords'."
+  (let* ((match (nth 0 highlight))
+        (start (match-beginning match)) (end (match-end match))
+        (value (nth 1 highlight))
+        (override (nth 2 highlight)))
+    (unless (numberp (car-safe value))
+      (setq value (eval value)))
+    (cond ((not start)
+          ;; No match but we might not signal an error.
+          (or (nth 3 highlight)
+              (error "No match %d in highlight %S" match highlight)))
+         ((not override)
+          ;; Cannot override existing fontification.
+          (or (map-extents 'extent-property (current-buffer)
+                           start end 'syntax-table)
+              (font-lock-set-syntax start end value)))
+         ((eq override t)
+          ;; Override existing fontification.
+          (font-lock-set-syntax start end value))
+         ((eq override 'keep)
+          ;; Keep existing fontification.
+          (font-lock-fillin-text-property start end
+                                          'syntax-table 'font-lock value)))))
+
+(defun font-lock-fontify-syntactic-anchored-keywords (keywords limit)
+  "Fontify according to KEYWORDS until LIMIT.
+ KEYWORDS should be of the form MATCH-ANCHORED, see `font-lock-keywords',
+ LIMIT can be modified by the value of its PRE-MATCH-FORM."
+  (let ((matcher (nth 0 keywords)) (lowdarks (nthcdr 3 keywords)) highlights
+       ;; Evaluate PRE-MATCH-FORM.
+       (pre-match-value (eval (nth 1 keywords))))
+    ;; Set LIMIT to value of PRE-MATCH-FORM or the end of line.
+    (if (and (numberp pre-match-value) (> pre-match-value (point)))
+       (setq limit pre-match-value)
+      (save-excursion (end-of-line) (setq limit (point))))
+    (save-match-data
+      ;; Find an occurrence of `matcher' before `limit'.
+      (while (if (stringp matcher)
+                (re-search-forward matcher limit t)
+              (funcall matcher limit))
+       ;; Apply each highlight to this instance of `matcher'.
+       (setq highlights lowdarks)
+       (while highlights
+         (font-lock-apply-syntactic-highlight (car highlights))
+         (setq highlights (cdr highlights)))))
+    ;; Evaluate POST-MATCH-FORM.
+    (eval (nth 2 keywords))))
+
+(defun font-lock-fontify-syntactic-keywords-region (start end)
+  "Fontify according to `font-lock-syntactic-keywords' between START and END.
+START should be at the beginning of a line."
+;;  ;; If `font-lock-syntactic-keywords' is a symbol, get the real keywords.
+  (when (symbolp font-lock-syntactic-keywords)
+    (setq font-lock-syntactic-keywords (font-lock-eval-keywords
+                                       font-lock-syntactic-keywords)))
+  ;; If `font-lock-syntactic-keywords' is not compiled, compile it.
+  (unless (eq (car font-lock-syntactic-keywords) t)
+    (setq font-lock-syntactic-keywords (font-lock-compile-keywords
+                                       font-lock-syntactic-keywords)))
+  ;; Get down to business.
+  (let ((case-fold-search font-lock-keywords-case-fold-search)
+       (keywords (cdr font-lock-syntactic-keywords))
+       keyword matcher highlights)
+    (while keywords
+      ;; Find an occurrence of `matcher' from `start' to `end'.
+      (setq keyword (car keywords) matcher (car keyword))
+      (goto-char start)
+      (while (if (stringp matcher)
+                (re-search-forward matcher end t)
+              (funcall matcher end))
+       ;; Apply each highlight to this instance of `matcher', which may be
+       ;; specific highlights or more keywords anchored to `matcher'.
+       (setq highlights (cdr keyword))
+       (while highlights
+         (if (numberp (car (car highlights)))
+             (font-lock-apply-syntactic-highlight (car highlights))
+           (font-lock-fontify-syntactic-anchored-keywords (car highlights)
+                                                          end))
+         (setq highlights (cdr highlights)))
+       )
+      (setq keywords (cdr keywords)))))
+\f
 ;;; Regexp fontification functions.
 
 (defsubst font-lock-apply-highlight (highlight)
@@ -1636,6 +1698,14 @@ START should be at the beginning of a line."
        (t                              ; Hopefully (MATCHER HIGHLIGHT ...)
         keyword)))
 
+(defun font-lock-eval-keywords (keywords)
+  ;; Evalulate KEYWORDS if a function (funcall) or variable (eval) name.
+  (if (listp keywords)
+      keywords
+    (font-lock-eval-keywords (if (fboundp keywords)
+                                (funcall keywords)
+                              (eval keywords)))))
+
 (defun font-lock-choose-keywords (keywords level)
   ;; Return LEVELth element of KEYWORDS.  A LEVEL of nil is equal to a
   ;; LEVEL of 0, a LEVEL of t is equal to (1- (length KEYWORDS)).
@@ -1713,7 +1783,7 @@ START should be at the beginning of a line."
                             (font-lock-find-font-lock-defaults major-mode)))
               (keywords (font-lock-choose-keywords
                          (nth 0 defaults) font-lock-maximum-decoration)))
-         
+
          ;; Keywords?
          (setq font-lock-keywords (if (fboundp keywords)
                                       (funcall keywords)
@@ -1779,6 +1849,7 @@ START should be at the beginning of a line."
                 (setq font-lock-beginning-of-syntax-function
                       'beginning-of-defun)))))
 
+    (setq font-lock-cache-position (make-marker))
     (setq font-lock-defaults-computed t)))
 
 \f
index 8fcec45..254ad36 100644 (file)
 (if (not lisp-mode-syntax-table)
     (progn (setq lisp-mode-syntax-table
                 (copy-syntax-table emacs-lisp-mode-syntax-table))
-          (modify-syntax-entry ?\| "\"   " lisp-mode-syntax-table)
           (modify-syntax-entry ?\[ "_   " lisp-mode-syntax-table)
           ;; XEmacs changes
           (modify-syntax-entry ?\] "_   " lisp-mode-syntax-table)
-           ;;
-           ;; If emacs was compiled with NEW_SYNTAX, then do
-           ;;  CL's #| |# block comments.
-           (if (= 8 (length (parse-partial-sexp (point) (point))))
-               (progn
-                 (modify-syntax-entry ?#  "' 58" lisp-mode-syntax-table)
-                 (modify-syntax-entry ?|  ". 67" lisp-mode-syntax-table))
-            ;; else, old style
-            (modify-syntax-entry ?\| "\"   " lisp-mode-syntax-table))))
+          (modify-syntax-entry ?#  "' 58" lisp-mode-syntax-table)
+          (modify-syntax-entry ?|  "\" 67" lisp-mode-syntax-table)))
 
 (define-abbrev-table 'lisp-mode-abbrev-table ())
 
@@ -802,6 +794,8 @@ of the start of the containing expression."
 (put 'if 'lisp-indent-function 2)
 (put 'catch 'lisp-indent-function 1)
 (put 'condition-case 'lisp-indent-function 2)
+(put 'handler-case 'lisp-indent-function 1)
+(put 'handler-bind 'lisp-indent-function 1)
 (put 'call-with-condition-handler 'lisp-indent-function 2)
 (put 'unwind-protect 'lisp-indent-function 1)
 (put 'save-current-buffer 'lisp-indent-function 0)
@@ -811,12 +805,16 @@ of the start of the containing expression."
 (put 'with-temp-buffer 'lisp-indent-function 0)
 (put 'with-output-to-string 'lisp-indent-function 0)
 (put 'with-output-to-temp-buffer 'lisp-indent-function 1)
+(put 'with-slots 'lisp-indent-function 2)
+(put 'with-open-file 'lisp-indent-function 1)
+(put 'with-open-stream 'lisp-indent-function 1)
 (put 'eval-after-load 'lisp-indent-function 1)
 (put 'display-message 'lisp-indent-function 1)
 (put 'display-warning 'lisp-indent-function 1)
 (put 'lmessage 'lisp-indent-function 2)
 (put 'lwarn 'lisp-indent-function 2)
 (put 'global-set-key 'lisp-indent-function 1)
+(put 'print-unreadable-object 'lisp-indent-function 1)
 
 (defun indent-sexp (&optional endpos)
   "Indent each line of the list starting just after point.
index cfd37e7..fbd0335 100644 (file)
@@ -130,12 +130,14 @@ Any other non-nil value means search all devices."
   (eq window (active-minibuffer-window)))
 
 (defmacro save-selected-window (&rest body)
-  "Execute BODY, then select the window that was selected before BODY."
-  `(let ((save-selected-window-window (selected-window)))
+  "Execute BODY, then select the window that was selected before BODY.
+The value returned is the value of the last form in BODY."
+  (let ((old-window (gensym "ssw")))
+  `(let ((,old-window (selected-window)))
      (unwind-protect
         (progn ,@body)
-       (when (window-live-p save-selected-window-window)
-        (select-window save-selected-window-window)))))
+       (when (window-live-p ,old-window)
+        (select-window ,old-window))))))
 
 (defmacro with-selected-window (window &rest body)
   "Execute forms in BODY with WINDOW as the selected window.
index d3dad72..12f1c4e 100644 (file)
@@ -1,3 +1,13 @@
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-16  Raymond Toy  <toy@rtp.ericsson.se>
+
+       * lwlib-Xaw.c: Always include ATHENA_AsciiText_h_ to get the
+       text-field widget.
+       (xaw_creation_table): Always include the text-field widget
+
 2001-02-08  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.44 "Thalia" is released.
index 1bdafcd..a52b231 100644 (file)
@@ -46,10 +46,8 @@ Boston, MA 02111-1307, USA.  */
 #include "xlwradio.h"
 #include "xlwcheckbox.h"
 #include "xlwgauge.h"
-#ifndef NEED_MOTIF
 #include ATHENA_AsciiText_h_
 #endif
-#endif
 #include <X11/Xatom.h>
 
 static void xaw_generic_callback (Widget, XtPointer, XtPointer);
@@ -838,7 +836,7 @@ xaw_create_progress (widget_instance *instance)
   return scale;
 }
 
-#ifndef NEED_MOTIF
+#if defined(LWLIB_WIDGETS_ATHENA)
 #define TEXT_BUFFER_SIZE 128
 static Widget
 xaw_create_text_field (widget_instance *instance)
@@ -890,9 +888,7 @@ xaw_creation_table [] =
 #ifdef LWLIB_WIDGETS_ATHENA
   {"button",           xaw_create_button               },
   { "label",           xaw_create_label_field          },
-#ifndef NEED_MOTIF
   {"text-field",               xaw_create_text_field           },
-#endif
   {"progress",         xaw_create_progress             },
 #endif
   {NULL, NULL}
index e92f405..320621f 100644 (file)
@@ -1,3 +1,11 @@
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-10  Martin Buchholz  <martin@xemacs.org>
+
+       * xemacs/programs.texi (Tag Syntax): Port to makeinfo 3.
+
 2001-02-08  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.44 "Thalia" is released.
index 87b61c4..5ee3f5c 100644 (file)
@@ -1084,7 +1084,7 @@ In La@TeX{} text, the argument of any of the commands @code{\chapter},
 tag.@refill
 
 Other commands can make tags as well, if you specify them in the
-environment variable @env{TEXTAGS} before invoking @code{etags}.  The
+environment variable @code{TEXTAGS} before invoking @code{etags}.  The
 value of this environment variable should be a colon-separated list of
 command names.  For example,
 
index dc6c984..ca87cd7 100644 (file)
@@ -1,3 +1,13 @@
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       * config.h (HAVE_UTIME): New.
+       * config.h (HAVE_UTIME_H): Remove.
+       * config.h (HAVE_STRUCT_UTIMBUF): Remove.
+
 2001-02-08  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.44 "Thalia" is released.
index 6dd1f1c..8d8dae2 100644 (file)
@@ -150,7 +150,6 @@ Boston, MA 02111-1307, USA.  */
 #undef HAVE_MACH_MACH_H
 #undef HAVE_SYS_TIMEB_H
 #undef HAVE_UNISTD_H
-#undef HAVE_UTIME_H
 #undef HAVE_SYS_WAIT_H
 #undef HAVE_LIBGEN_H
 #undef WORDS_BIGENDIAN
@@ -175,9 +174,6 @@ Boston, MA 02111-1307, USA.  */
 /* Define if `sys_siglist' is declared by <signal.h>. */
 #undef SYS_SIGLIST_DECLARED
 
-/* Define if `struct utimbuf' is declared by <utime.h>.  */
-#undef HAVE_STRUCT_UTIMBUF
-
 /* Define if `struct timeval' is declared by <sys/time.h>.  */
 #define HAVE_TIMEVAL
 
@@ -258,6 +254,7 @@ Boston, MA 02111-1307, USA.  */
 #undef HAVE_SIGSETJMP
 #define HAVE_STRERROR
 #undef HAVE_TZSET
+#undef HAVE_UTIME
 #undef HAVE_UTIMES
 #undef HAVE_WAITPID
 #undef HAVE_VSNPRINTF
index bfc4a46..0b2c9cf 100644 (file)
@@ -31,11 +31,10 @@ PROGNAME=@PROGNAME@
 #ifdef PDUMP
 DUMP_TARGET = ${PROGNAME}.dmp
 EXE_TARGET  = ${PROGNAME}
-ID_FILE     = dump-id.c
+DUMP_ID     = dump-id.o
 #else
 DUMP_TARGET = ${PROGNAME}
 EXE_TARGET  = temacs
-ID_FILE     =
 #endif
 
 all: ${DUMP_TARGET}
@@ -450,12 +449,11 @@ link_deps=\
  $(start_files) ${objs} ${otherobjs}\
  $(lwlib_deps) $(dynodump_deps)
 
-temacs_deps=\
- $(link_deps) $(ID_FILE)
+temacs_deps = $(link_deps) ${DUMP_ID}
 
 temacs_link_args=\
- ${start_flags} ${ldflags} -I${srcdir} \
- -o $@ ${start_files} ${objs} ${otherobjs} ${ID_FILE} ${LIBES}
+ ${start_flags} ${ldflags}\
+ -o $@ ${start_files} ${objs} ${otherobjs} ${DUMP_ID} ${LIBES}
 
 ${EXE_TARGET}: $(temacs_deps)
        $(LD) $(temacs_link_args)
@@ -512,14 +510,14 @@ debug-temacs: ${EXE_TARGET}
 ##
 ## Purify
 PURIFY_PROG  = purify
+PURIFY_LIBS  =
 PURIFY_FLAGS =\
 #ifdef PDUMP
  -search-mmaps=yes\
 #endif
- -chain-length=32 -ignore-signals=SIGPOLL -threads=yes\
- -cache-dir=${srcdir}/purecache -always-use-cache-dir=yes
+ -chain-length=32 -ignore-signals=SIGPOLL\
+ -cache-dir=${blddir}/purecache -always-use-cache-dir=yes
 
-PURIFY_LIBS  = -lpthread
 puremacs: $(temacs_deps)
        $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args) $(PURIFY_LIBS)
        cp $@ ${EXE_TARGET}
index 48f9a28..bfbae2d 100644 (file)
@@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA.  */
 #include "elhash.h"
 #include "regex.h"
 #include "opaque.h"
+#include "syntax.h"
 
 Lisp_Object Vcompletion_ignored_extensions;
 Lisp_Object Qdirectory_files;
@@ -123,6 +124,9 @@ If FILES-ONLY is the symbol t, then only the "files" in the directory
   if (!d)
     report_file_error ("Opening directory", list1 (directory));
 
+  regex_match_object = Qt;
+  regex_emacs_buffer = current_buffer;
+
   record_unwind_protect (close_directory_unwind, make_opaque_ptr ((void *)d));
 
   /* Loop reading blocks */
index d8afb56..4b40311 100644 (file)
@@ -315,7 +315,10 @@ EXFUN (Fextent_start_position, 1);
 EXFUN (Fmake_extent, 3);
 EXFUN (Fprevious_single_property_change, 4);
 EXFUN (Fset_extent_endpoints, 4);
+EXFUN (Fnext_extent_change, 2);
+EXFUN (Fprevious_extent_change, 2);
 EXFUN (Fset_extent_parent, 2);
+EXFUN (Fget_char_property, 4);
 
 extern int inside_undo;
 extern int in_modeline_generation;
index 5a6d477..692e49e 100644 (file)
@@ -1676,6 +1676,16 @@ barf_or_query_if_file_exists (Lisp_Object absname, const char *querystring,
   return;
 }
 
+/* A slightly higher-level interface than `set_file_times' */
+static int
+lisp_string_set_file_times (Lisp_Object filename,
+                           EMACS_TIME atime, EMACS_TIME mtime)
+{
+  char *ext_filename;
+  LISP_STRING_TO_EXTERNAL (filename, ext_filename, Qfile_name);
+  return set_file_times (ext_filename, atime, mtime);
+}
+
 DEFUN ("copy-file", Fcopy_file, 2, 4,
        "fCopy file: \nFCopy %s to file: \np\nP", /*
 Copy FILENAME to NEWNAME.  Both args must be strings.
@@ -1813,8 +1823,7 @@ A prefix arg makes KEEP-TIME non-nil.
            EMACS_TIME atime, mtime;
            EMACS_SET_SECS_USECS (atime, st.st_atime, 0);
            EMACS_SET_SECS_USECS (mtime, st.st_mtime, 0);
-           if (set_file_times ((char *) XSTRING_DATA (newname), atime,
-                               mtime))
+           if (lisp_string_set_file_times (newname, atime, mtime))
              report_file_error ("I/O error", list1 (newname));
          }
        chmod ((const char *) XSTRING_DATA (newname),
index f37d3ba..8c29839 100644 (file)
@@ -798,7 +798,7 @@ generate_cursor_fg_bg (Lisp_Object device, Lisp_Object *foreground,
   else
     {
       xbg->pixel = 0;
-      xbg->red = xbg->green = xbg->blue = ~0;
+      xbg->red = xbg->green = xbg->blue = USHRT_MAX;
     }
 }
 
index adf3195..fe19cda 100644 (file)
 /* Forward declarations for xlc warning suppressions */
 struct ether_addr;
 struct sockaddr_dl;
-#endif /* C code */
 
-/* getaddrinfo is broken in AIX 4.3 as per IY04165.
-   At this time (2/21/2000), there's no PTF available.
-   -- Mike Sperber <mike@xemacs.org> */
+#ifdef __xlC__                 /* "eXceLlent C compiler" ?! */
+#if __xlC__ >= 1200
+/* IBM's C compiler miscompiles bytecount_to_charcount at high levels
+   of optimization.  From IBM's docs:
 
-#undef HAVE_GETADDRINFO
-
-#ifdef __xlC__
-/* IBM's C compiler miscompiles this function.  From IBM's docs:
    -qstrict turns off the following optimizations:
 
    Performing code motion and scheduling on computations such as loads
    and floating-point computations that may trigger an exception. */
 #pragma option_override (bytecount_to_charcount, "opt(strict,yes)")
+#endif /* recent IBM C compiler */
 #endif /* IBM's C compiler */
+
+#endif /* C code */
+
+/* getaddrinfo is broken in AIX 4.3 as per IY04165.
+   At this time (2/21/2000), there's no PTF available.
+   -- Mike Sperber <mike@xemacs.org> */
+
+#undef HAVE_GETADDRINFO
index 920f67f..afcbe2d 100644 (file)
@@ -4,3 +4,5 @@
 
 /* Irix 6.2 doesn't need -lw */
 #undef NEED_LIBW
+
+#undef memmove /* Use the standard system memmove() */
index 985dbe3..184da5e 100644 (file)
@@ -226,7 +226,6 @@ typedef int pid_t;
 
 #define HAVE_MOUSE
 #define HAVE_H_ERRNO
-#define HAVE_STRUCT_UTIMBUF
 
 /* Compatibility macros. Some used to be routines in nt.c */
 #define strcasecmp(x,y) _stricmp(x,y)
index 12cd3de..e327cff 100644 (file)
@@ -140,22 +140,6 @@ static void hft_reset (struct console *c);
 #include <sys/termio.h>
 #endif
 
-/* ------------------------------- */
-/*          miscellaneous          */
-/* ------------------------------- */
-
-#ifndef HAVE_UTIMES
-#ifndef HAVE_STRUCT_UTIMBUF
-/* We want to use utime rather than utimes, but we couldn't find the
-   structure declaration.  We'll use the traditional one.  */
-struct utimbuf
-{
-  long actime;
-  long modtime;
-};
-#endif
-#endif
-
 \f
 /************************************************************************/
 /*                         subprocess control                           */
@@ -3364,17 +3348,20 @@ gettimeofday (struct timeval *tp, struct timezone *tzp)
 int
 set_file_times (char *filename, EMACS_TIME atime, EMACS_TIME mtime)
 {
-#ifdef HAVE_UTIMES
-  struct timeval tv[2];
-  tv[0] = atime;
-  tv[1] = mtime;
-  return utimes (filename, tv);
-#else /* not HAVE_UTIMES */
+#if defined (HAVE_UTIME)
   struct utimbuf utb;
   utb.actime = EMACS_SECS (atime);
   utb.modtime = EMACS_SECS (mtime);
   return utime (filename, &utb);
-#endif /* not HAVE_UTIMES */
+#elif defined (HAVE_UTIMES)
+  struct timeval tv[2];
+  tv[0] = atime;
+  tv[1] = mtime;
+  return utimes (filename, tv);
+#else
+  /* No file times setting function available. */
+  return -1;
+#endif
 }
 
 /* */
index e51ac51..2a56a89 100644 (file)
@@ -63,7 +63,7 @@ void gettimeofday (struct timeval *, struct timezone *);
 
 #endif /* WIN32_NATIVE */
 
-#ifdef HAVE_UTIME_H
+#ifdef HAVE_UTIME
 # include <utime.h>
 #endif
 
index 7a7f6da..c6a3000 100644 (file)
@@ -1,3 +1,18 @@
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-20  Matt Tucker  <tuck@whistlingfish.net>
+
+       * automated/syntax-tests.el: remove debug message
+
+2001-02-17  Matt Tucker  <tuck@whistlingfish.net>
+
+       * automated/syntax-tests.el:
+       Added tests for syntax-table extents.
+       Added regression tests for fencepost bugs with
+       `find_start_of_comment' and `find_end_of_comment'.
+
 2001-02-08  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.44 "Thalia" is released.
index 336189a..c6601fc 100644 (file)
@@ -2,8 +2,8 @@
 emacs_is_beta=t
 emacs_major_version=21
 emacs_minor_version=2
-emacs_beta_version=44
-xemacs_codename="Thalia"
+emacs_beta_version=45
+xemacs_codename="Thelxepeia"
 infodock_major_version=4
 infodock_minor_version=0
 infodock_build_version=8