#76 initial loading

lisp error
closed-fixed
clisp (524)
5
2002-01-02
2001-12-29
Anonymous
No

Hallo fellow lisplers,

yesterday I found the possibility to load a file of
lispcode - say "startup.lisp" - during startup using
the syntax:
lisp.exe -i startup.lisp ...

In this startup file I defined the function "restart"
with:
(defun restart NIL (load "startup.lisp"))
to reload this startup file which - sure - is work in
progress.

So - after a small change of "startup.lisp" - I typed
the following

[19]> (restart)

** - Continuable Error
Redefining the COMMON LISP function RESTART
If you continue (by typing 'continue'): The old
definition will be lost
1. Break [20]> :a

[21]> (lisp-implementation-version)
"2.27 (released 2001-07-17) (built 3204291076) (memory
3218578038)"
[22]>

I work on a pentium II under WINDOWS 2000.

Well I checked that the interpretor message is
principally correct.
In "Common Lisp the Language, 2nd Edition" Guy L.
Steele Jr. describes "restart" as a "type" (not
function ?) in conditionals.

But why didn't complain the loader during startup in
the first place?
I think it SHOULD do just that.
Instead the loader pretended everything to be OK as it
wrote its standard messages before entering the top-
level-loop:

;; Loading file C:\michael\lisp\c2psl.lisp ...
;; Loading of file C:\michael\lisp\c2psl.lisp is
finished.
[1]>

Greetings Michael Sué
michael.sue@gmx.de

Discussion

  • Sam Steingold

    Sam Steingold - 2002-01-02
    • milestone: --> lisp error
    • status: open --> closed-fixed
     
  • Sam Steingold

    Sam Steingold - 2002-01-02

    Logged In: YES
    user_id=5735

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).

     

Log in to post a comment.