> I know you have other things to do, but do you think you could write a
> quick-start guide to sage-mode?  

here are the very basics :

** install sage-mode as instructed, and modify your .emacs accordingly
(you didn't have any trouble there did you ?)

** go "alt-x run-sage" to start the thing. (Takes quite some time to
start, on my macbook.)

** some people (me, for example) also need to type in "alt-x sage-
view" to start the latex rendition of formulae. I also usually add,
whenever i'm going to plot something, "alt-x sage-view-disable-inline-
plots" so that my plots will appear in external windows. Apparently
that's just me ! but think of how much space the plots will take in an
emacs buffer.

** open a .sage file in emacs, and go "ctrl-c ctrl-c" whenever you
want to load the file into sage. Same with a .py i think. I forget
what happens with .spyx (i've only tried once out of curiosity).

** personally i add this to my .emacs :

(defun sage-attach-current-buffer ()
"attach current .sage file"
(interactive)
(process-send-string (get-buffer "*SAGE-main*")
                     (concat
                      "attach \""
                      (buffer-file-name (current-buffer))
                      "\"\n")))

this way i can go "alt-x sage-attach-current-buffer" and well, the
current buffer (which'd better be a .sage file) gets attached. It's
really cool : as soon as you save your file, the modifications are
taken into account. A typical quick sage session for me almost
invariably involves attaching a "foo.sage" (or temp.sage or
scratch.sage or...), keeping it in one buffer for long-ish function
definitions, and having sage itself in the buffer nex to it.

** that's about it!

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

Reply via email to