Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!bbn!jr@bbn.com From: jr@bbn.com (John Robinson) Newsgroups: comp.emacs Subject: Re: Major mode for editing and running (Standard) ML. (Code incl.) Summary: What's SML? re: C-J. Message-ID: <33594@bbn.COM> Date: 16 Dec 88 15:02:47 GMT References: <1355@ksuvax1.cis.ksu.edu> Sender: news@bbn.COM Reply-To: jr@bbn.com (John Robinson) Organization: BBN Systems and Technologies Corporation, Cambridge MA Lines: 23 In-reply-to: lbn@ksuvax1.cis.ksu.edu (Lars Bo Nielsen) In article <1355@ksuvax1.cis.ksu.edu>, lbn@ksuvax1 (Lars Bo Nielsen) writes: >Here is my Christmas Present for emacs and (Standard) ML users. A >major mode for editing and running (Standard) ML. Could someone kindly explain what ML is? Is it mock-lisp, or MAC-lisp, or muddle, or something un-lisp? (Yeah, too lazy to read all the code and understand the language :-) Also, a nit: >;; C-RET (reindent-then-newline-and-indent). This is probably the >;; function you will be using the most (press CTRL while you press >;; Return). > ... > (define-key sml-mode-map "\C-j" 'reindent-then-newline-and-indent) I expect that many many terminals do NOT generate ^J when you hold Control and type Return. This should also talk about typing either Control-J or "Linefeed" if that is present as a separate key. -- /jr jr@bbn.com or bbn!jr