First * usage fails with LW

Edi Weitz <[email protected]> 13 May 2003 23:58:32 +0200
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Hi!

I think I've reported this before but I'm not sure.

On the console:

  edi@bird:~ > lw
  LispWorks(R): The Common Lisp Programming Environment
  Copyright (C) 1987-2002 Xanalys LLC.  All rights reserved.
  Version 4.2.7
  Saved by edi as lw-ilisp-capi, at 04 Oct 2002 0:52
  User edi on bird.agharta.de
  ; Loading text file /usr/local/lib/LispWorks/lib/4-2-0-0/config/siteinit.lisp
  ;  Loading text file /usr/local/lib/LispWorks/lib/4-2-0-0/private-patches/load.lisp
  ; Loading text file /home/edi/.lispworks
  ;  Loading fasl file /usr/local/lib/LispWorks/defsystem.ufsl
  ;  Loading fasl file /usr/local/lib/LispWorks/asdf.ufsl

  CL-USER 1 > (+ 42 42)
  84

  CL-USER 2 > (+ 42 *)
  126

  CL-USER 3 >

But in ILISP with the same LW image:

  Starting /usr/local/lib/LispWorks/lispworks-427-console ...
  ILISP V5.12.0  Use M-x ilisp-bug for problems and suggestions.
  LispWorks(R): The Common Lisp Programming Environment
  Copyright (C) 1987-2002 Xanalys LLC.  All rights reserved.
  Version 4.2.7
  Saved by edi as lw-ilisp-capi, at 04 Oct 2002 0:52
  User edi on bird.agharta.de
  ; Loading text file /usr/local/lib/LispWorks/lib/4-2-0-0/config/siteinit.lisp
  ;  Loading text file /usr/local/lib/LispWorks/lib/4-2-0-0/private-patches/load.lisp
  ; Loading text file /home/edi/.lispworks
  ;  Loading fasl file /usr/local/lib/LispWorks/defsystem.ufsl
  ;  Loading fasl file /usr/local/lib/LispWorks/asdf.ufsl

  CL-USER 1 > 

  CL-USER 2 > (+ 42 42)
  84

  CL-USER 9 > (+ 42 *)
  Error: In + of (42 NIL) arguments should be of type NUMBER.
    1 (continue) Return a value to use.
    2 Supply a new second argument.
    3 (abort) Return to level 0.
    4 Return to top-level loop.
    5 Return from multiprocessing.

  Type :b for backtrace, :c <option number> to proceed,  or :? for other options

  CL-USER 10 : 1 > :a
  CL-USER 11 > (+ 42 42)
  84

  CL-USER 12 > (+ 42 *)
  126

  CL-USER 13 > 

Funny enough, this only happens the first time * is used. This is FSF
Emacs 21.3 with ILISP from CVS some days ago but it has happened to me
since at least Emacs 21.1 with various older ILISP incarnations. It
also happens if I start with emacs -q and only load a minimal file to
set up ILISP (and also if I temporarily remove my .lispworks file).

Can anyone reproduce this? I'm not terribly familiar with the innards
of ILISP but I'm willing to (try to) debug this if someone is pointing
me into the right direction. I guess this must have something to do
with the fact that the prompts from "CL-USER 3 >" to "CL-USER 8 >" are
missing.

Thanks,
Edi.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com