>>>> "ST" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
>>>> "Marco" == Marco Walther
<marcow(a)jena.eng.sun.com> writes:
Marco> What changed between 21.4.0 &
21.4.1?
ST> Almost nothing; the release announce actually was complete. Aside
ST> from the following, it's possible I messed up the tarballs if that's
ST> what you're using, but check these first.
Stephen,
thanks for your response. You're right it did not change much.
It looks like my problem is more difficult to reproduce than I first
tought:-(
When I start a fresh XEmacs (21.4.1) everything is fine. I load a lot
of stuff including VM, JDE, XAE, CC-mode and everything is still fine
but at one point in time I see these highlights staying around. I
could not yet figure out what triggers this change in behavoir:-( But
I'll try to find out.
Thanks,
-- Marco
ST> I forgot to update ./configure for 21.4.0, so I regenerated. Try
ST> rm ./configure
ST> cvs update -r r21-4-0 configure
ST> Reconfigure and rebuild. If you are using the tarballs, here's the
ST> (forward) patch to configure.in (use patch -R to apply, run autoconf,
ST> reconfigure and build):
ST> Index: configure.in
ST> ===================================================================
ST> RCS file: /usr/CVSroot/XEmacs/xemacs/configure.in,v
ST> retrieving revision 1.111.2.152
ST> retrieving revision 1.151
ST> diff -u -r1.111.2.152 -r1.151
ST> --- configure.in 2001/03/19 17:29:11 1.111.2.152
ST> +++ configure.in 2001/04/12 18:20:41 1.151
ST> @@ -2753,7 +2755,9 @@
ST> cd ..
ST> rm -fr conftestdir
ST> for word in $xmkmf_defines; do
ST> - case "$word" in -D* )
ST> + case "$word" in
ST> + -D__STDC__*) ;;
ST> + -D* )
ST> sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'`
ST> case "$word" in
ST> -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;;
ST> The other changes in the code are to lisp/x-compose.el and to
ST> src/input-method-motif.c; I don't see how they could be involved but
ST> you could try reverting them to 21.4.0 using the -r r21-4-0 tag. Or
ST> here are the (forward) patches:
ST> Index: lisp/x-compose.el
ST> ===================================================================
ST> RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/x-compose.el,v
ST> retrieving revision 1.3
ST> retrieving revision 1.3.2.1
ST> diff -u -r1.3 -r1.3.2.1
ST> --- lisp/x-compose.el 2001/04/12 18:21:39 1.3
ST> +++ lisp/x-compose.el 2001/04/19 07:31:11 1.3.2.1
ST> @@ -521,7 +521,12 @@
ST> (eq 1 (length value))
ST> (null (lookup-key keymap value)))
ST> (define-key keymap value value))))
ST> - keymap))
ST> + keymap
ST> + ;; #### It is currently not safe to add definitions to a keymap in
ST> + ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed
ST> + ;; memory on a rehash). So we sort, which has the side effect of
ST> + ;; mapping over a copy of the original hash-table.
ST> + t))
ST> (xlib-input-method-bug-workaround compose-map)
ST> (unintern 'xlib-input-method-bug-workaround)
ST> @@ -534,7 +539,12 @@
ST> (alias-colon-to-doublequote value))
ST> (when (eq key '\")
ST> (define-key keymap ":" value)))
ST> - keymap))
ST> + keymap
ST> + ;; #### It is currently not safe to add definitions to a keymap in
ST> + ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed
ST> + ;; memory on a rehash). So we sort, which has the side effect of
ST> + ;; mapping over a copy of the original hash-table.
ST> + t))
ST> (alias-colon-to-doublequote compose-map)
ST> (unintern 'alias-colon-to-doublequote)
ST> @@ -696,7 +706,7 @@
ST> ;; (define-key binding [(control h)] 'compose-help)
ST> ;; (define-key binding [help] 'compose-help)
ST> ))
ST> - compose-map nil)
ST> + compose-map)
ST> ;; Make redisplay display the accented letters
ST> (if (memq (default-value 'ctl-arrow) '(t nil))
ST> Index: src/input-method-motif.c
ST> ===================================================================
ST> RCS file: /usr/CVSroot/XEmacs/xemacs/src/input-method-motif.c,v
ST> retrieving revision 1.11
ST> retrieving revision 1.11.2.1
ST> diff -u -r1.11 -r1.11.2.1
ST> --- src/input-method-motif.c 2001/04/12 18:23:56 1.11
ST> +++ src/input-method-motif.c 2001/04/19 07:31:26 1.11.2.1
ST> @@ -94,6 +94,13 @@
ST> /* Nothing to do */
ST> }
ST> +/* Callback for the deleting frame. */
ST> +static void
ST> +XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data)
ST> +{
ST> + XmImUnregister ((Widget) client_data);
ST> +}
ST> +
ST> void
ST> XIM_init_frame (struct frame *f)
ST> {
ST> @@ -152,6 +159,8 @@
ST> NULL);
ST> XmFontListEntryFree (&fontlistEntry);
ST> +
ST> + XtAddCallback (w, XmNdestroyCallback, XIM_delete_frame, (XtPointer) w);
ST> }
ST> --
ST> University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
ST> Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
ST> _________________ _________________ _________________ _________________
ST> What are those straight lines for? "XEmacs rules."
--