It does things like have
a global variable override a file's explicit specification.
What variable do you mean? If you mean `set-auto-coding-function',
what XEmacs conventions require it not to exist?
Replacing it with a constant (or making it defcustom) is just one more
change of Emacs code in a row of those enumerated in comment in the
beginning of .el. When it is done, does it still violate any XEmacs
conventions?