Skip to main content

Questions tagged [inferior-python-mode]

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Unable to bind `C-k` in comint / inferior-python mode

I want to use C-k to go to previous input when using the Python REPL. I'm using doom emacs. I have this in bindings/+python.el: (map! :after python :map inferior-python-mode-map "C-j" :i #...
tsorn's user avatar
  • 151
0 votes
1 answer
95 views

No output in Python inferior buffer after C-c C-c

OS: Windows 11 (64 bit) Python version: 3.12.0 (64 bit) Emacs version: 29.1 I use LSP mode in Emacs for Python programming and I have in my Emacs init.el file the following: (custom-set-variables ...
user17911's user avatar
  • 143
1 vote
0 answers
49 views

How to get `comint` modes work with long lines?

When I paste a long (not that long) line in inferior-python-mode, the buffer sucks. For example, "[{\"inputs\":[{\"internalType\":\"contract I_StarkwareContract\",\&...
Saddle Point's user avatar
0 votes
2 answers
79 views

Auto completion popup opens with zero character match in Inferior Python mode (comint repl)

When I enter an IPython repl via python-start-or-switch-repl, I get annoying auto completion behavior where the completions popup opens with zero characters entered. If I type one character and erase ...
degen872's user avatar
1 vote
1 answer
118 views

Fold code between parentheses and brackets in python mode + hideshow

I'm working on a plotly dash app where there are a number of nested blocks of code like the following: dbc.Row( [ dbc.Col( [ <some long code> ...
 user25482's user avatar
0 votes
1 answer
87 views

Prevent completion of the empty string

I would like to prevent completions to the empty string in python and in inferior-python-mode. To explain a bit better - when the prompt or the string is empty, there are no completions proposed. When ...
guibor's user avatar
  • 133
3 votes
1 answer
328 views

python-shell-completion-complete-or-indent (Tab, in an inferior python mode shell) completes "__PYTHON_EL_eval_file"

On Emacs 29, Python 3.11.3, IPython 8.13.2 A strange behavior seems to have recently started. When opening a python shell with run-python and then python-shell-send-buffer or python-shell-send-file ...
Metropolis's user avatar