From xemacs-m  Mon Jul  7 16:41:20 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 QAA08844
	for <xemacs-beta@xemacs.org>; Mon, 7 Jul 1997 16:41:17 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id OAA29634;
	Mon, 7 Jul 1997 14:44:00 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: M-x find-file breaks after sample.emacs is loaded
References: <rxsvi2nnopd.fsf@midnight.ecf.teradyne.com> <199707071251.IAA28712@news.smart.net>
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: Jeff Miller's message of "Mon, 7 Jul 1997 08:51:43 -0400"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 07 Jul 1997 14:44:00 -0700
Message-ID: <m2yb7izgf3.fsf@altair.xemacs.org>
Lines: 26
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

Jeff Miller <jmiller@smart.net> writes:

>>>>>> "AA" == Adrian Aichner <aichner@ecf.teradyne.com> writes:
AA> In both cases you get a buffer with sample.emacs in it.
AA> However in the not-ok case you will get following *Backtrace* when you
AA> try C-x C-f afterwards:

 ...

> If i delete the lisp/efs/default-dir.elc, (as mentioned in steve's
> message) C-x C-f work ok then.

Verified.  For whatever reason, I cannot get a breakpoint to stick on
Fsignal in gdb to get a better lisp backtrace.  Since the problem goes 
away when the bytecode is taken away, this must be LOSING_BYTECODE
related.

My guess is that the bytecode pasting code is losing the interactive
spec since find-file ends up getting called non-interactively.
Compare the behavior of (call-interactively 'find-file) with and
without loading default-dir.elc.  Without you end up getting prompted
for a file.  With loading default-dir.elc you do not get prompted and
end up with the wrong-number-of-args bomb.
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

