Back to Forum | View unanswered posts | View active topics
Topic review - cannot open singular on a running emacs |
Author |
Message |
|
|
Post subject: |
Re: cannot open singular on a running emacs |
|
|
Thanks. I copied that lisp code to ~/.emacs, changing singular-emacs-home-directory into /Applications/Singular.app/Contents/share/singular/emacs/ But still it doesn't work. I also copied /Applications/Singular.app/Contents/share/singular/emacs/.emcs-singular to the home directory, changed singular-emacs-home-directory into the above directory whereever it was mentioned and replaced it with .emacs as it is suggested in .emacs-singular. But they I get the error: "Warning (initialization): An error occurred while loading `/Users/Me/.emacs':
Symbol's value as variable is void: /Applications/Singular.app/Contents/share/singular/emacs"
here is the file .emacs:
;; Macaulay 2 start (load "~/.emacs-Macaulay2" t) ;; Macaulay 2 end
(setq M2-exe "/Applications/Macaulay2-1.6/bin/M2")
(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(frame-resize-pixelwise t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )
(setq load-path (cons "</Applications/Singular.app/Contents/share/singular/emacs/>" load-path)) (autoload 'singular "singular" "Start Singular using default values." t) (autoload 'singular-other "singular" "Ask for arguments and start Singular." t)
(load-file "~/.emacs-general")
Thanks. I copied that lisp code to ~/.emacs, changing singular-emacs-home-directory into /Applications/Singular.app/Contents/share/singular/emacs/ But still it doesn't work. I also copied /Applications/Singular.app/Contents/share/singular/emacs/.emcs-singular to the home directory, changed singular-emacs-home-directory into the above directory whereever it was mentioned and replaced it with .emacs as it is suggested in .emacs-singular. But they I get the error: "Warning (initialization): An error occurred while loading `/Users/Me/.emacs':
Symbol's value as variable is void: /Applications/Singular.app/Contents/share/singular/emacs"
here is the file .emacs:
;; Macaulay 2 start (load "~/.emacs-Macaulay2" t) ;; Macaulay 2 end
(setq M2-exe "/Applications/Macaulay2-1.6/bin/M2")
(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(frame-resize-pixelwise t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )
(setq load-path (cons "</Applications/Singular.app/Contents/share/singular/emacs/>" load-path)) (autoload 'singular "singular" "Start Singular using default values." t) (autoload 'singular-other "singular" "Ask for arguments and start Singular." t)
(load-file "~/.emacs-general")
|
|
|
|
Posted: Sat Feb 06, 2016 11:01 am |
|
|
|
|
|
Post subject: |
Re: cannot open singular on a running emacs |
|
|
You can put the following code in your .emacs Code: (setq load-path (cons "<singular-emacs-home-directory>" load-path)) (autoload 'singular "singular" "Start Singular using default values." t) (autoload 'singular-other "singular" "Ask for arguments and start Singular." t)
You can find more details here: http://www.singular.uni-kl.de/Manual/latest/sing_23.htm-- VInay
You can put the following code in your .emacs [code] (setq load-path (cons "<singular-emacs-home-directory>" load-path)) (autoload 'singular "singular" "Start Singular using default values." t) (autoload 'singular-other "singular" "Ask for arguments and start Singular." t) [/code]
You can find more details here: [url]http://www.singular.uni-kl.de/Manual/latest/sing_23.htm[/url]
-- VInay
|
|
|
|
Posted: Fri Feb 05, 2016 4:25 am |
|
|
|
|
|
Post subject: |
cannot open singular on a running emacs |
|
|
I am a newbies in Singular. I just downloaded Singular4-0-2_64.dmg, mounted the image, right-ckick, show the package contents, then moved the contents folder to the Applications directory. double-clicking Contents/MacOS/Singular (or Esingular) I have Singular running in a terminal (or via emacs in a terminal). But when I try M-x singular in a running emacs, it says "cannot open load file : no such file or directory, singular". Have I installed Singular properly? I appreciate your help.
Also I must mention that I am a user of emacs for Macaulay2. For that I have changed .emacs and .emacs-Macaulay2 in order to teach emacs where to look for M2. Is there anything similar to be done for Singular? Shall I have a file .emacs-singular somewhere?
Thanks for your help.
I am a newbies in Singular. I just downloaded Singular4-0-2_64.dmg, mounted the image, right-ckick, show the package contents, then moved the contents folder to the Applications directory. double-clicking Contents/MacOS/Singular (or Esingular) I have Singular running in a terminal (or via emacs in a terminal). But when I try M-x singular in a running emacs, it says "cannot open load file : no such file or directory, singular". Have I installed Singular properly? I appreciate your help.
Also I must mention that I am a user of emacs for Macaulay2. For that I have changed .emacs and .emacs-Macaulay2 in order to teach emacs where to look for M2. Is there anything similar to be done for Singular? Shall I have a file .emacs-singular somewhere?
Thanks for your help.
|
|
|
|
Posted: Thu Feb 04, 2016 5:51 pm |
|
|
|
|
|
It is currently Fri May 13, 2022 10:56 am
|
|