]> code.delx.au - gnu-emacs-elpa/blob - NEWS
First cut at support for MLton
[gnu-emacs-elpa] / NEWS
1 Changes since 4.0:
2
3 * Simple support to parse errors and warnings in MLton's output.
4
5 * Simple support for MLton's def-use files.
6
7 Changes since 3.9.5:
8
9 * No need to add the dir to your load-path any more.
10 The sml-mode-startup.el file does it for you.
11
12 * Symbols like -> can be displayed as real arrows. See sml-font-lock-symbols.
13
14 * Fix some incompatibilities with the upcoming Emacs-21.4.
15
16 * Indentation rules improved. New customizable variable
17 `sml-rightalign-and'. Also `sml-symbol-indent' is now customizable.
18
19 Changes since 3.9.3:
20
21 * New add-log support (try C-x 4 a from within an SML function).
22
23 * Imenu support
24
25 * sml-bindings has disappeared.
26
27 * The code skeletons are now abbrevs as well.
28
29 * A new *sml* process is sent the content of sml-config-file (~/.sml-proc.sml)
30 if it exists.
31
32 * `sml-compile' works yet a bit differently. The command can begin
33 with `cd "path";' and it will be replaced by OS.FileSys.chDir.
34
35 * run-sml now pops up the new buffer. It can also run the command on another
36 machine. And it always prompts for the command name. Use a prefix
37 argument if you want to give args or to specify a host on which
38 to run the command.
39
40 * mouse-2 to yank in *sml* should work again (but won't work for next-error
41 any more).
42
43 * New major-modes sml-cm-mode, sml-lex-mode and sml-yacc-mode.
44
45 * sml-load-hook has disappeared as has inferior-sml-load-hook.
46
47 * sml-mode-startup.el is now automatically generated and you're supposed to
48 `load' it from .emacs or site-start.el.
49
50 * Minor bug fixes.
51
52 Changes since 3.3:
53
54 * the sml-drag-* commands have disappeared.
55
56 * added a little bit of `customize' support. Many of the customization
57 variables for indentation are still in flux, so they are not customize'd.
58
59 * proformas have been replaced by skeletons. it's mostly the same as
60 before (the layout has slightly changed, tho). The main difference
61 is that the indentation relies on the major-mode indentation so it
62 is implicitly customized, which makes more sense to me.
63 Also I added an electric space M-SPC that will call the corresponding
64 skeleton if any matches the immediately preceding symbol. Basically
65 that allows you to type `l e t M-SPC' to call the `let' skeleton.
66
67 * M-C-f and M-C-b try to be smart and jump around let..end and such blocks.
68 It's probably either too smart or not smart enough, tho.
69
70 * there is no more sml-<compiler>.el since the code should work for "all"
71 known compilers. If your favorite compiler doesn't seem to work right
72 send me a sample session.
73
74 * hilite support has disappeared and font-lock and menu support is now built-in.
75
76 * the indentation algorithm is inherently much slower. I've tried to ensure
77 the slowness never manifests itself in practice, but if you find a case
78 where the indentation doesn't feel instantaneous, tell me.
79
80 * function arguments get properly indented (yes, madam).
81
82 * the indentation has been majorly reworked. The list of changes is too long.
83 Many customizations have disappeared, some may reappear depending on the
84 feedback I get. The indentation should now "always" work right, so
85 tell me when it doesn't.
86
87 * nested comments are only properly handled if you have a nested-comments
88 aware Emacs (I don't know of any yet) or if you turn on font-lock.
89
90 * provide `sml-compile' which does something similat to `compile' except it
91 passes the command to an inferior-sml process. Also it has an additional
92 hack to look for sml-make-file-name in parent directories and cd to it
93 before sending the command (handy for CM.make() when the sources.cm file
94 is not in the current directory). This hack is very ad-hoc and quite
95 misleading for people who don't use CM. I.e. the default is not safe.
96
97 * sml-send-region and friends now always use a temp file. The temp file
98 management has been made a little more secure.
99
100 * the overlay is now turned off by default. Instead the region is activated,
101 so that transient-mark-mode will end up highlighting the error just like
102 the overlay used to do.
103
104 * sml-proc uses compile.el for error parsing. This mostly means that instead
105 of C-c ` you want to use the standard C-x `. It also means that error
106 formats for any compiler can be added more easily.
107
108 * The special frame handling has been thrown out because it doesn't interact
109 well with Emacs' own similar feature. I believe XEmacs still doesn't provide
110 such a feature, so if you miss it, either switch to Emacs or (convince
111 someone else to) add it to XEmacs.