Questions tagged [repl]
51 questions
19
votes
4 answers
Your ‘python-shell-interpreter’ doesn’t seem to support readline
I've got this problem with my 25.1 and Python 3.5 on Ubuntu 16.10, but I don't see it being solved anywhere. Wondering what the latest status was. Reproducing:
> emacs -Q --eval '(setq python-shell-interpreter "python3")'
then
M-x run-python…

147pm
- 2,907
- 1
- 18
- 39
11
votes
3 answers
Emacs EIN vs IPython shell
I'm trying to make EIN work within Emacs, but right now (with IPython 2) it seems that it's not possible. This errors arise:
REQUEST [error] Error from parser ein:json-read: (json-readtable-error)
ein: [error] Error (parse-error) while opening…

El Diego Efe
- 1,601
- 1
- 19
- 24
9
votes
1 answer
Change syntax highlighting without changing major mode?
I want to start a python-shell M-x python-shell. If I'm not happy with the syntax highlighting, is it possible to improve it (put more colors in the buffer) without changing major mode? In vim this would be simple with set filetype=python.
The…

Joelmob
- 231
- 1
- 4
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
7
votes
1 answer
Inferior Lisp Mode vs Superior Lisp Mode
Can someone explain all the differences in the various lisp modes (inferior, superior, slime, cider)? Which came first? Which are extra packages? What should one use?

Justin Thomas
- 245
- 1
- 8
6
votes
3 answers
Edebug REPL / IELM
I toggled edebug-defun on a function I'm studying.
Once the debugger kicks in, how can I fire a REPL with access to the symbols being debugged?
I know it's possible to evaluate commands with e in edebug-mode, but that's on the minibuffer and not as…

Daniel
- 3,563
- 16
- 41
5
votes
0 answers
How to make racket the default implementation for geiser mode
The geiser documentation suggests that setting geiser-default-implementation is one way to prevent run-geiser from prompting for a scheme implementation. Another approach suggested by the geiser docs is to set the geiser-implementations-alist to the…

BPS
- 193
- 4
5
votes
1 answer
cider-jack-in: Symbol's function definition is void: clojure-project-dir
When I run cider-jack-in the following error appears. Symbol's function definition is void: clojure-project-dir I am very new to Emacs and this is totally stumping me. Let me know if you need more information and I will provide.

Jason Basanese
- 215
- 2
- 7
5
votes
1 answer
How do I protect command output in eshell and REPL buffers?
Since command outputs are easily mutable, I have to be careful when I work with eshell and REPL buffers.
Is there a way to protect them?
user8780
4
votes
1 answer
No native completion with python3 in Emacs 25.2
On Emacs 25.2 and Python 3.5 on an Centos-like Oracle Linux I have the issue that invoking a python shell gives me no completion. To reproduce, start
$ emacs -Q --eval '(setq python-shell-interpreter "python3")'
then execute
M-x run-python
This…

halloleo
- 1,215
- 9
- 23
4
votes
1 answer
Is it possible on Cider to eval on a repl and print as a comment every evaluation on a buffer?
If I want to demonstrate something, is it possible that I can run a command on cider and it prints after each line the result of evaluating that line ?
(def xx {:a "a" :b "b"})
(:a xx)
(:c xx [])
And, after running (something similar to):
(def xx…

Rodrigo Flores
- 275
- 1
- 7
4
votes
1 answer
Haskell Interactive Mode Setup - cabal unrecognised command: repl
I'm trying to set up haskell-mode following this instructions
[0] https://github.com/haskell/haskell-mode/wiki/Haskell-Interactive-Mode-Setup
[1] http://tim.dysinger.net/posts/2014-02-18-haskell-with-emacs.html
but when I try to bring the REPL in a…

Nicolas
- 41
- 1
- 3
4
votes
1 answer
Indentation in REPLs
I can't seem to get indentation working properly in the REPLs I've used so far (IELM, MIT-Scheme, and Python).
Suppose I type the following and RET:
ELISP> (defun something ()
_
My cursor ends up at the underscore, and pressing TAB doesn't seem to…

whacka
- 383
- 1
- 6
3
votes
2 answers
ModuleNotFound for absolute imports in Emac's Python Repl
For some reason, emacs does not seem capable of evaluating absolute imports for any python project I run. Here is my project layout:
├── loxy
│ ├── errors.py
│ ├── __init__.py
│ ├── loxy.py
│ ├── scanner.py
│ ├── token_.py
│ └──…

zaile
- 443
- 2
- 14
3
votes
2 answers
Displaying a second buffer with a shell?
I would like to have a text buffer for writing to a file on the left side and a shell (zsh) on the right side for interacting with a REPL. Is that possible?
At the moment I realize that with tmux showing emacs in the left pane. But I wonder how this…

Raffael
- 215
- 2
- 6