Differences between revisions 4 and 5
Revision 4 as of 2016-09-21 07:17:07
Size: 1892
Editor: jsrn
Comment: sage-mode doesn't work on Sage 7.4
Revision 5 as of 2017-01-07 18:36:50
Size: 1892
Editor: charpent
Comment: inline plots, typeset output and blocks added to sage_shell_mode in Dec, '16.
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
|| AUCTeX integration || no           || yes || || AUCTeX integration || customizable || yes ||
Line 22: Line 22:
|| Inline plots || no || yes ||
|| Typeset output || no || yes ||
|| "blocks" ||                         || yes ||
|| Inline plots || yes || yes ||
|| Typeset output || yes || yes ||
|| "blocks" || yes || yes ||

There are two dedicated Emacs modes for Sage: sage-shell-mode and sage-mode.

Note that sage-mode runs only on Sage 7.3 or earlier: Sage 7.4 started shipping IPython 5.0 which completely changes how Emacs can interact with IPython.

The two Emacs modes are otherwise quite compatible (otherwise this is a bug), and possibly you can even use both together.

In the feature table below ?? means probably, and blank means probably not.

sage-shell-mode

sage-mode

Installation

MELPA

spkg

Sage Version

any

7.3 or earlier

Completion

auto-complete

pcomplete

Helm integration

yes

no

Cleaner codebase

yes

no

Other interpreters

some support

no

Cython mode

yes

flymake integration

flymake-python-pyflakes

yes

flycheck integration

yes

AUCTeX integration

customizable

yes

Doctesting helps

yes

Building help

yes

Inline plots

yes

yes

Typeset output

yes

yes

"blocks"

yes

yes

eldoc-mode

yes

Compatibility

any

new/old python.el

SageModeComparison (last edited 2017-01-07 18:36:50 by charpent)