1

In emacs, I use ipython in the inferior python mode with config:

(setq python-shell-interpreter "ipython"
    python-shell-interpreter-args "--simple-prompt -i")

When I edit my .py file, without any input to inferior python, the input number jumps occasionally.

Strange input number I suspect that I send some unintentional inputs to the inferior python. But, I don't know how. It happens quite randomly.

1 Answer 1

0

Completion and other features of the python mode require communication between emacs and the ipython process. This communication is achieved by sending code to the interactive ipython inferior shell. These are probably the "unintentional inputs" you are sending.

1
  • This messes up the %history magic in ipython quite a bit. Very annoying. Commented Aug 21 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.