]> code.delx.au - gnu-emacs-elpa/blob - TODO
(sml-mode-menu): Fix typo. Use std names.
[gnu-emacs-elpa] / TODO
1
2 * improve M-C-f and M-C-b (they too often don't do the right thing) and
3 add M-C-k and other such sexp-chunked operations.
4
5 * if indentation is non-obvious, return a list of possible indentations
6 and choose the first unless the current is one of the possible choices.
7
8 * make `M-x sml-compile' more generic.
9
10 * allow specifying indentation of dependent keywords (how to indent `in'
11 relative to `let', for example).
12
13 * use symbols instead of strings for `sym'.
14
15 * ignore warnings in C-x ` ????
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])))