ack!
i did write changelog entries, just forgot to include them here. this includes
the changelogs for both patches i sent out.
stephen, the regex changes relate to the previous changes i made, so you don't
need them.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* regex.c (regex_compile):
fix error compiling regexps with back-references in them.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* files.el (find-file-noselect):
* files.el (recover-session-finish):
fix byte-compilation warnings.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* font.el (bold): New.
* font.el (italic): New.
* font.el (oblique): New.
* font.el (dim): New.
* font.el (underline): New.
* font.el (overline): New.
* font.el (linethrough): New.
* font.el (strikethru): New.
* font.el (reverse): New.
* font.el (blink): New.
* font.el (smallcaps): New.
* font.el (bigcaps): New.
* font.el (dropcaps): New.
* gtk-widget-accessors.el (import-widget-accessors):
* widgets-gtk.el (gtk-widget-instantiate-internal):
* x-font-menu.el (x-font-menu-font-data): New.
* x-font-menu.el (x-font-menu-load-font):
fix byte-compilation warnings.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* etags.c (add_regex):
temporary fix to avoid crashes with new regex code.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* PROBLEMS:
* PROBLEMS (Note):
i swear i already committed this.
2001-05-09 Ben Wing <ben(a)xemacs.org>
* xemacs.mak (OS):
do not warn about gtk when we're not trying to compile with it.
Ben Wing wrote:
NOTE: This patch has been committed.
Stephen, if you didn't get the latest PROBLEMS change, here it is once
again. no more changes; it just didn't want to commit itself.
the only other thing you want is the change to nt/xemacs.mak.
fixup Patch (bash -ci "cvs-diff -no-changelog "):
? confdefs.h
? man/lispref/patch.exe.stackdump
? src/xemacs.opt
cvs server: Diffing .
Index: PROBLEMS
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/PROBLEMS,v
retrieving revision 1.46
diff -u -r1.46 PROBLEMS
--- PROBLEMS 2001/04/12 18:20:32 1.46
+++ PROBLEMS 2001/05/09 10:11:05
@@ -20,10 +20,10 @@
Also, Try finding the things you need using one of the search commands
XEmacs provides (e.g. `C-s').
-A general advice:
- WATCH OUT for .emacs file! ~/.emacs is your Emacs init file. If
- you observe strange problems, invoke XEmacs with the `-q' option
- and see if you can repeat the problem.
+General advice:
+ WATCH OUT for your init file! (~/.xemacs/init.el or ~/.emacs) If
+ you observe strange problems, invoke XEmacs with the `-vanilla'
+ option and see if you can repeat the problem.
* Problems with building XEmacs
@@ -552,60 +552,53 @@
and later.
** Cygwin
+
*** In general use etc/check_cygwin_setup.sh to trap environment problems.
The script etc/check_cygwin_setup.sh will attempt to detect whether
-you have a suitable environment for building. This script may not work
+you have a suitable environment for building. This script may not work
correctly if you are using ash instead of bash (see below).
-
-*** X11 not detected.
-
-This is usually because xmkmf is not in your path or because you are
-using the default cygwin shell. The default cygwin shell (/bin/sh.exe)
-is ash which appears to work in most circumstances but has some weird
-failure modes. I recommend replacing sh.exe with bash.exe, this will
-mean configure is slower but more reliable.
-*** Subprocesses do not work.
-
-You do not have "tty" in your CYGWIN32 (for b19) or CYGWIN (for b20)
-environment variable. This must be set in your autoexec.bat (win95) or
-the system properties (winnt) as it must be read before the cygwin dll
-initializes.
-
-*** ^G does not work on hung subprocesses.
+*** Syntax errors running configure scripts, make failing with exit code 127
+ in inexplicable situations, etc.
-This is a known problem. It can be remedied with cygwin b20 or greater
-by defining BROKEN_SIGIO in src/s/cygwin32.h, however this currently
-leads to instability in XEmacs.
+This may be because you are using the default cygwin shell. The
+default cygwin shell (/bin/sh.exe) is ash which appears to work in
+most circumstances but has some weird failure modes. You need to
+replace the symlink with bash.exe.
+
+*** Lots of compile errors, esp. on lines containing macro definitions
+ terminated by backslashes.
+
+Your partition holding the source files is mounted binary. It needs
+to be mounted text. (This will not screw up any binary files because
+the Cygwin utilities specify explicitly whether they want binary or
+text mode when working with source vs. binary files, which overrides
+the mount type.) To fix this, you just need to run the appropriate
+mount command once -- afterwards, the settings are remembered in the
+registry.
+
+*** Errors from make like /c:not found.
+
+Make sure you set the environment variable MAKE_MODE to UNIX in your
+.bashrc, Control Panel (Windows 2000/NT), or AUTOEXEC.BAT (Windows
+98/95).
-*** The XEmacs executable crashes at startup.
-
-This can be caused by many things.
-
-If you are running with X11 you need to have cygwin b19 or cygwin
-b20.1 or greater, cygwin b20 will not work.
-
-If you are running with cygwin b19 make sure you are using egcs 1.0.2
-rather than vanilla gcc. XEmacs builds by default with -O3 which does
-not work with the gcc that ships with b19. Alternatively use -O2.
-
*** The info files will not build.
-makeinfo that ships with cygwin (all versions) is a noop. You need to
+makeinfo that ships with Cygwin (all versions) doesn't work. You need to
obtain makeinfo from somewhere or build it yourself.
-*** I have no graphics.
+*** XEmacs hangs while attempting to rebuild the .elc files.
-You need to obtain the various graphics libraries. Pre-built versions
-of these and the X libraries are located on the XEmacs website in
-ftp://ftp.xemacs.org/pub/aux/cygwin*.
+Check to make sure you're not configuring with rel-alloc. The relocating
+allocator does not currently work under Cygwin due to bugs in Cygwin's
+mmap().
-*** There are no images in the toolbar buttons.
+*** Trying to build with X, but X11 not detected.
-You need version 4.71 of commctrl.dll which does not ship with windows
-95. You can get this by installing IE 4.0 or downloading it from the
-microsoft website.
+This is usually because xmkmf is not in your path or because you are
+using the default cygwin shell. (See above.)
* Problems with running XEmacs
@@ -1704,13 +1697,37 @@
** Windows
-*** Emacs exits with "X protocol error" when run with an X server for
-Windows.
+*** In general, the Windows code is less mature than the Unix code.
+
+The Windows code base is still changing quickly. If you are
+experiencing problems, try the latest beta version to see if the
+problem still exists. Also ask on xemacs-nt(a)xemacs.org.
+
-A certain X server for Windows had a bug which caused this.
-Supposedly the newer 32-bit version of this server doesn't have the
-problem.
+** Cygwin
+*** Subprocesses do not work.
+You do not have "tty" in your CYGWIN environment variable. This must
+be set in your autoexec.bat (win95) or the system properties (winnt)
+as it must be read before the cygwin DLL initializes.
+
+*** ^G does not work on hung subprocesses.
+
+This is a known problem. It can be remedied by defining BROKEN_SIGIO
+in src/s/cygwin.h, however this currently leads to instability in XEmacs.
+(#### is this still true?)
+
+*** Errors from make like `/c:not found' when running `M-x compile'.
+
+Make sure you set the environment variable MAKE_MODE to UNIX in your
+init file (.xemacs/init.el), Control Panel (Windows 2000/NT), or
+AUTOEXEC.BAT (Windows 98/95).
+
+*** There are no images in the toolbar buttons.
+
+You need version 4.71 of commctrl.dll which does not ship with windows
+95. You can get this by installing IE 4.0 or downloading it from the
+microsoft website.
* Compatibility problems (with Emacs 18, GNU Emacs, or previous XEmacs/lemacs)
cvs server: Diffing dynodump
cvs server: Diffing dynodump/i386
cvs server: Diffing dynodump/ppc
cvs server: Diffing dynodump/sparc
cvs server: Diffing etc
cvs server: Diffing etc/custom
cvs server: Diffing etc/custom/example-themes
cvs server: Diffing etc/eos
cvs server: Diffing etc/idd
cvs server: Diffing etc/photos
cvs server: Diffing etc/sparcworks
cvs server: Diffing etc/tests
cvs server: Diffing etc/tests/external-widget
cvs server: Diffing etc/toolbar
cvs server: Diffing info
cvs server: Diffing lib-src
Index: lib-src/etags.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lib-src/etags.c,v
retrieving revision 1.24
diff -u -r1.24 etags.c
--- lib-src/etags.c 2001/04/12 18:21:00 1.24
+++ lib-src/etags.c 2001/05/09 10:11:18
@@ -5163,6 +5163,8 @@
(void) scan_separators (name);
patbuf = xnew (1, struct re_pattern_buffer);
+ memset (patbuf, 0, sizeof (struct re_pattern_buffer));
+
/* Translation table to fold case if appropriate. */
patbuf->translate = (ignore_case) ? lc_trans : NULL;
patbuf->fastmap = NULL;
cvs server: Diffing lisp
Index: lisp/font.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/font.el,v
retrieving revision 1.8
diff -u -r1.8 font.el
--- lisp/font.el 2001/05/04 22:42:02 1.8
+++ lisp/font.el 2001/05/09 10:11:24
@@ -33,7 +33,9 @@
(globally-declare-fboundp
'(x-list-fonts
mswindows-list-fonts ns-list-fonts internal-facep fontsetp get-font-info
- get-fontset-info mswindows-define-rgb-color cancel-function-timers))
+ get-fontset-info mswindows-define-rgb-color cancel-function-timers
+ ;; #### perhaps we should rewrite font-warn to avoid the warning
+ font-warn))
(globally-declare-boundp
'(global-face-data
@@ -222,20 +224,19 @@
(format "font-%s-mask" attr)))))))
)))
-(let ((mask 0))
- (define-new-mask bold (setq mask (1+ mask)))
- (define-new-mask italic (setq mask (1+ mask)))
- (define-new-mask oblique (setq mask (1+ mask)))
- (define-new-mask dim (setq mask (1+ mask)))
- (define-new-mask underline (setq mask (1+ mask)))
- (define-new-mask overline (setq mask (1+ mask)))
- (define-new-mask linethrough (setq mask (1+ mask)))
- (define-new-mask strikethru (setq mask (1+ mask)))
- (define-new-mask reverse (setq mask (1+ mask)))
- (define-new-mask blink (setq mask (1+ mask)))
- (define-new-mask smallcaps (setq mask (1+ mask)))
- (define-new-mask bigcaps (setq mask (1+ mask)))
- (define-new-mask dropcaps (setq mask (1+ mask))))
+(define-new-mask bold 1)
+(define-new-mask italic 2)
+(define-new-mask oblique 3)
+(define-new-mask dim 4)
+(define-new-mask underline 5)
+(define-new-mask overline 6)
+(define-new-mask linethrough 7)
+(define-new-mask strikethru 8)
+(define-new-mask reverse 9)
+(define-new-mask blink 10)
+(define-new-mask smallcaps 11)
+(define-new-mask bigcaps 12)
+(define-new-mask dropcaps 13)
(defvar font-caps-display-table
(let ((table (make-display-table))
Index: lisp/gtk-widget-accessors.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/gtk-widget-accessors.el,v
retrieving revision 1.3
diff -u -r1.3 gtk-widget-accessors.el
--- lisp/gtk-widget-accessors.el 2001/05/04 22:42:04 1.3
+++ lisp/gtk-widget-accessors.el 2001/05/09 10:11:24
@@ -107,6 +107,7 @@
(defun import-widget-accessors (file syms-function-name &rest description)
"Import multiple widgets, and emit a suitable vars_of_foo() function for
them.\n"
+ (declare (special c-mode-common-hook c-mode-hook))
(let ((c-mode-common-hook nil)
(c-mode-hook nil))
(find-file file))
Index: lisp/widgets-gtk.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/widgets-gtk.el,v
retrieving revision 1.3
diff -u -r1.3 widgets-gtk.el
--- lisp/widgets-gtk.el 2001/05/04 22:42:16 1.3
+++ lisp/widgets-gtk.el 2001/05/09 10:11:25
@@ -134,7 +134,6 @@
(gtk-widget-get-style
(frame-property nil 'text-widget))))
widget)
- (setq x widget)
widget))
(defun gtk-widget-property-internal ()
Index: lisp/x-font-menu.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/x-font-menu.el,v
retrieving revision 1.8
diff -u -r1.8 x-font-menu.el
--- lisp/x-font-menu.el 2001/05/04 22:42:17 1.8
+++ lisp/x-font-menu.el 2001/05/09 10:11:25
@@ -190,7 +190,7 @@
;; If the user didn't specify one (with "-dt-*-*", for example)
;; get the truename and use the possibly suboptimal data from that.
;;;###autoload
-(defun* x-font-menu-font-data (face dcache)
+(defun x-font-menu-font-data (face dcache)
(let* ((case-fold-search t)
(domain (if font-menu-this-frame-only-p
(selected-frame)
@@ -207,21 +207,22 @@
(string-match x-font-regexp-foundry-and-family truename))
(setq family (capitalize (match-string 1 truename)))
(setq entry (vassoc family (aref dcache 0))))
- (when (null entry)
- (return-from x-font-menu-font-data (make-vector 5 nil)))
-
- (when (string-match x-font-regexp name)
- (setq weight (capitalize (match-string 1 name)))
- (setq size (string-to-int (match-string 6 name))))
+
+ (if (null entry)
+ (make-vector 5 nil)
+
+ (when (string-match x-font-regexp name)
+ (setq weight (capitalize (match-string 1 name)))
+ (setq size (string-to-int (match-string 6 name))))
- (when (string-match x-font-regexp truename)
- (when (not (member weight (aref entry 1)))
- (setq weight (capitalize (match-string 1 truename))))
- (when (not (member size (aref entry 2)))
- (setq size (string-to-int (match-string 6 truename))))
- (setq slant (capitalize (match-string 2 truename))))
+ (when (string-match x-font-regexp truename)
+ (when (not (member weight (aref entry 1)))
+ (setq weight (capitalize (match-string 1 truename))))
+ (when (not (member size (aref entry 2)))
+ (setq size (string-to-int (match-string 6 truename))))
+ (setq slant (capitalize (match-string 2 truename))))
- (vector entry family size weight slant)))
+ (vector entry family size weight slant))))
(defun x-font-menu-load-font (family weight size slant resolution)
"Try to load a font with the requested properties.
cvs server: Diffing lisp/mule
cvs server: Diffing lisp/term
cvs server: Diffing lock
cvs server: Diffing lwlib
cvs server: Diffing man
cvs server: Diffing man/internals
cvs server: Diffing man/lispref
cvs server: Diffing man/new-users-guide
cvs server: Diffing man/xemacs
cvs server: Diffing modules
cvs server: Diffing modules/base64
cvs server: Diffing modules/ldap
cvs server: Diffing modules/sample
cvs server: Diffing modules/zlib
cvs server: Diffing netinstall
cvs server: Diffing nt
Index: nt/xemacs.mak
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/nt/xemacs.mak,v
retrieving revision 1.61
diff -u -r1.61 xemacs.mak
--- nt/xemacs.mak 2001/05/01 12:05:20 1.61
+++ nt/xemacs.mak 2001/05/09 10:11:33
@@ -1500,19 +1500,10 @@
!endif
!if $(HAVE_GTK)
--------------------------------------------------------------------
- WARNING: Compiling WITHOUT GTK support.
- WARNING: As of xemacs-21.2-b44
- WARNING: gtk-xemacs is not supported on MSWindows (mingw or msvc).
- WARNING: Yes, we know that gtk has been ported to native MSWindows
- WARNING: but XEmacs is not yet ready to use that port.
- --------------------------------------------------------------------
-!else
- --------------------------------------------------------------------
- WARNING: Compiling without GTK support.
- WARNING: As of xemacs-21.2-b44
- WARNING: gtk-xemacs is not supported on MSWindows (mingw or msvc).
- WARNING: Yes, we know that gtk has been ported to native MSWindows
- WARNING: but XEmacs is not yet ready to use that port.
+ WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support.
+ WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc).
+ WARNING: Yes, we know that gtk has been ported to native MSWindows, but
+ WARNING: XEmacs is not yet ready to use that port.
--------------------------------------------------------------------
!endif
!if $(HAVE_XPM)
cvs server: Diffing nt/installer
cvs server: Diffing nt/installer/Wise
cvs server: Diffing src
Index: src/regex.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/regex.c,v
retrieving revision 1.26
diff -u -r1.26 regex.c
--- src/regex.c 2001/05/04 22:42:32 1.26
+++ src/regex.c 2001/05/09 10:11:42
@@ -3087,6 +3087,8 @@
else
PATUNFETCH;
}
+ else
+ PATUNFETCH;
}
if (reg > bufp->re_nsub)
cvs server: Diffing src/m
cvs server: Diffing src/s
cvs server: Diffing tests
cvs server: Diffing tests/DLL
cvs server: Diffing tests/Dnd
cvs server: Diffing tests/automated
cvs server: Diffing tests/gtk
cvs server: Diffing tests/mule
cvs server: Diffing tests/tooltalk
--
ben
I'm sometimes slow in getting around to reading my mail, so if you
want to reach me faster, call 520-661-6661.
See
http://www.666.com/ben/chronic-pain/ for the hell I've been
through.