Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2014-09-18 17:30:30
Size: 1381
Editor: iandrus
Comment:
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 1: Line 1:
There are two [[Emacs]] modes for Sage: [[sage-mode]] and
[[https://github.com/stakemori/sage-shell-mode|sage-shell-mode]]. Ideally
they should be largely key binding compatible (open bugs if not), and hopefully you can
even use both together. To my knowledge that hasn't been tested yet.
There are two dedicated [[Emacs]] modes for Sage: [[https://github.com/stakemori/sage-shell-mode|sage-shell-mode]] and [[https://bitbucket.org/gvol/sage-mode/src|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.
Line 8: Line 9:
|| || sage-mode || sage-shell-mode ||
|| Installation        || spkg || MELPA ||
|| Completion          || pcomplete || auto-complete ||
|| Helm integration || no || yes ||
|| Cleaner codebase ||                   || ?? ||
|| Other interpreters || no || ?? ||
|| Cython mode || yes || ||
|| flymake integration || yes || ||
|| AUCTeX integration || yes || ||
|| Doctesting helps || yes || ||
|| Building help || yes || ||
|| Inline plots || yes || ||
|| Typeset output || yes || ||
|| "blocks" || yes || ||
|| Compatibility || new/old python.el || ?? ||
|| || 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 ||

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)