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.2 improves Matthias Meulien's sage-view.el and makes it easier to use parts of sage-view. It also improves multiple outputs/plots with sage-view.
Use sage -f sage-mode.spkg. The following installation instructions are suggested:
(add-to-list 'load-path (expand-file-name "path-to-sage-mode-el-files")) (require 'python) (require 'pyrex "pyrex-mode") (require 'sage "sage-mode") (setq sage-command "/path/to/sage") ;; If you want sage-view to typeset all your output and have plot() ;; commands inline, uncomment the following line and configure sage-view: ;; (require 'sage-view "sage-view") ;; (add-hook 'sage-startup-hook 'sage-view-always) ;; You can use commands like ;; (add-hook 'sage-startup-hook 'sage-view-always ;; 'sage-view-disable-inline-output 'sage-view-disable-inline-plots) ;; to have some combination of features.
Old versions
Original version
This version was from Sage Days 4.
The following files need to go into sage/misc.