[slim-vim] HOWTO in progress

Larry Clapp larry at theclapp.org
Fri Jul 21 11:31:04 CDT 2006


On Fri, Jul 21, 2006 at 11:05:36PM +1000, James Fleming wrote:
> Now that I've gotten it running, I figured it would be worthwhile to
> document the steps as a more complete version of Brad's
> instructions.

Great!  Thanks!

> It's still a little terse for a beginner, but then I don't expect
> newbies to be trying this just yet.
> 
> ---
> Pull from darcs:
> vim70+async+ecl
> ecl-repl
> ecl-slime
> These can be found via http://wiki.alu.org/Slim-Vim-Repos
> 
> You'll need slime from cvs; instructions are at
> http://common-lisp.net/project/slime/. The latest tarball may work, but
> cvs definitely works for me.
> Install it in whichever way is most convenient to load swank via asdf.
> 
> You'll also need ecl, from http://ecls.sourceforge.net/
> 
> Now compile ecl and then vim, ensuring you pass --enable-eclinterp to
> ./configure when configuring vim's build.

On Linux, at least, and probably elsewhere, you can use "stock" 0.9i,
e.g. the one in Debian.

There's also a pre-compiled tarball of the Cygwin versions of
vim70+async+ecl and ECL 0.9i at
http://theclapp.org/lisp/vim-and-ecl.tgz .  See
http://www.lispniks.com/pipermail/slim-vim/2006-July/000266.html for
more notes.

> Start up sbcl and load swank, then execute
> (swank-create-server :dont-close t)

clisp and ECL also work (Windows and Linux, iirc; probably elsewhere,
too, of course).  You have to say

  (setf swank::*use-dedicated-output-stream* t)

before you start the Swank server.  Note that this is a limitation of
the current version of ecl-slime.

> On the subject of ecl-slime, I'm going to try asdf-packaging it to
> see if that removes the need to start vim in its directory.

It won't, unless asdf does something really funky.  ecl-slime.lisp has
several forms along the lines of

  (load "foo")

which tries to load said files from the current directory.  Brad just
needs to add code to ecl-slime.lisp that loads all the subsidiary
files from wherever ecl-slime is being loaded from.

Or maybe you plan to delete those LOADs and let ASDF do it.  That'd
work.  :)

-- Larry



More information about the slim-vim mailing list