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