Hi,
out of curiosity I looked into the 'JDE 2.3.2 fixes' Andy Piper posted
yesterday. I found, that he defines replace-regexp-in-string which is
not defined in XEmacs. That reminds me that this function is also
used by semantic in the semanticdb.el file, but only if the variable
semanticdb-default-save-directory is set.
Maybe other files are using replace-regexp-in-string, too. I think it
should go into a more basic package.
On a similar note: ECB uses a bunch of functions new in Emacs 21 to
get information about the window layout like window-edges. These are
used, to make a nice layout of buffers in a frame. There is at least
another file (planner-browser.el) which uses those methods, too. For
now I just required ecb-utils and call the ecb functions there.
I think these are also good candidates for putting into XEmacs.
Gerd