[slime-devel] starting with a saved image
Helmut Eller
heller at common-lisp.net
Fri Jan 2 08:29:56 UTC 2009
* Tamas K Papp [2009-01-01 16:22+0100] writes:
> Hi,
>
> I would like to start sbcl as an inferior-lisp with slime and load a
> previously saved image (saved with sb-ext:save-lisp-and-die). How can I
> do this? I just want to do this occasionally, not all the time, and the
> path of the image is not fixed (I use many images), so I need to be able
> to enter that interactively.
If your image creates a REPL on stdin, you can start SLIME with
C-u M-x slime and enter something like sbcl --core <file>
On startup, SLIME sends some forms to the stdin of the subprocess to
load Swank. If the subprocess doesn't create a REPL then this approach
will obviously not work.
Helmut.
More information about the slime-devel
mailing list