Closed simurgh9 closed 4 years ago
this configuration works well for me.
(use-package sage-shell-mode
:commands sage-shell:run-sage
:init
;; Turn on eldoc-mode in Sage terminal and in Sage source files
(add-hook 'sage-shell-mode-hook #'eldoc-mode)
(add-hook 'sage-shell:sage-mode-hook #'eldoc-mode)
(add-hook 'sage-shell-after-prompt-hook #'sage-shell-view-mode)
)
WorksForMe(TM).
Note that I use my fork, which handles the incompatibility introduced by IPython
upgrade in 9.2.beta8
. PR submitted, waiting for review.
Whenever I enable
sage-shell-view-mode
, sage can not process any inputs, e. g.,Interestingly, if I just toggle the inline plots by
sage-shell-view-toggle-inline-plots
then everything works fine butsage-shell-view-enable-inline-output
breaks sage the same way as shown above.Here is my
use-package
configurations for sage shell mode,Any help?