]> code.delx.au - gnu-emacs-elpa/blob - packages/sml-mode/TODO
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / sml-mode / TODO
1 * file-name completion in sml-cm-mode.
2
3 * Don't always jump to the *sml* buffer when you send a snippet of code.
4
5 * Fix inferior-sml-mode's TAB completion of filenames so it doesn't append
6 a space.
7
8 * Improve support for MLton's def-use info (see http://mlton.org/Emacs)
9
10 * Add an sml-mlb-mode for ML Basis files (see http://mlton.org/Emacs)
11
12 * make `M-x sml-compile' more generic.
13
14 * allow specifying indentation of dependent keywords (how to indent `in'
15 relative to `let', for example).
16
17 * recognize irrefutable patterns (with "Capital"-heuristics, for example:
18 a regexp like "\\([(),]\\|[_a-z][_a-z0-9]*\\)+").
19 This can then be used to allow indenting like
20
21 (fn x =>
22 some expressions)
23
24 * take advantage of text after-the-line (when available) for indentation.
25
26 * obey fixity directives.
27
28 * dangling `case e' in stuff like
29
30 fun myfunction x = case x
31 of bla =>
32 | bli =>
33
34 * deal with CPS kind of code ???
35
36 function1 (arg1, arg2, fn v1 =>
37 function2 (arg2, fn v2 =>
38 function3 (arg5, arg3, arg8, fn v3 =>
39 function4 (v1, v2, v3))))
40
41 or even just
42
43 F.LET (v1, foo,
44 F.LET (v2, bar,
45 F.LET (v3, baz,
46 F.RET [v1, v2, v3])))