From xemacs-m  Tue Jul  8 15:34:34 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 PAA24043
	for <xemacs-beta@xemacs.org>; Tue, 8 Jul 1997 15:34:31 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id NAA11943;
	Tue, 8 Jul 1997 13:37:11 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: [PATCH] Smallpox in Gnus
References: <kig90zha33g.fsf@jagor.srce.hr>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: Hrvoje Niksic's message of "08 Jul 1997 19:03:15 +0200"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 08 Jul 1997 13:37:11 -0700
Message-ID: <m2oh8djn60.fsf@altair.xemacs.org>
Lines: 30
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

Hrvoje Niksic <hniksic@srce.hr> writes:

> +	(let ((flist (if (fboundp 'compiled-function-arglist)
> +			 (list (compiled-function-arglist fval)
> +			       (compiled-function-instructions fval)
> +			       (compiled-function-constants fval)
> +			       (compiled-function-stack-depth fval)
> +			       (compiled-function-doc-string fval)
> +			       (car (cdr (compiled-function-interactive fval))))
> +		       append fval nil)))

This code contains the same bug that Kyle stepped on in his first
patch to efs-ovwrt.el.  The doc string for make-byte-code says:


make-byte-code: a built-in function.
Create a compiled-function object.
Usage: (arglist instructions constants stack-size
	&optional doc-string interactive-spec)
Note that, unlike all other emacs-lisp functions, calling this with five
arguments is NOT the same as calling it with six arguments, the last of
which is nil.  If the INTERACTIVE arg is specified as nil, then that means
that this function was defined with `(interactive)'.  If the arg is not
specified, then that means the function is not interactive.
This is terrible behavior which is retained for compatibility with old
`.elc' files which expected these semantics.

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

