0

I intend to learn Common Lisp, and the book I plan to follow has suggested that GNU Emacs in conjunction with SLIME be used. However, I am not particularly fond of the way Emacs runs on Windows, and generally find Vim / gVim easier, so I was extremely happy to discover that there's basically a version of SLIME for Vim / gVim, called Slimv.

However, I could not make it work at all. I get the following error whenever I open a *.lisp file:

Error detected while processing C:\Users\d125q\vimfiles\bundle\slimv0912\ftplugin\lisp\slimv-lisp.vim:
line 66:
E128: Function name must start with a capital or "s:" b:SlimvAutodetect( preferred )
line 80:
E133: :return not inside a function
line 85:
E133: :return not inside a function
line 89:
E133: :return not inside a function
line 195:
E117: Unknown function: SlimvInitBuffer``

I have Python 2.7 installed, which is the version my gVim was compiled against (as verified by :version). I also have Steel Bank Common Lisp and can run it from the command line without any problems. I do not have any Slimv-related settings in my ~\_vimrc, although I did try setting a custom Swank command line and it resulted in the same errors.

Should I try installing Python 3, as my copy of Vim was also compiled with Python 3 support? It doesn't seem like the error is related to Python not being installed, however.

Any help is greatly appreciated.

2
  • Something is not right
    – romainl
    Commented Jul 9, 2014 at 20:43
  • Thanks a lot. Apparently, the latest commmit fixes exactly that issue. I guess I'll just clone the repository instead of downloading the stable version from vim.org.
    – d125q
    Commented Jul 9, 2014 at 20:51

2 Answers 2

1

There are no buffer-local functions, which the plugin attempts to define. Before Vim version 7.4.260 that was ignored; now it's an error.

As you've found out, this has been fixed in the development version, but not yet released. A workaround would be to continue to use an older Vim version.

0

Download the latest Slimv at https://bitbucket.org/kovisoft/slimv/downloads/?tab=downloads would be ok!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .