Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
loading the following in a vanilla Mule XEmacs will trigger a crash.
(defun delete-and-split ()
(interactive)
(delete-other-windows)
(split-window))
(split-window-vertically)
(insert "が")
(backward-char)
(redraw-frame)
(delete-and-split)
[...]
A quick fix for the crash would be adding a call to
ensure_face_cachel_contains_charset() at the relevant place in
x_output_string like this:
[...patch...]
This works but is kindof expensive to do, as x_output_string is
called
very very often :-)
Maybe our Mule and redisplay experts can try to come up with something
more clever...
Wonderful! This cures the frequent crashes I experienced while using
lookup.el. Last weekend I managed to reproduce these crashes, but
wasn't yet able to narrow it down to a small bit of sample code.
The last function shown on the lisp backtraces was always
`split-window' shortly after some Japanese characters had been
inserted.
Therefore when I saw Gunnars patch appear on this list, I guessed this
might fix my problem, and indeed it did.
Thank you very much!
Mike