Differences between revisions 20 and 22 (spanning 2 versions)
Revision 20 as of 2009-02-01 02:36:42
Size: 1491
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 adds Matthias Meulien's sage-view.el and adds sage-rerun, and C-u sage-build, as requested by Nicolas Thiery. 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.spkg]] [[attachment:sage-mode-0.5.2.spkg]]
Line 16: Line 16:
Use {{{sage -f sage-mode-0.5.spkg}}}. The following installation instructions are suggested: Use {{{sage -f sage-mode.spkg}}}. The following installation instructions are suggested:
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 27: Line 27:
;; (add-hook 'inferior-sage-mode-hook '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.
Line 31: Line 36:

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

[[attachment:sage-mode-0.5.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)