sage-mode for GNU Emacs

sage-mode depends on GNU Emacs (22?) and its python-mode.

Contact Nick Alexander on sage-devel to request features, report bugs, and submit patches. (Especially submit patches!)

Current version

Warning! This is alpha code. This might fail horribly and is not (yet) easily customizable.

Version 0.5 adds Matthias Meulien's sage-view.el and adds sage-rerun, and C-u sage-build, as requested by Nicolas Thierry.

sage-mode-0.5.spkg

Use sage -f sage-mode-0.5.spkg. The following installation instructions are suggested:

(add-to-list 'load-path (expand-file-name "$SAGE_DATA/emacs"))
(require 'python)
(require 'pyrex "pyrex-mode")
(require 'sage "sage-mode")
(setq sage-command "$SAGE_ROOT/sage")

;; If you want sage-view to typeset all your output and have plot()
;; commands inline, uncomment the following line and configure sage-view:
;; (add-hook 'inferior-sage-mode-hook 'sage-view)

Old versions

sage-mode-0.4.spkg

Original version

This version was from Sage Days 4.

sage-mode.el pyrex-mode.el

The following files need to go into sage/misc.

sage_emacs.py xreload.py sagetest.py