Reputation: 47
I have installed sml-mode in emacs 24. I want to compile the code directly in emacs with Poly/ML how do I do that? I have installed Poly/ML and then typed sml-poly-ml in order to start the interpreter but i says no match. I tested both on windows and ubuntu. What to do?
UPDATED: I´m wounder if some of this:https://groups.google.com/forum/#!msg/comp.emacs/jlOX_aP6j40/afuuUlVemWUJ or http://www.cs.cmu.edu/~fp/courses/98-linear/lib/emacs/sml-poly-ml.el will work? I´m be trying to reading but don´´t fully understand. I think i should put (autoload 'sml-poly-ml "sml-poly-ml" "Set up and run Poly/ML." t) in .emacs.d? What is emacs lisp files? I seems to need sml-poly-ml.el and don´t know if that is included in sml-mode as standard? Then I´m stuck...
Upvotes: 1
Views: 710
Reputation:
I have never worked with Poly/ML, however I have done some programming in SML/NJ using sml-mode
my answer is based on this limited experience.
You can use C-c C-s
or do M-x run-sml RET
to start sml
interpreter, sml-compile
is bound to C-c C-c
.
BTW a much better way of finding out mode specific keybindings is to do C-h m
or M-x describe-mode RET
.
Upvotes: 2