Differences between revisions 19 and 24 (spanning 5 versions)
Revision 19 as of 2009-02-01 02:35:21
Size: 1492
Comment:
Revision 24 as of 2009-03-13 17:37:08
Size: 4601
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from days4/projects/emacs
= sage-mode for GNU Emacs =
= sage-mode =
Line 4: Line 3:
{{{sage-mode}}} depends on GNU Emacs (22?) and its {{{python-mode}}}. == Description ==
Line 6: Line 5:
Contact Nick Alexander on {{{sage-devel}}} to request features, report bugs, and submit patches. (Especially submit patches!) sage-mode provides Emacs Lisp that helps you use Sage in GNU Emacs.
Line 8: Line 7:
== Current version == '''Warning!''' This is alpha code. This might fail horribly and is not (yet)
easily customizable!
Line 10: Line 10:
'''Warning!''' This is alpha code. This might fail horribly and is not (yet) easily customizable. == License ==
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 Thierry. Copyright (C) 2007, 2008, 2009 Nick Alexander
Line 14: Line 14:
[[attachment:sage-mode-0.5.spkg]] Author: Nick Alexander <ncalexander [at] gmail.com>
Line 16: Line 16:
Use {{{sage -f sage-mode-0.5.spkg}}}. The following installation instructions are suggested: sage-mode is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

sage-mode is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with sage-mode; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

== SPKG Maintainers ==

 * Nick Alexander

== Upstream Contact ==

 * Author: Nick Alexander <ncalexander [at] gmail.com>

== Dependencies ==

 * sage
 * GNU Emacs (with a current python.el)

== Special Update/Build Instructions ==

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

Use {{{sage -f sage-mode-0.5.4.spkg}}}. The following installation instructions are suggested:

