Google Groups Home
Help | Sign in
Message from discussion Install SLIME on windows?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Nathaniel Calloway  
View profile
 More options Apr 27, 3:59 pm
Newsgroups: comp.lang.lisp
From: Nathaniel Calloway <n...@cornell.edu>
Date: Sun, 27 Apr 2008 15:59:02 -0400
Local: Sun, Apr 27 2008 3:59 pm
Subject: Re: Install SLIME on windows?

globalrev <skanem...@yahoo.se> writes:
> i downloaded the SLIME-file.

> how do i install it on windows? i have unzipped and there is no
> specific install-file and the readme is just about emacs itself, not
> slime.

> the tutorials just show for linux/mac etc.

I'm assuming you are installing this natively under windows and not
cygwin. It's actually much easier to install it without cygwin because
of problems converting windows to cygwin paths (unless you use cygwin emacs).

An additional tip is that if you are comfortable with lisp already,
it's easier to get it working using asdf. Just drop a link to your
swank.asd file (comes in the slime main directory) in your systems
directy and put (asdf:oos 'asdf:load-op :swank) in your .lisprc file
or your slime startup file (that can be named whatever. Mine is
.slime.lisp. More notes below).

Otherwise you need add your slime directory to both your emacs and
lisp library paths. That is what everyone else is telling you to put
in your .emacs file (more notes on that below) for the emacs
side. Then put (load "your/slime/directory/swank.lisp") in your
.slime.lisp file. (Note: I've had to do this to get it working for me
in the past...I'm not sure if you are supposed to have to do
this). THEN, you have to add the path to .slime.lisp as part of your
inferior-lisp-process setting in emacs. Make all the other changes
people have suggested for your .emacs file, then say a prayer, and
type M-x slime.

Note: If it looks like slime starts, and then it locks up emacs, there
is nothing you can do about this. This is due to a problem with pipes
in windows, and the only way to fix it is to recompile lisp (with
changes to the C source) or find an executable that works. Another
option is to start your lisp process and load slime manually and start
the server all from within a shell OUTSIDE of emacs. But thats a pain.

Additional notes: When you first install emacs, your home directory
"~/" defaults to c:\Documents and Settings\your name\Aplication
Data. Don't ask me why. You can change your home directory as defined
in emacs by making a file called "site-start.el" and putting it in
your emacs/site-lisp directory with a line like (setenv "HOME"
"whatever/your/desired/home/dir/is") in there.

Someone else mentioned that windows doesn't like file names starting
with a dot. If this is the case, replace the dot with an underscore
"_" and it will still load up automatically.

Simple right?

Just be thankful you not using cygwin and you have to rewrite how
slime handles all its path names to get it to work.

-Nat


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google