Closed tmurph closed 6 years ago
It's probably worth mentioning that I don't have this problem in regular python SRC blocks. That tells me it's something to do with ob-ipython, but I can't figure out for the life of me what could be going on.
Crap, nvm, it was my config >.<. Resolved.
I'm on Mac OSX with Emacs 25.3.1. ob-ipython version 20171209.634 installed from MELPA. org-plus-contrib version 20171218 installed via package.el from the Org package archive. python.el version 0.25.2 installed from MELPA Stable.
I haven't gotten everything working from a bare minimum setup, so it's possible there's something in my config causing this problem. But I don't think that's what's going on, or at least I hope not.
Issue: With
global-eldoc-mode
on, I open an IPython SRC block to edit, and I type the parentheses for a function call. Emacs hangs until IC-g
a few times. It continues to hang on every character I type inside the parentheses. This goes away if I turn offglobal-eldoc-mode
. It comes back if I enableeldoc-mode
just in the SRC buffer.I traced the issue to the following spot in
python-shell-send-string-no-output
. Emacs gets into the while loop and never leaves. I’m pretty sureaccept-process-output
never returns, because when I follow along in edebug it never loops back around to checkpython-shell-output-filter-in-progress
.The
string
thatpython-shell-send-string
sends to the kernel process is the value ofpython-eldoc-setup-code
, which I have not customized from its default value (repeated here for convenience)FWIW, if I pop up the REPL buffer while editing the SRC block, I notice that the eldoc messages do appear over there after I hit
C-g
. I have no clue what this means, though.Uh … help?