A basic install might include the following Emacs Lisp in your .emacs:
Line 19: Line 53:
(add-to-list 'load-path (expand-file-name "$SAGE_DATA/emacs"))
(require 'py
thon)
(r
equire 'pyrex "pyrex-mode")
(require 'sage "sage-mode")
(setq sage-command "$SAGE_ROOT/sage")
(add-to-list 'load-path (expand-file-name "path-to-sage-mode-el-files"))
(require 'sage "sage")
(setq sage-command "/path/to/sage")
Line 27: Line 59:
;; (add-hook 'inferior-sage-mode-hook 'sage-view) ;; (require 'sage-view "sage-view")
;; (add-hook 'sage-startup-hook 'sage-view)
;; You can use commands like
;; (add-hook 'sage-startup-hook 'sage-view
;; 'sage-view-disable-inline-output 'sage-view-disable-inline-plots)
;; to have some combination of features. In future, the customize interface
;; will make this simpler... hint, hint!
Line 30: Line 68:
== Changelog ==

=== sage-mode-0.5.4 (Nick Alexander, 2009-03-13) ===
* Fixed errors in `sage-build' and `sage-test' autoloads; made sage-mode.el
provide 'sage-mode.

=== sage-mode-0.5.3 (Nick Alexander, 2009-03-12) ===
* Updated `sage-view' to new version.

* Completely reworked keymaps and added preliminary menus.

* Completely reworked customize interface and added autoload interface
through `sage.el' and autogenerated `sage-load.el'.

* Added some documentation and additional customization options.

=== sage-mode-0.5.2 (Nick Alexander, 2009-02-19) ===
* Made individual parts of `sage-view' toggleable, fixed bugs with plots and
multiple outputs.

=== sage-mode-0.5.1 (Nick Alexander, 2009-02-11) ===
* Added `sage-startup-hook' and made `sage-view' actually usable.

=== sage-mode-0.5 (Nick Alexander, 2009-01-31) ===
* Incorporated Matthias Meulien's sage-view.el. To enable, try sage-view or
  (add-hook 'inferior-sage-mode-hook 'sage-view).

* Added sage-rerun to restart sage and made C-u C-c C-b (sage-build with a
  prefix argument) build and restart sage.

=== sage-mode-0.4 (Nick Alexander, 2008-06-16) ===
I honestly can't remember.

=== sage-mode-0.3 (Nick Alexander, 2008-06-15) ===
Add sage-build command. Make sage-default-test-* more robust, and add
`sage-send-all-doctest-lines-in-file'.

* sage-build.el: new module for building (sage-build) and running
(sage-build with prefix argument) sage.

* sage-test.el (sage-send-all-doctest-lines): new function. Runs all
sage: doctest lines in a file in sequence. Use with pdb to reproduce
errors found only after sage -t.

* sage-test.el (sage-default-test-command,
sage-default-test-new-command): cleaned up to use sage-build.

=== sage-mode-0.2 (Nick Alexander, 2008-06-14) ===
First alpha version, for Mike Hansen to use and test.

=== sage-mode-0.1 (Nick Alexander) ===
First internal version.
Line 31: Line 122:

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

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

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

sage-mode

Description

sage-mode provides Emacs Lisp that helps you use Sage in GNU Emacs.

Warning! This is alpha code. This might fail horribly and is not (yet) easily customizable!

License

Copyright (C) 2007, 2008, 2009 Nick Alexander

Author: Nick Alexander <ncalexander [at] gmail.com>

sage-mode is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

sage-mode is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with sage-mode; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

SPKG Maintainers

  • Nick Alexander

Upstream Contact

  • Author: Nick Alexander <ncalexander [at] gmail.com>

Dependencies

  • sage
  • GNU Emacs (with a current python.el)

Special Update/Build Instructions

sage-mode-0.5.4.spkg

Use sage -f sage-mode-0.5.4.spkg. The following installation instructions are suggested:

A basic install might include the following Emacs Lisp in your .emacs:

(add-to-list 'load-path (expand-file-name "path-to-sage-mode-el-files"))
(require 'sage "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)
;; You can use commands like
;; (add-hook 'sage-startup-hook 'sage-view
;; 'sage-view-disable-inline-output 'sage-view-disable-inline-plots)
;; to have some combination of features.  In future, the customize interface
;; will make this simpler... hint, hint!

Changelog

sage-mode-0.5.4 (Nick Alexander, 2009-03-13)

* Fixed errors in sage-build' and sage-test' autoloads; made sage-mode.el provide 'sage-mode.

sage-mode-0.5.3 (Nick Alexander, 2009-03-12)

* Updated `sage-view' to new version.

* Completely reworked keymaps and added preliminary menus.

* Completely reworked customize interface and added autoload interface through sage.el' and autogenerated sage-load.el'.

* Added some documentation and additional customization options.

sage-mode-0.5.2 (Nick Alexander, 2009-02-19)

* Made individual parts of `sage-view' toggleable, fixed bugs with plots and multiple outputs.

sage-mode-0.5.1 (Nick Alexander, 2009-02-11)

* Added sage-startup-hook' and made sage-view' actually usable.

sage-mode-0.5 (Nick Alexander, 2009-01-31)

* Incorporated Matthias Meulien's sage-view.el. To enable, try sage-view or

  • (add-hook 'inferior-sage-mode-hook 'sage-view).

* Added sage-rerun to restart sage and made C-u C-c C-b (sage-build with a

  • prefix argument) build and restart sage.

sage-mode-0.4 (Nick Alexander, 2008-06-16)

I honestly can't remember.

sage-mode-0.3 (Nick Alexander, 2008-06-15)

Add sage-build command. Make sage-default-test-* more robust, and add `sage-send-all-doctest-lines-in-file'.

* sage-build.el: new module for building (sage-build) and running (sage-build with prefix argument) sage.

* sage-test.el (sage-send-all-doctest-lines): new function. Runs all sage: doctest lines in a file in sequence. Use with pdb to reproduce errors found only after sage -t.

* sage-test.el (sage-default-test-command, sage-default-test-new-command): cleaned up to use sage-build.

sage-mode-0.2 (Nick Alexander, 2008-06-14)

First alpha version, for Mike Hansen to use and test.

sage-mode-0.1 (Nick Alexander)

First internal version.

Old versions

sage-mode-0.5.2.spkg

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)