저는 Emacs를 처음 사용하며 약간의 문제가 있습니다. Geiser를 사용하여 Emacs에서 racket
을 실행하려고합니다. geiser를 사용하여 라켓을 실행하는 방법 : 오류 발생 : 프로그램을 실행할 수 없음 : /Applications/Racketv6.0/DrRacket.app
(setq geiser-racket-binary "/Applications/Racket\ v6.0/DrRacket.app")
은 (I에 유래 질문에서이 나섭니다 : :.
Setting Racket Geiser Emacs Path)
내가 저장 라켓 코드를 컴파일하여 시작 racket
은 다음과 같다 어디 이맥스 말했다. 그러나 M-x 다음에 run-geiser
을 입력하면 Scheme 구현을 묻습니다. 이 시점에서 racket
을 입력하십시오. 이맥스는 이제 라켓 REPL 버퍼를 열고 그 버퍼에 오류 잎 :
Can't exec program: /Applications/Racketv6.0/DrRacket.app .
도움이된다면, 여기 내 .emacs
파일 : OS X xxx.app
에
(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.
'(geiser-repl-startup-time 20000)
'(package-archives (quote (("gnu" . "elpa gnu packages website") ("melpa" . "http://melpa.milkbox.net/#/"))))
'(package-directory-list (quote ("/Applications/Emacs.app/Contents/Resources/site-lisp/elpa")))
'(python-python-command "/usr/local/bin/python3"))
(setq geiser-racket-binary "/Applications/Racket\ v6.0/DrRacket.app")
(setq-default cursor-type 'bar)
(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.
'(default ((t (:inherit nil :stipple nil :background "controlDarkShadowColor" :foreground "Green" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "apple" :family "Monaco")))))
(require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
(package-initialize)
"/ Applications/Racket \ v6.0/DrRacket.app "와 실제 실행 파일 ??? "xxx"는 "/ Applications/Racket \ v6.0/DrRacket.app"또는이 하위 문자열 (또는 다른 것)을 의미합니까? 또한 "컨텐츠"와 "MacOS"는 말 그대로 뭔가 또는 자체를 말합니까 ?? 나는 내 혼란에 대해 사과하고 답변을 주셔서 감사합니다. 최소한해야 할 일을 이해하는 데 조금 더 가까워 졌다고 생각합니다. –
@ AnaN.Mouse, 업데이트 된 답변보기. – Lindydancer