我正在尝试在emacs中使用mit方案,但我无法解决这个问题。。。
问题是我不知道如何在.emacs文件的文件路径中添加空白到目前为止,我已经尝试过
(setq scheme-program-name
"/Applications/MIT:GNU Scheme.app/Contents/Resources/mit-scheme")
(require 'xscheme)
和
(setq scheme-program-name
"/Applications/MIT:GNU Scheme.app/Contents/Resources/mit-scheme")
(require 'xscheme)
但我得到的输出是
Can't exec program: /Applications/MIT:GNUScheme.app/Contents/Resources/mit-scheme
Can't exec program: /Applications/MIT:GNU
因为路径中缺少空白。。
由于scheme的调用方式,我认为使用现有函数是不可能的。函数run-scheme
包含对方案程序名称上的函数split-string-and-unquote
的显式调用。因此,到方案程序的路径将总是在第一个空间被分割。这意味着不可能使用有空间的路径
我认为这是一个应该向维护人员报告的错误。