Questions tagged [slime]
The Superior Lisp Interaction Mode for Emacs.
61 questions
0
votes
1
answer
15
views
Problem installing slime
Installed SBCL, Emacs and quicklisp. Wrote .emacs and stored it in my home folder.
M-x slime gives response: "no match".
checked that the file is really there. Contents:
(load (expand-file-...
2
votes
1
answer
137
views
getting macro calls to indent correctly (like defun instead of functions) in common lisp code?
I'm editing a Common lisp (not elisp) source file; bottom right says (Lisp adoc [COMMON-LISP-USER sbcl]). I'm using slime, so I'm pretty sure that's what the adoc means.
I have the following in a ...
1
vote
0
answers
102
views
How to Troubleshoot Emacs?
These two questions 1 2 provide some tools to profile and debug emacs. But it doesn't explain exactly how to use those tools to figure out a problem with emacs.
Once you have the profiling reports, ...
1
vote
2
answers
525
views
How to install common lisp with emacs and SLIME when the slime-helper.el is not automatically generated?
I want to get started with Common Lisp and I follow this guide to install it on my arch linux machine. However, this call fails:
(load (expand-file-name "~/.quicklisp/slime-helper.el"))
......
0
votes
1
answer
105
views
Decide which window the slime buffer opens in?
I usually have emacs open in 4 sections
code
slime
code
terminal
When I am setting up, and i open slime with M-x Slime, it opens up in one of the other buffers.
Question -- How do I control which ...
0
votes
1
answer
118
views
Emacs + Slime + slime-fuzzy-completions-mode: Emacs opens completions buffer and switches to that buffer... How to prevent this?
In a Common Lisp REPL buffer using Slime, I am using slime-fuzzy-completions-mode to complete symbols when pressing . Upon doing so, Emacs opens a new buffer (in same frame) and presents possible ...
0
votes
0
answers
120
views
Display function signature in completion popup menu instead of status line with SLIME/SLY in Emacs
What the title says. I'd like the function signature for functions in Common Lisp to display next to the function name in the company-mode autocomplete popup menu instead of at the bottom of the ...
1
vote
1
answer
463
views
Executing mit-scheme blocks in org-mode
Using doom emacs
in my packages.el:
(package! slime)
(package! geiser)
(package! geiser-mit)
(package! scheme)
in my config.el:
(setq geiser-active-implementations '(mit))
(org-babel-do-load-...
1
vote
0
answers
214
views
How to change this slime configuration on the init file from the classic imperative installation to a declarative approach via use-package?
When I first installed Slime, I used to install things via the classic M-x and package-install. Then, I inserted the following configuration:
(slime-setup '(slime-fancy slime-asdf slime-indentation ...
4
votes
1
answer
1k
views
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
...
0
votes
1
answer
93
views
How can I configure Slime to use case sensitive symbols?
In emacs lisp variables are not case sensitive, so if I define a variable x, I can access it using X, but I can modify the elisp behavior by (setq readtable-case :preserve), is there something similar ...
0
votes
1
answer
64
views
Why having a system loaded makes any difference for indentation?
I am using Common Lisp, SBCL, Emacs, and Slime. During a code review, a co-worker mentioned that the indentation of an s-expression was wrong.
Usually, I just use indent-sexp(bounded to C-M-q) to fix ...
2
votes
0
answers
71
views
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 ...
1
vote
1
answer
427
views
How to disable the buffer with completion options after hiting `tab` in Slime's REPL?
I have been using company for tab completion. It has been great while editing files.
Unfortunately, when I am using a buffer with the SLIME's REPL something annoying happens. As I start typing some ...
1
vote
0
answers
91
views
Why is auto-complete using capitalized words? Is there a way to change the default of suggestions while in Slime's Buffer?
Recently, I have started using this emacs package: auto-complete. It works and I am enjoying it. I mainly use emacs to work in Common Lisp (SBCL) with Slime.
Unfortunately, the first suggestion that ...
0
votes
1
answer
161
views
In Magit, the command `magit-status` opens the buffer with the status buffer. Is there some similar command to do the same but with the Slime's REPL?
I am using Emacs powered with Slime to write code on Common Lisp (SBCL). In addition, I am also using magit.
Magit has a handy command called magit-status (C-x g). I use it a lot and I tend to have 2 ...
1
vote
1
answer
88
views
Why does Slime have the two commands `C-down` and `M-n`?
I am new to the Common Lisp universe. In order to code in Common Lisp, I have started using Emacs and Slime (among other stuff, such as ParEdit).
Emacs is another universe on its own. I realized that ...
0
votes
1
answer
151
views
Is there a way to automatically indent a parenthesis in Slime REPL after pressing `C-m o`?
I am using Slime, Paredit, and SBCL to code in Common Lisp. While editing a .lisp file, suppose I have this code:
(dotimes (i 4))
I will represent the cursor (point) as -!-. Having the cursor in this ...
0
votes
2
answers
122
views
How do I move the cursor to be just after the `>` character on the beggining of REPL evaluation?
I am using Emacs and Slime to work on Common Lisp code and I would like to know the most efficient way to move the cursor to the beginning of the REPL> assessment.
For instance, modelling the ...
1
vote
1
answer
468
views
Why this "keybinding conflicts" message keeps appearing? How can I fix it?
After pressing M-x sly, I keep receiving this message:
[sly] SLIME detected in 'lisp-mode-hook', causes keybinding conflicts.
Remove it for this Emacs session?
The odd thing is that SLIME is not ...
0
votes
1
answer
278
views
`C-c C-c` compilation stopped working in SLIME but works if manually typed, how to fix it?
I am new to Emacs and Slime. I have been using both of them daily for the last 10 days. And it is amazing! I am impressed.
Today, I decided to install and try the package Paredit. Not sure if this is ...
1
vote
1
answer
177
views
Why is slime working in emacs but not in the minimal set-up?
I am quite new to Emacs. Hence, I have been using the minimal set-up version. However, slime seems to work only on the full version.
If I do on my Ubuntu 20.04 terminal the following:
emacs
And then, ...
1
vote
1
answer
132
views
slime-call-defun equivalent in sly?
Slime defines two commands: slime-call-defun and slime-eval-last-expression-in-repl which take the function name of where point is (or whatever) and copy it over to the REPL prompt and position point ...
1
vote
1
answer
530
views
Running slime in spacemacs
I just installed a fresh spacemacs, and I'm trying to get SLIME working, but for some reason the package won't remain installed.
After opening a new spacemacs
M-x package-install RET slime
This works ...
0
votes
1
answer
184
views
What does "Making browse-url-browser-function local to *eww* while let-bound!" mean?
I am using SLIME (which includes hyperspec.el). I wanted to view the HyperSpec using Emacs' EWW instead of the desktop web browser (e.g. Firefox, Chromium, etc.). To do this, I added an advice to set ...
0
votes
0
answers
205
views
How to start SLIME in a full window from the command line
I am looking for command-line solution for starting SLIME in a full window when starting Emacs. I need a command-line solution because I do not always want to start SLIME when starting Emacs (only ...
2
votes
0
answers
175
views
SLIME not starting properly on MacOS Emacs
Pretty new to Emacs && Lisp, trying to get started....
I'm trying to get SBCL working via SLIME in Emacs 27.1 (9.0). After following the instructions to add the MELPA repo to my .emacs and ...
0
votes
0
answers
126
views
Having switched to sbcl, slime asks for *inferior-lisp* confirmation during close
I was using clisp with Emacs-25.2 on Windows XP and Emacs-25.3 on Windows 7. Because sbcl has better trace support I switched to sbcl-1.4.14 on both Windows XP and 7. Both machines have slime-...
0
votes
0
answers
141
views
Return to original buffer after opening REPL
I've got this in my config.org , which is called by my init.el:
#+begin_src emacs-lisp
(defun bauf/execute-startup-block ()
(interactive)
(progn (org-babel-goto-named-src-block "startup")
...
2
votes
1
answer
581
views
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 ...
1
vote
1
answer
112
views
Unexpected indentation in backquoted list starting with comma function call
When I write a backquotedlist that starts with ,( emacs aligns the remaining items to the parenthesis and not to the comma; e.g.:
(defun kb-test1 ()
`(,(hello)
fdefef
,(fefesd)))
(...
1
vote
0
answers
127
views
Unbind SLIME's slime-edit-uses (M-_)
I installed undo-tree-mode into my emacs. It does have a lot of nifty features, one of them being undo-tree-redo (bound to M-_). It so useful that I put the following code inside my ~/.emacs.d/init.el:...
0
votes
1
answer
249
views
Error running timer using ac-slime
Using ac-slime I am getting the following errors:
Error running timer ‘ac-update-greedy’: (wrong-type-argument number-or-marker-p \.\.\.) [3 times]
Error running timer ‘ac-show-menu’: (wrong-type-...
1
vote
1
answer
5k
views
How to properly use emacs and slime to program in Common Lisp
I'm brand-spanking new to LISP. I'm trying to get started with it, and I installed Steel Bank Common Lisp as well as SLIME so I can program in emacs. As far as I know, Slime simply provides an ...
1
vote
1
answer
167
views
SLIME 2.20 obsolete
Why the status of SLIME 2.20 (Superior Lisp Interaction Mode for Emacs) is taged as obsolete in emacs melpa considering it actually is the newest version of SLIME right now (2017/11/20).
1
vote
1
answer
225
views
Load elisp file only when file with specific extension is opened
I've been using SLIME mode with the quicklisp slime helper, and I load the package with the following code (in my .emacs):
(load (expand-file-name slime-helper-path))
(setq inferior-lisp-program "...
1
vote
1
answer
362
views
Best way to implement dynamic highlighting
I am working on a minor mode that will use Slime to highlight defined symbols when editing Lisp code. The code is here. It is based on the code for Highlight-Defined which registers a matcher function ...
0
votes
1
answer
456
views
Does slime-repl-ansi-color work at all these days?
I was unable to make it display ansi colorized output in Lisp REPL despite this project claims.
https://github.com/deadtrickster/slime-repl-ansi-color
The code seemingly doesn't do anything except ...
6
votes
2
answers
2k
views
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 ...
0
votes
1
answer
272
views
Slime inspector customization (Common Lisp development)
Here follows Common Lisp code, using a datastore library named bknr.datastore
(ql:quickload :bknr.datastore)
(defclass userdata (bknr.datastore:store-object)
((email :initarg :email
:index-...
2
votes
2
answers
753
views
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 ...
0
votes
3
answers
1k
views
How to force the window splitting direction when starting slime?
When I use emacs in a separate Window (under X), if I start slime the window is split horizontally if the window's width is smaller than its height, and vertically otherwise. Is it possible to force ...
1
vote
1
answer
986
views
eval-buffer: Symbol's value as variable is void
I am trying to run Emacs with slime and clisp on windows. Currently I am setting up my init-file so that I can run SLIME.
(setq inferior-lisp-program “home/gage/bin/clisp/full/lisp.exe
-B home/gage/...
2
votes
1
answer
1k
views
Is it possible to open file then load slime automatically?
So I start up emacs open foo.lisp then I would start slime and the window splits nicely. Except I don't want to start slime manually.
So is it possible to switch to or startup slime when I open an ...
4
votes
1
answer
2k
views
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-...
1
vote
1
answer
496
views
Looking for a better theme fix in Slime
I was trying to fix the annoying red output in slime. It's OK on light backgrounds but on the dark backgrounds it gets on my nerves.
Some themes fix it. Quick experiment with aurora-theme reveals ...
0
votes
0
answers
282
views
Slime fuzzy completion not working correctly in TTY mode
I have Slime configured with fuzzy completion and it works perfectly when I'm using it in X11 mode (M-TAB, list of completions pops up in a separate buffer, C-n/p allows to choose the right completion,...
4
votes
2
answers
1k
views
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 ...
2
votes
1
answer
311
views
Make SLIME aware of file extensions other than ".lisp"
I'm a happy user of Emacs and SLIME.
It looks like SLIME is aware of only files with the extension ".lisp" and not others such as ".cl" or ".asd"
How can I make SLIME aware of and work with ...
2
votes
1
answer
273
views
symbol's function definition is void: slime-face-inheritance-possible-p
When I try to start Emacs I get the following warning:
symbol's function definition is void: slime-face-inheritance-possible-p
This happens most of the time, only sometimes it seems to work. If I ...