Hello,
I've been trying to get Singular running in Emacs for quite a while now but I just can't seem to figure out how exactly it is supposed to work. I'm a lifelong Windows user, I have no experience with Linux and I am totally new to both cygwin and Emacs. So basically all I know is the information given on this website (plus some stuff I found on the internet).
I tried both methods described here and both don't seem to work for me.
1) Using ESingular
I use this command in cygwin and I tried around a lot with the option to account for the Error messages it gave me. I came up with the following line
ESingular --emacs=/cygdrive/c/Programme/Emacs/x86_64/bin/emacs.exe --emacs-load=c:/cygwin/usr/share/singular/emacs/.emacs-singular --emacs-dir=c:/cygwin/usr/share/singular/emacs/singular.el
Leaving out the one of the option will result in: 1) Emacs not found 2)&3) "No such file or directory" with either the .emacs-singular or singuler.el file.
The code above results in Emacs starting with the message
Quote:
Loading c:/cygwin/usr/share/singular/emacs/.emacs-singular...
Loading paren...done
Loading c:/cygwin/usr/share/singular/emacs/singular.el (source)...done
Loading c:/cygwin/usr/share/singular/emacs/.emacs-general...done
Loading c:/cygwin/usr/share/singular/emacs/.emacs-singular...done
apply: Spawning child process: Invalid argument
At this point I have no clue what this means and how to continue.
2) Adding code to the .emacs file and using M-x singular in Emacs
I tried to add the code
Code:
(setq load-path (cons "c:/cygwin/usr/share/singular/emacs/.emacs-singular" load-path))
(autoload 'singular "singular"
"Start Singular using default values." t)
(autoload 'singular-other "singular"
"Ask for arguments and start Singular." t)
as above and with directory c:/cygwin/usr/share/singular/emacs/ (and some other random choices I came up with because I don't know what I am doing). Both lead to the error
Quote:
Cannot open load file: No such file or directory, singular
What am I doing wrong? I would really love to get both methods to work - or at least one of them (preferably the second).
Thanks in advance!