FWIW, I just submitted a pull request against sage-shell-mode to fix this 
issue (by reverting to readline and using --simple-prompt).

A better solution (manage CPR requests in emacs) is out of my abilities...

HTH

Le mardi 25 août 2020 à 10:20:57 UTC+2, Emmanuel Charpentier a écrit :

> Dear all,
>
> 9.2.beta8 introduced the use of IPython 7 in Sage, which broke 
> <https://groups.google.com/g/sage-release/c/spalYgXKr-4/m/khvt2dRMBwAJ> 
> the emacs interface sage-shell-mode 
> <https://github.com/sagemath/sage-shell-mode> ; I'm trying to fix 
> <http://github.com/sagemath/sage-shell-mode/ifixssues/53> it. 
>
> This needs to account for three versions of IPython
>
>    - "Antique" Sage : readline interface to IPython <5
>    - "Modern" Sage, up to 9.2.beta7 : pseudo-terminal to IPython 5
>    - "Newer" Sage, i. e. 9.2.beta9 and later :  readline, start sage with 
>    the --simple-prompt option introduced in 9.2.beta9.
>
> [ Note that 9.2.beta8 is a lost cause : it would need --simple-prompt, 
> but doesn't support it... ]
>
> This can be done at startup, but is slow. I'd like to offer the 
> possibility to configure that in init.el ; in order to offer useful 
> guidelines to the user, I need to know the precise limit between "Antique" 
> and "Modern" Sage. Hence my question :
>
> *What was the first version of Sage using IPython 5 ?*
>
> Thanks in advance, 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/37367e8c-c699-4482-be59-b46b2bf6258an%40googlegroups.com.

Reply via email to