Size: 1660
Comment:
|
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.
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.