【发布时间】:2017-05-10 14:33:56
【问题描述】:
我想在 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
在小缓冲区中。我应该在这里做些什么更好?
【问题讨论】:
-
通过
M-x package-list-packages RET安装sml-mode?