In order to solve various probelms with eglot
and completions, I made sure that both python and pip are set respectively within emacs to ~/.pyenv/shims/ipython
and ~/.pyenv/shims/pip
, as they are in my terminal.
But now, I have another problem: whenever there is output in the shell, there is no newline after it (see below).
I tried advising comint-preoutput-filter and comint-output-filter but none of this helped.
However, the problem disappears if I (setq python-shell-interpreter "/opt/homebrew/bin/ipython")
instead of "~/.pyenv/shims/ipython"
.
I use -i
and --simple-prompt
as arguments in both cases of course.