What do you think about adding version information?
Jari
From: Horsley Tom <Tom.Horsley(a)ccur.com>
To: ntemacs-users(a)cs.washington.edu
Subject: RE: Bombs loading some XEmacs-compiled .elc's into NTEmacs
Date: Mon, 29 Jan 2001 08:21:24 -0500
X-Mailer: Internet Mail Service (5.5.2650.21)
Sender: owner-ntemacs-users(a)cs.washington.edu
Precedence: bulk
X-FAQ:
http://www.gnu.org/software/emacs/windows/ntemacs.html
Lines: 11
Xref: PICASSO list.emacs-nt:4515
I think that XEmacs implements at least one byte code that is not
implemented by GNU Emacs, so GNU Emacs .elc files should run on XEmacs,
but XEmacs .elc files may not run on GNU Emacs (if they happen to use
the illegal byte code(s)). So, yes, it's known and expected.
But what isn't known is why .elc files don't have a version code
in a header somewhere that says if they use byte codes incompatible
with interpreters less than version N. You could at least get
an intelligible error message that way, and might even be able
to easily scan for incompatible .elc files...