Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sage-view not working in emacs

I'm trying to use sage-view in emacs with sage-mode.

My emacs configuration for Sage is as follows:

(setq sage-dir "~/Programming/Sage/sage-5.0.1")
(add-to-list 'load-path (expand-file-name (concat sage-dir "/data/emacs")))
(require 'sage "sage")
(setq sage-command (concat sage-dir "/sage"))

(require 'sage-view "sage-view")
(add-hook 'sage-startup-hook 'sage-view
    'sage-view-enable-inline-output 'sage-view-enable-inline-plots)

But when emacs starts up, sage-view is not started. I have to manually start it with M-x sage-view.