我想在 Fedora 上的 emacs 中使用 sml-mode。我的~/.emacs
文件包含
(add-to-list 'load-path "/home/gbuday/prooftheory/sml-mode")
(autoload 'sml-mode "sml-mode" "Major mode for editing SML." t)
(autoload 'run-sml "sml-proc" "Run an inferior SML process." t)
该目录包含 git 克隆的 sml 模式文件。
我编辑sml-mode.el
有
(defcustom sml-program-name "/home/gbuday/prooftheory/polyml/bin/poly"
"Program to run as Standard SML read-eval-print loop."
:type 'string)
这确实启动了 PolyML,我想使用的版本。
当我键入M-x run-sml
运行劣质 SML 读取评估打印循环时,我得到
Cannot open load file: sml-proc
在小缓冲区中。我应该在这里做些什么更好?