On 16 Jul 2002, james(a)xemacs.org wrote:
Jeff Mincy <jeff(a)delphioutpost.com> wrote:
> On Tue, 16 Jul 2002, art(a)brightlight.com wrote:
>
> > Xeamcs 21.4.8 crashes while doing M-x eval-print-last-sexp
> > on a form in the *scratch* buffer. This is repeatable in
> > a fresh emacs.
> >
> > To repeat:
> >
> > 1. Enter the following form in the *scratch* buffer:
> > (let (n 3) (print n))
> >
> > 2. Place cursor after the final close-paren
> >
> > 3. Type M-x eval-print-last-sexp
>
> Also, crashes doing ^x^e (eval-last-sexp) in 21.4.6
>
> Note that the form is invalid - presumably you really didn't want to
> bind 3 to nil, eg: you want (let ((n 3)) n)
Are you using a Sparc Solaris machine too, like Art? When I try either
recipe on my x86 Linux box with XEmacs 21.4.8 (both MULE and non-MULE),
I get "Wrong type argument: consp, 3" in the minibuffer, so it is
platform related somehow.
Interesting. Yes, I was running on a solaris. I get the expected
wrong type argument error in the minibuffer in the windows version.
let is implemented in eval.c. Each var, if it isn't a symbol, must be
a CONS, it is explictly checked in 'CHECK_CONS (var);'
It is a little hard to follow the macros, but the implementation seems
fine. Why would it break only on solaris?
My (emacs-version) is
"XEmacs 21.4 (patch 6) \"Common Lisp\" [Lucid] (sparc-sun-solaris2.8) of
Mon Mar 4 2002 on capital"
-jeff