]> code.delx.au - gnu-emacs-elpa/blob - ChangeLog
* sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
[gnu-emacs-elpa] / ChangeLog
1 2000-08-24 Stefan Monnier <monnier@cs.yale.edu>
2
3 * sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
4 Add the binding for C-c C-l explicitly instead.
5 (sml-run): Look in cwd (but only if the command has slashes).
6
7 * sml-mode.el (sml-mode-abbrev-table): Remove (created by
8 define-derived-mode).
9 (sml-mode): Setup add-log's current-defun-function.
10 (sml-indent-line): Never indent to a negative level.
11 (sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components)
12 (sml-current-fun-name): New funs and vars for add-log support.
13 (sml-comment-indent): Simplify.
14 (sml-def-skeleton): Also create the skeleton as an abbrev.
15 (skeletons): New for "struct", "sig", "val", "fn" and "fun".
16 (sml-electric-space): Rewrite to use abbrev's machinery.
17
18 * sml-defs.el (sml-mode-map): merge with sml-bindings.
19 (sml-bindings): Remove.
20
21 2000-02-22 Stefan Monnier <monnier@cs.yale.edu>
22
23 * sml-mode.el (sml-find-matching-starter): Use syms instead of a RE.
24 (sml-indent-default): Use symbol membership rather than a regexp.
25 Also, use `sym-indent' instead of (current-column).
26 This fixes a problem with a hanging `structure Foo = (struct|let)'
27 (due to `structure' having a sml-indent-rule, as opposed to `fun').
28 Hopefully it won't introduce other problems.
29 (sml-font-lock-keywords): Match vars `val x : int' also.
30 (sml-electric-pipe): Update to the new `sml-find-matching-starter' and
31 return a sensible default instead of raising an error in case of
32 unexpected situations.
33 (sml-indent-line): Ignore errors and keep the cursor where it is.
34 (sml-calculate-indentation, sml-indent-pipe): Use syms instead of REs.
35
36 * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
37
38 * testcases.sml: New file.
39
40 * makefile.pkg (test): new target to run the test suite.
41
42 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
43
44 * *.el: Pass through checkdoc and use `eval-when-compile' whenever
45 possible for (require 'cl).
46
47 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
48
49 * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir)
50 (delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
51 (custom-create-map): add :group arg and allow key to be a list.
52 (define-major-mode): Removed (use define-derived-mode instead).
53 (sml-builtin-nested-comments-flag): New var.
54 (concatq): Remove.
55
56 * sml-proc.el (sml-host-name): New var.
57 (sml-make-file-name): Replaced by `sml-compile-commands'.
58 (sml-config-file): New var.
59 (sml-compile-commands-alist): New var.
60 (inferior-sml-load-hook): Removed.
61 (sml-buffer): Query if the current buffer is not a *sml*.
62 (inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
63 compilation-minor-mode's keybindings.
64 (run-sml): Turn into an alias for sml-run.
65 (sml-run): Query the user for the command. If prefix is set (or if
66 default value is not null) query for args and host.
67 Use `split-string' rather than our own function.
68 Run cmd on another host if requested and pass it an init file.
69 Pop to the buffer at the end.
70 (sml-args-to-list): Remove.
71 (sml-compile): Look for special files (sml-compile-command-alist) in
72 the current dir (and its parents) to choose a default command.
73 Remember the command for next time in the same buffer.
74 Make the `cd' explicit in the command so the user can change it.
75 (sml-make-error): Fix for when `endline' is absent.
76
77 * sml-mode.el: Pass it through checkdoc.
78 (sml-mode-version): Remove.
79 (sml-load-hook): Remove.
80 (sml-mode-info): Use `info' rather than `Info-goto-node'.
81 (sml-keywords-regexp): Add "o".
82 (sml-syntax-prop-table): Use `defsyntax'.
83 (sml-font-lock-syntactic-keywords): Only use nested comments if supported.
84 (sml-mode): Use `define-derived-mode'.
85 (sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
86 (sml-indent-line): Use `indent-line-to'.
87 (sml-cm-mode): New mode for CM files.
88
89 * Makefile: Update.
90
91 * sml-mode-startup.el: Remove since it's now autogenerated.
92
93 * sml-defs.el (sml-bindings): Remove left over C-c` binding.
94 (sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
95 (sml-mode-syntax-table): Only use nested comments if supported.
96 (sml-mode-menu): Use next-error rather than the old sml-next-error.
97 (sml-pipehead-re): Remove "of".
98
99 * sml-compat.el (set-keymap-parents): Make sure it also works when
100 called with a single keymap rather than a list.
101 (temporary-file-directory): Add a default definition for XEmacs.
102 (make-temp-file): New function.
103
104 1999-08-11 Stefan Monnier <monnier@cs.yale.edu>
105
106 * release: version 3.9.3
107
108 * sml-mode.texi: Somewhat update the doc.
109
110 1999-08-09 Stefan Monnier <monnier@cs.yale.edu>
111
112 * Makefile: Update to the version of pcl-cvs.
113
114 * sml-proc.el: Eliminate some old unused code.
115
116 * sml-defs.el,sml-mode.el,sml-proc.el: Add simple customize support.
117
118 1999-07-07 Stefan Monnier <monnier@cs.yale.edu>
119
120 * sml-proc.el (sml-update-cursor): Make sure it also works if
121 compile.el is fixed to uses a marker.
122
123 * sml-mode.el (sml-indent): Fix the `fixindent'.
124
125 1999-06-22 Stefan Monnier <monnier@cs.yale.edu>
126
127 * sml-mode-startup.el: Fix to fulfill autoload.el assumptions.
128
129 1999-06-21 Stefan Monnier <monnier@cs.yale.edu>
130
131 * sml-defs.el (sml-bindings): Remove bindings for TAB and M-C-\.
132
133 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
134
135 * sml-mode.el (sml-font-lock-keywords): Skip type vars in "fun 'a myfn"
136 (sml-calculate-indentation): Add a hack to allow the user to manually
137 override the indentation algorithm with a magic comment.
138
139 * sml-mode-startup.el: Update the autoloads automatically.
140
141 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
142
143 * release: 3.9.2
144
145 * sml-proc.el (sml-error-regexp-alist): Fix the pathological
146 font-locking on long lines.
147
148 * sml-move.el (sml-forward-sexp): Slightly improved.
149
150 1999-06-17 Stefan Monnier <monnier@cs.yale.edu>
151
152 * sml-mode.el (sml-insert-form): Only add a space if needed.
153 (sml-electric-space): New command bound to M-SPC.
154
155 * sml-defs.el (sml-close-paren): Add a second field that specifies when
156 not to delegate. Only used for `else'.
157
158 1999-06-16 Stefan Monnier <monnier@cs.yale.edu>
159
160 * sml-move.el (sml-(for|back)ward-sym): Distinguish between
161 operator "=" and syntax for definitions "d=".
162
163 * sml-defs.el (sml-indent-starters, sml-delegate): Simplify.
164 (sml-symbol-indent): Add outdentation for `fn' and generalize it to
165 also work for `of' and `in' and `end'.
166
167 * sml-mode.el (sml-nested-if-indent): Reintroduce as well as the
168 special casing code for it.
169 (sml-indent-relative): Generalize treatment of `of', `in', `end', ...
170 (sml-electric-pipe): Remove the slow behavior and add smarts for the
171 never-used type-variable arguments for function definitions.
172
173 1999-06-15 Stefan Monnier <monnier@cs.yale.edu>
174
175 * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu):
176 Make the menu dynamically.
177
178 * sml-mode.el (sml-form-<foo>): Use skeletons.
179 (sml-calculate-indentation): Add `with' indentation.
180
181 1999-06-14 Stefan Monnier <monnier@cs.yale.edu>
182
183 * sml-move.el (sml-(for|back)ward-sym): Now also return the string
184 if any and take care of the "op" special keyword.
185 (sml-op-prec): Setup an alist for the infix operators.
186
187 * version 3.9.1: sent to Roland McGrath.
188
189 1999-06-13 Stefan Monnier <monnier@cs.yale.edu>
190
191 * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: removed.
192
193 * sml-proc.el (...): Get rid of sml-next-error by spicing up the
194 interface with compile.el so that intervals can be displayed.
195 `sml-overlay' is kept (and moved from sml-mode to sml-proc where it
196 belongs) but is made redundant in the case of transient-mark-mode.
197
198 1999-06-12 Stefan Monnier <monnier@cs.yale.edu>
199
200 * sml-proc.el (sml-prompt-regexp): More general regexp to catch mosml,
201 smlnj as well as polyml prompts.
202 (sml-update-cursor, sml-send-command, inferior-sml-mode):
203 Make it work with compile.el's `next-error'.
204 (sml-temp-threshold): dropped: Always use a temp file.
205
206 1999-06-10 Stefan Monnier <monnier@cs.yale.edu>
207
208 * sml-move.el (sml-op-prec): Update the list of default infix ops
209 based on sml/nj's source files.
210
211 1999-06-08 Stefan Monnier <monnier@cs.yale.edu>
212
213 * sml-proc.el (sml-run): Remove dubious code to take care of a
214 supposedly special case in order not to send "" when args=nil.
215
216 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
217
218 * sml-mode.el (sml-font-lock-syntactic-keywords): Add syntactic
219 fontification for the ' \"' case (exhibited by lexgen.sml).
220
221 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
222
223 * ALL: The new indentation begins to work. v3_9_0
224
225 1999-05-29 Stefan Monnier <monnier@cs.yale.edu>
226
227 * sml-defs.el (sml-mode-syntax-table): added ~ of prefix-syntax.
228
229 * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is
230 only applied if the `let' is alone at the end of the line.
231 (sml-type-of-indent): Default changed to `nil'.
232
233 1999-05-28 Stefan Monnier <monnier@cs.yale.edu>
234
235 * sml-mode.el (sml-font-lock-keywords): Change _ and ' back to word
236 syntax for font-locking.
237
238 1999-05-27 Stefan Monnier <monnier@cs.yale.edu>
239
240 * sml-mode.el (sml-font-lock-syntactic-keywords): Finally got the
241 matching of let...end working.
242 (sml-electric-pipe): Take a fun sexp (symbol) rather than a fun word.
243
244 1998-10-26 Stefan Monnier <monnier@cs.yale.edu>
245
246 * sml-mode.el (sml-font-lock-syntactic-keywords):
247 Add syntactic-keywords to support nested comments.
248