Commits

ncalexan committed 935422b

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

  • Participants
  • Parent commits 4166019
  • Tags sage-mode-0.5.4

Comments (0)

Files changed (5)

 == 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
 
 == Special Update/Build Instructions ==
 
-[[attachment:sage-mode-0.5.3.spkg]]
+[[attachment:sage-mode-0.5.4.spkg]]
 
-Use {{{sage -f sage-mode-0.5.3.spkg}}}.  The following installation instructions are suggested:
+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:
 
 ;; '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.
 

emacs/sage-mode.el

 
 ;;;_* SAGE major mode for editing SAGE library code
 
-(provide 'sage)
-
 ;;;###autoload
 (define-derived-mode
   sage-mode
 ;;;_* Setup imenu by default
 (when (featurep 'imenu)
   (add-hook 'sage-mode-hook 'imenu-add-menubar-index))
+
+(provide 'sage-mode)

emacs/sage-test.el

 ;; Author: Nicholas Alexander <ncalexan@pv109055.reshsg.uci.edu>
 ;; Keywords: sage test
 
+(require 'sage)
+(require 'sage-mode)
+
 ;; History of sage-test commands.
 ;;;###autoload
 (defvar sage-test-history nil)

emacs/sage-view.el

 
 ;;; Code:
 (require 'sage)
+(require 'sage-mode)
 
 (defvar sage-view-latex-head
   "\\documentclass{article}
 cat <<EOF
 
 
-A basic sage-mode install might include the following Emacs Lisp in your .emacs:"
+A basic install might include the following Emacs Lisp in your .emacs:
 
-
-(add-to-list 'load-path (expand-file-name "$SAGE_DATA/emacs"))
-(require 'python)
-(require '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")
 
 ;; 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)
+;; (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!
+
+
 EOF