997
Comment: converted to 1.6 markup
|
1841
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
[[attachment:sage-mode-0.4.spkg]] | 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: |
Use {{{sage -f sage-mode-0.4.spkg}}}. The following installation instructions are suggested: | [[attachment:sage-mode-0.5.2.spkg]] Use {{{sage -f sage-mode.spkg}}}. The following installation instructions are suggested: |
Line 17: | 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 21: | Line 23: |
(setq sage-command "$SAGE_ROOT/sage") | (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. |
Line 23: | Line 34: |
== Old versions == [[attachment:sage-mode-0.5.1.spkg]] [[attachment:sage-mode-0.5.spkg]] [[attachment:sage-mode-0.4.spkg]] [[attachment:sage-mode-0.3.1.spkg]] [[attachment:sage-mode-0.3.spkg]] [[attachment:sage-mode-0.2.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.