-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with the Gnu port of emacs for Windows. #38
Comments
Thank you for detailed report. To use GNU port of Emacs with Sage on Cygwin, I think I have to modify |
Sorry for the late answer (I wasn't available the last two days). Here is my script :
I switched back to Cygwin's emacs, which can be started from Windows' command line by a similar script and can successfully use Sage. However, in this setup, the Notebook does not really work : Jupyter starts ; one can use Sage's Python in an notebook, but the Sage interpreter crashes and restarts immediately ==> no usable Sage notebook. So I think that having |
Thanks. I will try this with gnu port of Emacs. |
I have a trouble when trying to work |
What does work : using the cygwin port of emacs along with the cygwin version of sage.
What I tried :
sage -n jupyter
fails, for entirely different reasons...)sage_shell_mode
on emacs (works)sage_shell_mode
: this fails, because I cant't think of a way to tellsage_shell_mode
to start a shell script.I have been able to build a
cmd.exe
shell script that starts sage in cygwin (with any argument it needs), passes keyboard input to Sage and prints answers in the Windows console. Butsage_shell_mode
does not accept it, and asks me to setsage-shell-sage-root
andsage-shell:sage-executable
correctly.I suppose that this function wants an executable, not a script. I tried to pass
cmd.exe /c <my_path>\\sage.cmd
tosage-shell-sage-executable
, to no avail.Do you see a workaround for this ? I don't. And the previous solution essentially amounts to running the whole thing (Sage + Emacs + AUCTeX) on top of a Cygwin machine : not fun, and not efficient.
Icing on this unappetizing cake : I have to do that on a machine where I have no admin rights (dont ask : my administration has reasons unknown to Reason...;-). That's why I have to recompile Sage : the marvelous installer of Erik M. Bray needs admin rights.
Suggestions ?
The text was updated successfully, but these errors were encountered: