Questions tagged [slime]

The Superior Lisp Interaction Mode for Emacs.

SLIME is a minor mode for interacting with a Common Lisp process which provides compilation, documentation lookup, and REPL services in GNU Emacs.

GitHub source code.

Read also Wikipedia article.

397 questions
178
votes
18 answers

Using Emacs as an IDE

Currently my workflow with Emacs when I am coding in C or C++ involves three windows. The largest on the right contains the file I am working with. The left is split into two, the bottom being a shell which I use to type in compile or make…
user7545
  • 3,020
  • 4
  • 22
  • 22
45
votes
9 answers

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…
Ryszard Szopa
  • 5,431
  • 8
  • 33
  • 43
32
votes
1 answer

In clojure, how can I undef a var from a namespace?

In clojure I have lines like this that define default values: (def *http-port* 8080) I've now decided to formalize these kinds of values into a configuration unit and I would like to undefine the value *http-port* so that I can find the locations…
Pieter Breed
  • 5,579
  • 5
  • 44
  • 60
31
votes
6 answers

How do I set up 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…
Michiel de Mare
  • 41,982
  • 29
  • 103
  • 134
30
votes
2 answers

automatically disable a global minor mode for a specific major mode

I have centered-cursor-mode activated globaly, like this: (require 'centered-cursor-mode) (global-centered-cursor-mode 1) It works fine, but there are some major modes where I would like to disable it automatically. For example slime-repl and…
chrm
  • 1,258
  • 1
  • 11
  • 16
25
votes
6 answers

(Emacs) Text is read only?

So I was working in emacs and the suddenly, the slime-repl sbcl says text is read only. Well that's great because now I can't type anything into it. How do I fix?
Fderal
  • 457
  • 1
  • 6
  • 11
22
votes
3 answers

How to Reload files upon save when using swank+leiningen+emacs

I'm looking to set up slime+lein-swank to reload source files referenced from the repl when i save the file. currently i do this: edit file save file switch to repl (use :reload-all 'com.package.namespace) test stuff I want to not have to remember…
Arthur Ulfeldt
  • 90,827
  • 27
  • 201
  • 284
21
votes
5 answers

What does #+#. mean in lisp?

It is almost impossible to google, hence my understanding is limited to contextual clues from reading through the slime source code: perhaps it is part of the object system in common lisp? Something like 'self'? snippet: (cond…
Tim Hanson
  • 211
  • 2
  • 3
21
votes
1 answer

How can I stop a running operation in the SLIME REPL?

Is there a way to stop a running operation in the SLIME REPL? The Clojure SLIME folks apparently have some way to do this, so how about in ordinary Common Lisp? Thanks /Erik
Erik Öjebo
  • 10,821
  • 4
  • 54
  • 75
20
votes
2 answers

What are efficient ways to debug Common Lisp in Emacs and SLIME?

I'm wondering what are some efficient ways to debug Common Lisp interactively using Emacs and SLIME. What I did before: As someone who learned C and Python using IDEs (VS and PyCharm), I am used to setting break points, adding watches, and do…
Jian Xu
  • 328
  • 2
  • 6
17
votes
8 answers

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.
Andrew Larned
  • 923
  • 2
  • 8
  • 19
14
votes
4 answers

What does the 'swank-clojure' do exactly, and do we have 'swank-SOMETHING_ELSE'?

My superficial understanding is that 'swank-clojure' makes 'M-x slime-connect' possible. I mean, it gives a connection to a clojure server something like 'lein swank'. Is my understanding correct? If not, what's the purpose of swank? Then, is there…
prosseek
  • 182,215
  • 215
  • 566
  • 871
14
votes
1 answer

Using clojure.contrib functions in slime REPL

I want to use the functions in the clojure.contrib.trace namespace in slime at the REPL. How can I get slime to load them automatically? A related question, how can I add a specific namespace into a running repl? On the clojure.contrib API it…
Limpoch
  • 273
  • 3
  • 6
14
votes
1 answer

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?
Arthur Ulfeldt
  • 90,827
  • 27
  • 201
  • 284
13
votes
3 answers

What's the closest thing to SLIME for python ? / What's the best way to use python from EMACS?

I'm trying to write some python, and I'm used to the lispy way of doing things, a REPL in EMACS and the ability to send arbitrary code snippets to the REPL. I like this way of developing code, and python's built-in IDLE seems to do it pretty well.…
John Lawrence Aspden
  • 17,124
  • 11
  • 67
  • 110
1
2 3
26 27