On Tue, Apr 10, 2012 at 5:23 PM, Florent Hivert <florent.hiv...@lri.fr> wrote: > Hi, > >> I was playing around with sage-mode recently too, but I couldn't even >> get it to load. I did `sage -f sage-mode-0.7.spkg` and added the lines >> {{{ >> (add-to-list 'load-path (expand-file-name >> "/Users/jonesbe/sage/sage-4.8/data/emacs")) >> (require 'sage "sage") >> (setq sage-command "/Users/jonesbe/sage/sage-4.8/sage") >> }}} >> >> to my .emacs file, but when I load a python or sage script now, I get >> an error: "File error: Cannot open load file, sage-load". I don't see >> a sage-load.el file anywhere in the spkg. > > Where did you get the spkg ? I just downloaded the spkg from > <http://wiki.sagemath.org/sage-mode?action=AttachFile&do=view&target=sage-mode-0.7.spkg> > and the file is there: > > $ wget -q > 'http://wiki.sagemath.org/sage-mode?action=AttachFile&do=get&target=sage-mode-0.7.spkg' > -O sage-mode-0.7.spkg > $ tar tf sage-mode-0.7.spkg | grep sage-load > sage-mode-0.7/emacs/sage-load.el > > Cheers, > > Florent
I cloned the hg repo and produced an spkg from that directory. I see the problem now. I've got the correct spkg file now, and emacs doesn't complain on loading a .py file, but now I get another error after `M-x sage`: "Unknown button type `help-xref'" Thanks for the help, Florent. -- Benjamin Jones -- 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