Hi Vasu,

On Thu, Jul 15, 2010 at 4:58 AM, vasu <tewari.v...@gmail.com> wrote:
> I am relatively new to this, so does anybody have a clue how to get
> the thing working!

Don't copy the code from the Sage mode page. Use the code that is
printed to your terminal after you have successfully installed
sage-mode. And make sure you know where your local Sage installation
is. For example, here is my local Sage installation:

[mv...@sage ~]$ /scratch/mvngu/usr/bin/sage/sage --version
| Sage Version 4.4.4, Release Date: 2010-06-23                       |

Here is my downloaded sage-mode:

[mv...@sage ~]$ ls sage-mode-0.6.spkg
sage-mode-0.6.spkg

Now install sage-mode:

[mv...@sage ~]$ /scratch/mvngu/usr/bin/sage/sage -f sage-mode-0.6.spkg
<SNIP>
A basic install might include the following Emacs Lisp in your .emacs:

(add-to-list 'load-path (expand-file-name
"/mnt/usb1/scratch/mvngu/usr/bin/sage/data/emacs"))
(require 'sage "sage")
(setq sage-command "/mnt/usb1/scratch/mvngu/usr/bin/sage/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!
<SNIP>

And I copy the above code to my .emacs file.

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to