slime

What is the closest thing to Slime for Scheme?

I do most of my development in Common Lisp, but there are some moments when I want to switch to Scheme (while reading Lisp in Small Pieces, when I want to play with continuations, or when I want to do some scripting in Gauche, for example). In such situations, my main source of discomfort is that I don't have Slime (yes, you may call me ...

Lisp In A Box - Why is it starting a server?

I've decided to get back into LISP (haven't used it since my AI classes) to get more comfortable with functional programming in general, so I downloaded Lisp In A Box (which we actually used in a previous class) which comes with CLISP and Emacs. When I run it, it says: Connected on port 1617. Take this REPL, brother, and may it serv...

Which IDE are CLISP Programmers using?

I noticed how SLIME (lisp development package for Emacs) does not come with a frame-source-location function for CLISP, so you can't automagically jump to a source location when inside the debugger. Given that, I figured CLISP users must be using some other IDE (though I guess IDE is a little bit misleading here, maybe they're just using...

Getting started with SLIME and SWANK: Lisp connection closed unexpectedly: connection broken by remote peer

Hello people. I was trying to use the slime-connect function to get access to a remote server with sbcl. I followed all the steps from the slime.mov movie from Marco Baringer, but I got stuck when creating the ssh connection for slime. This is after already starting the swank server on the remote machine. I did it like this: ssh -L 4005...

How to save all functions I entered in LispBox/Slime?

Situation: I entered several functions while working with REPL in Emacs. Problem: There is junk like "; Evaluation aborted" when I'm simply saving buffer. What I want: clear descriptions of all the functions I entered in their latest revision. Can I do that? Thanks. ...

Emacs and slime stopped cooperating for me

I'm trying to use slime from CVS (2009-01-05) but keep getting this error: LOAD: A file with name /usr/share/common-lisp/source/slime/swank-loader.lisp does not exist I've stripped my .emacs down to just: (setq inferior-lisp-program "/usr/bin/clisp") (add-to-list 'load-path "/home/ssm/lisp/slime/") (require 'slime) (sli...

How does one use SBCL's SB-SPROF allocation profiling?

Update: Upgrading to SBCL 1.0.24 fixed my problem. (Though I also needed to upgrade SLIME to the 11-23-2008 revision. The stable 2006-04-20 revision, as well as the head of CVS don't seem to work with SBCL 1.0.24.) The documentation for the SBCL statistical profiler indicates that you can profile memory allocation in addition to CPU u...

How do I get a common-lisp GUI in Windows?

I'm using Emacs, with CLISP and Slime, and want to be able to draw pictures on the screen. I'm specifically thinking about drawing graphs, but anything that would let me draw basic shapes and manipulate them would be able to get me started. ...

In a Emacs + Slime + Clojure + Windows setup, failure to load clojure-auto

I followed this very helpful guide on getting this development environment set up. When running the emacs.bat I get the following error in Emacs: File error: Cannot open load file, clojure-auto Unfortunitely I am completely new to both Clojure and Emacs, so any help in even figuring out where to begin looking would be helpful. Als...

Changing the package from the REPL in SLIME - is it broken?

I just recently started experiment with SLIME, and found a problem that makes me unsure whether it is something I am doing wrong or if the current snapshot of SLIME is broken. The problem: trying to change the package (using , !p) always throws an error, regardless of which backend is used. The error from SBCL looks like this: The...

Weird Clojure Box - library (dll) issue

I am trying to use the JACOB library with Clojure using Clojure Box. I have added this to my .emacs: (setq swank-clojure-library-paths (list "c:/dev/dlls")) C:/dev/dlls/ contains the jacob-1.14.3-x86.dll. I have added a .clojure dir to my ~/ dir and that contains the jacob.jar. At the Clojure Box REPL, (System/getProperty "java.cl...

I can't close the last parenthesis and send my function to the REPL using lisp-mode in Slime

This is a very simple question. I have installed Emacs 22.2.1 (from the Ubuntu (9.04) repo and I downloaded Slime-current from the repo on their homepage. I followed the instructions provided with slime and it works. I can start slime and use it as expected. However, when I enter lisp-mode (M-x lisp-mode) I can no longer interact with ...

Please recommend a good Slime tutorial or screencast.

My adventures in Java have lead me to look into Clojure, which then lead me to (re)discover Emacs and that lead me to SLIME. I have a fairly decent handle on Emacs itself, and I have the emacs-starter-kit as well as clojure-mode/slime/swank as well as a few other unrelated modes and tweaks setup and running. But setting up a program an...

Lisp: CHAR is neither declared nor bound

I have decided to learn (Common) Lisp a few days ago and I realize that this is quite a newbie question and it is probably extremely trivial to someone with at least a bit of experience. So basically what happens is that I load up Emacs + Slime (via Lisp in a Box) and write my program (included below): (defun last-char (s) "Get last ch...

can I use two different lisp+slime/swanks from the same emacs?

can I use common lisp and Clojure from within emacs at the same time? I would like to have each lisp-REPL in its own buffer, and If i did this how could I controll which buffer sent its data to which lisp? ...

Updating font-lock keywords in emacs without major mode reload

I am doing small modification to SLIME, so that I can get all currently loaded symbols from Lisp, analyze them and make font-lock fontify them. I managed to do all these steps, but I have a small problem - when keyword list changes in font-lock the buffer is not updated unless you restart the major lisp-mode. I don't want to restart lis...

Emacs - slime not starting

I recently upgraded to Emacs 23.1.50, and Slime stopped connecting - it would start the inferior-lisp, but never connect. After some investigation, I found that it would work if started from emacs -q and then everything up until and including the call to slime would work. Is there any way to force the remainder of my customizations to ...

How can I abort an evaluation in Clojure Box (Emacs)?

I've been caught up in long running computations lately thanks to Project Euler and I'd like to know how to abort an evaluation and return to the REPL prompt. I'm running the standard Clojure Box version of Emacs. I tried the obvious REPL > Interrupt Lisp Process and Slime > Interrupt Command but neither kill the execution and return my ...

Clojure emacs slime + swank directory question

I'm using emacs with clojure-swank and slime and trying to set my development environment. And I ran into a problem. When I start a repl I'm stuck in an unknown directory preventing me to load my namespace. Because the clojure repl can't find the right file. Does anyone know how to change the current directory? PS: I've just started us...

How to setup Aquamacs for Clojure development?

I've tried to migrate to Emacs several times for Clojure development, following a variety of blogposts, screencast and tutorials, but somewhere along the way something always went wrong - keybindings that didn't work, incompatible versions, etc, and I found myself scrambling back to Vim. But I know I want Paredit and SLIME. So, I'm goin...