From xemacs-m  Wed Sep 24 22:25:51 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA13411
	for <xemacs-beta@xemacs.org>; Wed, 24 Sep 1997 22:25:51 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id UAA24420;
	Wed, 24 Sep 1997 20:31:59 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: thing.elc (b23)
References: <lb4t7bz2ff.fsf@orion.kurims.kyoto-u.ac.jp> <199709240623.XAA09601@xemacs.eng.sun.com> <lb67rqcedd.fsf@orion.kurims.kyoto-u.ac.jp>
X-Face: (:YAD@JS'&Kz'M}n7eX7gEvPR6U1mJ-kt;asEc2qAv;h{Yw7ckz<7+X_SYeTNAaPui:e~x$
 ,A=gkt*>UPL/}\a/#C~v2%ETiAY_sx;xve0yL??JWTtX_-NUzXyP38UdW#cmN1\4(X!c3m#%IbtB-3
 Z-!xpZi!`E.s{(;aP=b11"!3wQu]1j@^V|;n=B|{l<bZV1.AI`zWV%kPCnUhcgEe\(}/_kNd6,*3ZJ
 Q3o<YQ3^u;7jS=:p0--u3msQO
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Jens-Ulrik Holger Petersen's message of "25 Sep 1997 11:32:30 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 24 Sep 1997 20:31:58 -0700
Message-ID: <m2iuvqhxw1.fsf@altair.xemacs.org>
Lines: 17
X-Mailer: Quassia Gnus v0.10/XEmacs 20.3(beta24) - "Ljubljana"

Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> writes:

> I still don't understand why the old "thing.el" doesn't give an error,
> while its .elc file does.  This looks like a Elisp bug, or am I
> missing something?

It is indeed a lisp bug, or rather a bug in the bytecode interpreter.

The lisp interpreter calls different code than the bytecode interpreter.


I've got a patch, off to test it ...

P.S.
The byte codes for all the XEmacs functions which purport to take a
buffer argument are bogus.  Fcurrent_buffer() appears to be hardcoded
in the byte code interpreter.

