RE: First * usage fails with LW

"Clementson, Bill" <[email protected]> Tue, 13 May 2003 22:19:40 -0600
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Hi Edi,

With ILISP-CVS & Emacs21.2.1 & CLISP2.30 I get the following=20
(correct) results:

Starting c:/bin/clisp-2.30/lisp.exe -B c:/bin/clisp-2.30/ -M
c:/bin/clisp-2.30/lispinit.mem -ansi -q ...
ILISP V5.12.0  Use M-x ilisp-bug for problems and suggestions.
[1]>=20
[2]> (+ 42 42)
84
[11]> (+ 42 *)
126
[12]>=20

Unfortunately, I don't have a console version of LispWorks,=20
so I can't reproduce the issue with LispWorks. Have you tried
doing the same process but without loading the other libraries
on startup (asdf, defsystem, etc) to make certain they aren't=20
the culprit?

--
Bill Clementson

> -----Original Message-----
> From: Edi Weitz [mailto:[email protected]]=20
> Sent: Tuesday, May 13, 2003 3:59 PM
> To: [email protected]
> Subject: [Ilisp-help] First * usage fails with LW
>=20
>=20
> Hi!
>=20
> I think I've reported this before but I'm not sure.
>=20
> On the console:
>=20
>   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=20
> /usr/local/lib/LispWorks/lib/4-2-0-0/config/siteinit.lisp
>   ;  Loading text file=20
> /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
>=20
>   CL-USER 1 > (+ 42 42)
>   84
>=20
>   CL-USER 2 > (+ 42 *)
>   126
>=20
>   CL-USER 3 >
>=20
> But in ILISP with the same LW image:
>=20
>   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=20
> /usr/local/lib/LispWorks/lib/4-2-0-0/config/siteinit.lisp
>   ;  Loading text file=20
> /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
>=20
>   CL-USER 1 >=20
>=20
>   CL-USER 2 > (+ 42 42)
>   84
>=20
>   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.
>=20
>   Type :b for backtrace, :c <option number> to proceed,  or=20
> :? for other options
>=20
>   CL-USER 10 : 1 > :a
>   CL-USER 11 > (+ 42 42)
>   84
>=20
>   CL-USER 12 > (+ 42 *)
>   126
>=20
>   CL-USER 13 >=20
>=20
> Funny enough, this only happens the first time * is used.=20
> This is FSF Emacs 21.3 with ILISP from CVS some days ago but=20
> it has happened to me since at least Emacs 21.1 with various=20
> older ILISP incarnations. It also happens if I start with=20
> emacs -q and only load a minimal file to set up ILISP (and=20
> also if I temporarily remove my .lispworks file).
>=20
> Can anyone reproduce this? I'm not terribly familiar with the=20
> innards of ILISP but I'm willing to (try to) debug this if=20
> someone is pointing me into the right direction. I guess this=20
> must have something to do with the fact that the prompts from=20
> "CL-USER 3 >" to "CL-USER 8 >" are missing.
>=20
> Thanks,
> Edi.
>=20
>=20
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003,=20
> Santa Clara The only event dedicated to issues related to=20
> Linux enterprise solutions www.enterpriselinuxforum.com
>=20
> _______________________________________________
> Ilisp-help mailing list
> [email protected]=20
> https://lists.sourceforge.net/lists/listinfo/i> lisp-help
>=20


-------------------------------------------------------
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