Differences between revisions 21 and 22
Revision 21 as of 2009-02-11 18:39:14
Size: 1660
Comment:
Revision 22 as of 2009-02-19 21:13:49
Size: 1841
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Version 0.5.1 adds Matthias Meulien's sage-view.el and adds sage-rerun, and C-u sage-build, as requested by Nicolas Thiery. It fixes a small bug with binding in sage-view and now the install instructions are correct. 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.
Line 14: Line 14:
[[attachment:sage-mode-0.5.1.spkg]] [[attachment:sage-mode-0.5.2.spkg]]
Line 19: Line 19:
(add-to-list 'load-path (expand-file-name "$SAGE_DATA/emacs")) (add-to-list 'load-path (expand-file-name "path-to-sage-mode-el-files"))
Line 23: Line 23:
(setq sage-command "$SAGE_ROOT/sage") (setq sage-command "/path/to/sage")
Line 29: Line 29:
;; 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.
Line 32: Line 36:

[[attachment:sage-mode-0.5.1.spkg]]

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.

sage-mode-0.5.2.spkg

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

sage-mode-0.5.1.spkg

sage-mode-0.5.spkg

sage-mode-0.4.spkg

sage-mode-0.3.1.spkg

sage-mode-0.3.spkg

sage-mode-0.2.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

sage-mode (last edited 2016-09-21 07:23:56 by jsrn)