From: ····@Ho.Le
Subject: sbcl, xemacs and slime
Date: 
Message-ID: <87acbs8gcf.fsf@subopt.austin.rr.com>
Trying to set up slime under xemacs. Installed sbcl at:

    /usr/local/bin/sbcl

This is what i have in my ~/.xemacs/init.el:

    (setq inferior-lisp-program "sbcl")
    (add-to-list 'load-path "/home/eric/elisp/slime-1.2.1")
    (require 'slime)
    (slime-setup)

This is what i get when i do M-x slime:

    (load "/home/eric/elisp/slime-1.2.1/swank-loader.lisp" :verbose t)
    (swank:start-server "/tmp/eric/slime.13477" :external-format :iso-latin-1-unix)
    fatal error encountered in SBCL pid 13478:
    can't find core file

    Process inferior-lisp exited abnormally with code 1

I've tried changing my inferior-lisp-program to:

    "sbcl -core /path/to/known/good/core/file"

but got exactly the same result. What am i doing wrong?

thanks in advance,
Eric

From: Juho Snellman
Subject: Re: sbcl, xemacs and slime
Date: 
Message-ID: <slrne1f78u.cbr.jsnell@sbz-30.cs.Helsinki.FI>
····@Ho.Le <····@Ho.Le> wrote:
> I've tried changing my inferior-lisp-program to:
> 
>     "sbcl -core /path/to/known/good/core/file"
> 
> but got exactly the same result. What am i doing wrong?

Not enough dashes. The option is "--core", not "-core".

-- 
Juho Snellman
From: John Connors
Subject: Re: sbcl, xemacs and slime
Date: 
Message-ID: <4418087f$0$70305$ed2619ec@ptn-nntp-reader03.plus.net>
····@Ho.Le wrote:
> Trying to set up slime under xemacs. Installed sbcl at:
> 
>     /usr/local/bin/sbcl
> 
> This is what i have in my ~/.xemacs/init.el:
> 
>     (setq inferior-lisp-program "sbcl")
>     (add-to-list 'load-path "/home/eric/elisp/slime-1.2.1")
>     (require 'slime)
>     (slime-setup)
> 
> This is what i get when i do M-x slime:
> 
>     (load "/home/eric/elisp/slime-1.2.1/swank-loader.lisp" :verbose t)
>     (swank:start-server "/tmp/eric/slime.13477" :external-format :iso-latin-1-unix)
>     fatal error encountered in SBCL pid 13478:
>     can't find core file
> 
>     Process inferior-lisp exited abnormally with code 1
> 
> I've tried changing my inferior-lisp-program to:
> 
>     "sbcl -core /path/to/known/good/core/file"
> 
> but got exactly the same result. What am i doing wrong?
> 
> thanks in advance,
> Eric

Also you could put (setenv "SBCL_HOME" "/usr/home/fookhl/lib/sbcl"), or whatever
your path is in your init.el just to be sure Xemacs is operating in an
environment with that variable set.