Questions tagged [slime]

The Superior Lisp Interaction Mode for Emacs.

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

58 questions
15
votes
1 answer

How to use SLIME as a proxy between Common Lisp program and Emacs Lisp?

I'm looking into doing the following: I have a program written in Common Lisp, which I want to be able to communicate with Emacs. The program deals with natural language parsing, so the things I'd need to access in Emacs would be the contents of the…
wvxvw
  • 11,222
  • 2
  • 30
  • 55
8
votes
2 answers

How to integrate SLIME with MIT Scheme?

I know basics of Common Lisp. I've learned it using Emacs + SLIME, and I must say that without these two I wouldn't learn too much - using bare REPL is tough job. However, SLIME makes a great job at turning REPL into great environment for…
MatthewRock
  • 1,453
  • 13
  • 27
6
votes
2 answers

Why does Emacs indent my Lisp LOOP construct weirdly?

I'm using Emacs and SLIME to edit Lisp code. By default, Emacs indents my Lisp LOOP constructs like this: (loop for x across dna1 for y across dna2 count (not (eql x y))) But I expect it to line up subsequent lines with the first…
Gustav Bertram
  • 165
  • 1
  • 8
6
votes
1 answer

Firefox debugging repl in emacs?

It looks like firefox has a remote debugging protocol, https://wiki.mozilla.org/Remote_Debugging_Protocol Does anyone know of any tools that would allow emacs to make a connection and to allow debugging from within emacs? Maybe I should file a…
erjoalgo
  • 853
  • 1
  • 5
  • 18
6
votes
1 answer

writing emacs extensions in common lisp or other languages

Some years ago, I was working on a personal project that seemed to work best with Emacs as the user interface, and Common Lisp (SBCL) as the back-end. The accepted answer on How to use SLIME as a proxy between Common Lisp program and Emacs Lisp?…
Joe Corneli
  • 1,786
  • 1
  • 14
  • 27
4
votes
1 answer

emacs 28.1 unable to launch slime (cl is deprecated)

I installed emacs via brew: brew install emacs and got version 28.1 (my OS version is macOS 11.6.1). I immediately ran package-install + slime. When I run slime command I get: Package cl is deprecated When I run the command for 2nd time I get: Wrong…
user3056783
  • 141
  • 3
4
votes
1 answer

Creating permanent fixed buffer for CLHS lookup

Suppose I open one window with a Common Lisp file in it, and a second window with SLIME REPL in it (using M-x slime or whatever). Now, doing C-c C-d h with point on a Common Lisp keyword brings up a window with the CLHS entry for that keyword (using…
Faheem Mitha
  • 406
  • 4
  • 16
4
votes
0 answers

Handle a SLIME/Swank error in Elisp

Is it possible to handle a SLIME/Swank error in Emacs Lisp? For example, suppose I have a Lisp buffer with a syntax error in it. How can I do something like: (condition-case nil (slime-eval-buffer) (error (message "Slime error"))) To…
nanny
  • 5,704
  • 18
  • 38
4
votes
0 answers

Slime creates new window every time you interact with the debugger

While using slime+emacs, I'm having a problem when interacting with the debugger: every time that I choose one of the debugger's option, a new window pops up in Emacs. For example, when evaluating: (step (progn (print 1) (print 2) …
EuAndreh
  • 141
  • 2
3
votes
1 answer

Help Buffer on Hover Possible?

I'm looking for something similar to Eldoc mode (hover over a function and the parameter list appears in the minibuffer), only I'd like to have a help buffer appear, as if I had just run describe-function. Is there a minor mode that will do…
user2267
3
votes
2 answers

How to change Org-mode Babel lisp source code block from SLIME to SLY?

I found ob-lisp.el use SLIME by default to evaluate lisp code. I want to use SLY to evaluate lisp code. How to change it? I found the file ob-lisp.el is short. I tried to change slime to sly. But it is not customizable. I hope to define a defcustom…
stardiviner
  • 1,888
  • 26
  • 45
2
votes
0 answers

How to save a Slime Debugger buffer into a file, preserving all its data?

I am using Common Lisp, SBCL, Emacs, and Slime. Often, an error will happen while programming. When an error occurs, Slime opens a Debugger buffer. Sometimes, I would like to save this debugger buffer to a file so that other people could open and be…
Pedro Delfino
  • 1,369
  • 3
  • 13
2
votes
2 answers

Can't get a Node REPL with swank-js

I have followed the instructions on Github for setting up swank-js. I installed slime and slime-js from github and have the following in my .emacs file: (add-to-list 'load-path "~/slime/") (require 'slime-autoloads) (setq slime-contribs…
2
votes
1 answer

Electric pair mode's delete adjacent pairs functionality not working in Slime REPL

Part of Emacs's electric-pair-mode functionality (controlled by a variable called electric-pair-delete-adjacent-pairs) is that when the point is between an empty set of delimiters and you delete the opening one, it also deletes the closing one for…
Omar
  • 4,732
  • 1
  • 17
  • 32
2
votes
2 answers

Conditional key binding: Evil vs Slime conflict for "M-."

Slime (and elisp-slime-nav) uses M-. to navigate to the symbol at point, and M-, to pop back to previous marks. I like this. Evil uses . to repeat the previous editing command, C-. to replace a just repeated command with a previously executed…
ivan
  • 1,928
  • 10
  • 20
1
2 3 4