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