Subject: bug#24189: 25.1.50; args-out-of-range in ansi-color-filter-apply

From: Kwang Moo Yi <[email-masked]>
Date: Fri, 2 Sep 2016 18:48:02 +0200

> With recent master emacs, I get an error under the following conditions:
>
> 0. Install ipython
> 1. emacs -Q
> 2. Eval in scratch buffer: (setq python-shell-interpreter "ipython")
> 3. C-x C-f foo.py
> 4. C-c C-p

It turns out this is due to the new terminal interface of ipython. You 
can fix the behavior by adding --simple-prompt to your 
python-shell-interpreter-args. (See 
https://emacs.stackexchange.com/questions/24453/weird-shell-output-when-using-ipython-5 
for details)

Cheers,
Kwang