0
我想在Fedora上的emacs中使用sml-mode。我~/.emacs
文件包含run-sml在emacs中不起作用sml-mode
(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? – Stefan