]> code.delx.au - gnu-emacs-elpa/blob - ChangeLog
* sml-mode.el (sml-electric-pipe-mode): New var.
[gnu-emacs-elpa] / ChangeLog
1 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * sml-mode.el (sml-electric-pipe-mode): New var.
4 (sml-pipeheads): Add (, {, and [ to more reliably detect cases where
5 the pipe is not part of a case/fun/...
6 (sml-tyvarseq-re): Use shy groups.
7 (sml-font-lock-keywords): Adjust accordingly.
8 (sml-compile): Avoid the 3rd part of dolist's spec.
9 (sml-post-self-insert-pipe): New fun, extracted from sml-electric-pipe.
10 (sml-mode): Use it to obey sml-electric-pipe-mode.
11 (sml-electric-pipe): Use sml-post-self-insert-pipe.
12
13 * prog-proc.el: Rename from sml-prog-proc.el.
14
15 * makefile.pkg (ELFILES): Remove sml-proc.el.
16
17 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 Merge sml-defs.el into sml-mode.el.
20 * sml-mode.el: Merge code from sml-defs.el.
21 Remove ":group 'sml" since they're now redundant.
22 * makefile.pkg (ELFILES): Adjust.
23
24 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * sml-mode.el (sml-mark-function): New implementation using SMIE.
27 * sml-defs.el (sml-mode-map): Use backtab.
28 Remove leftover unused sml-drag-region binding.
29
30 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 Use SMIE by default and make sml-oldindent optional.
33 * sml-mode.el: Only load sml-oldindent if necessary.
34 (sml-use-smie): Default to t.
35 (sml-smie-datatype-|-p): Better handle incomplete datatype branch.
36 (sml-mode): Use prog-mode. Setup electric-layout and electric-indent.
37 (sml-mode-variables): Always setup SMIE if possible.
38 (sml-imenu-create-index, sml-funname-of-and, sml-electric-pipe)
39 (sml-beginning-of-defun, sml-defuse-symdata-at-point)
40 (sml-yacc-font-lock-keywords, sml-yacc-indentation):
41 Avoid sml-oldindent functions.
42 (sml-find-forward): Move from sml-oldindent and re-implement.
43 (sml-electric-semi): Use self-insert-command so electric-layout and
44 electric-indent can do their job.
45 (sml-smie-find-matching-starter, sml-find-matching-starter)
46 (sml-smie-skip-siblings, sml-skip-siblings): New functions.
47 * sml-oldindent.el (sml-starters-indent-after, sml-exptrail-syms):
48 Remove, unused.
49 (sml-find-forward): Move back to sml-mode.el.
50 (sml-old-find-matching-starter): Rename from sml-find-matching-starter.
51 (sml-old-skip-siblings): Move&rename from sml-mode:sml-skip-siblings.
52
53 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 Move non-SMIE indentation code to a separate file.
56 * sml-oldindent.el: Rename from sml-move.el.
57 * makefile.pkg (ELFILES): Adjust.
58 * sml-mode.el (sml-indent-line, sml-find-comment-indent)
59 (sml-calculate-indentation, sml-bolp, sml-first-starter-p)
60 (sml-indent-starter, sml-indent-relative, sml-indent-pipe)
61 (sml-find-forward, sml-indent-arg, sml-get-indent, sml-dangling-sym)
62 (sml-delegated-indent, sml-get-sym-indent, sml-indent-default)
63 (sml-current-indentation, sml-find-matching-starter):
64 Move to sml-oldindent.el.
65 (comment-quote-nested, compilation-error-regexp-alist): Declare.
66
67 * sml-defs.el (sml-begin-syms, sml-begin-syms-re)
68 (sml-sexp-head-symbols-re, sml-preproc-alist, sml-indent-rule)
69 (sml-starters-indent-after, sml-delegate, sml-symbol-indent)
70 (sml-open-paren, sml-close-paren, sml-agglomerate-re)
71 (sml-exptrail-syms): Move to sml-oldindent.el.
72
73 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 Get rid of ancient compatibility and small utility file.
76 * sml-proc.el (inferior-sml-mode-map): Don't use defmap.
77 * sml-move.el (sml-internal-syntax-table): Don't use defsyntax.
78 * sml-mode.el (sml-syntax-prop-table): Don't use defsyntax.
79 (sml-electric-space): `last-command-char' -> `last-command-event'.
80 (sml-defuse-jump-to-def): Don't use goto-line from Elisp.
81 * sml-defs.el (sml-mode-map): Don't use defmap.
82 (sml-mode-syntax-table): Don't use defsyntax.
83 (sml-preproc-alist, sml-builtin-nested-comments-flag):
84 Move from sml-util.el.
85 * sml-compat.el, sml-utils.el: Remove.
86 * makefile.pkg (ELFILES): Update.
87
88 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 Add SMIE support.
91 * .bzrignore: New file.
92 * makefile.pkg (test): Use sml-mode-startup.
93
94 * sml-mode.el (sml-use-smie): New config var.
95 (sml-smie-grammar, sml-indent-separator-outdent): New vars.
96 (sml-smie-rules, sml-smie-definitional-equal-p)
97 (sml-smie-non-nested-of-p, sml-smie-datatype-|-p)
98 (sml-smie-forward-token-1, sml-smie-forward-token)
99 (sml-smie-backward-token-1, sml-smie-backward-token): New functions.
100 (sml-mode): Don't set forward-sexp-function.
101 (sml-mode-variables): Set it here instead, and setup SMIE instead
102 if applicable.
103
104 2010-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * Release version 4.1.
107
108 * sml-mode.el: Don't setup load-path here any more.
109 * Makefile ($(PACKAGE)-startup.el): Recreate from scratch every time.
110 Setup load-path.
111 (dist): Try to update it to use Svn rather than CVS.
112
113 2007-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * sml-proc.el (inferior-sml-next-error-hook): Make it match one
116 more format.
117
118 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * testcases.sml: Add (old) buggy case from Christopher Dutchyn.
121
122 * sml-proc.el (inferior-sml-font-lock-keywords): Don't add
123 error-regexps if compile.el already highlights them anyway.
124
125 * sml-mode.el (sml-font-lock-symbols-alist): Fix char for "not".
126
127 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * sml-mode.el (sml-def-skeleton): If possible, only expand for
130 lower-case abbrevs and not inside strings or comments.
131 (sml-mlton-typecheck): Typo.
132
133 * sml-proc.el (sml-proc-comint-input-filter-function): New function.
134 (inferior-sml-mode): Use it.
135 (sml-update-cursor): Don't forget errors here any more.
136
137 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * sml-util.el (defmap, defsyntax): Avoid defconst.
140 (flatten): Remove.
141
142 * sml-mode.el (sml-calculate-indentation): Avoid previous-line.
143 (sml-keywords-regexp): Avoid the need for `flatten'.
144 (sml-defuse-jump-to-def): Fix typo.
145
146 * sml-defs.el (sml-syms-re): Don't use `flatten'.
147 (sml-sexp-head-symbols-re, sml-starters-indent-after)
148 (sml-non-nested-of-starter-re): Avoid the need for `flatten'.
149
150 * sml-proc.el (inferior-sml-next-error-hook): New fun.
151 (inferior-sml-mode): Use it.
152
153 2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * sml-mode.el (sml-mlton-error-regexp-alist): New var.
156 (sml-mlton-typecheck): Use it.
157 (compilation-error-regexp-alist): Add entries after loading "compile"
158 so that M-x compile works.
159
160 * sml-proc.el (inferior-sml-mode): Make TAB add a " rather than a space
161 at the end of a file name.
162
163 2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * sml-mode.el (sml-mode-variables): Set comment-quote-nested instead of
166 comment-nested. Set comment-end-skip.
167 (sml-first-starter-p): New function.
168 (sml-indent-starter): Use it to fix an indentation bug.
169 (sml-mlton-command, sml-mlton-mainfile): New vars.
170 (sml-mlton-typecheck): New command.
171 (sml-defuse-file): New var.
172 (sml-defuse-def-regexp, sml-defuse-use-regexp-format): New consts.
173 (sml-defuse-file, sml-defuse-symdata-at-point): New functions.
174 (sml-defuse-set-file, sml-defuse-jump-to-def): New commands.
175
176 2005-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * sml-move.el (sml-find-match-forward): Avoid infinite looping if the
179 construct is not properly closed (yet).
180
181 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * sml-defs.el (sml-mode-menu): Remove left over obsolete entries.
184
185 * sml-proc.el (inferior-sml-mode): Preserve the menu-bar of the
186 compilation minor mode, if any.
187
188 2004-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * Release version 4.0.
191
192 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * sml-mode.el (sml-font-lock-symbols-alist): Add yet more silly entries.
195
196 2004-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * sml-mode.el (sml-font-lock-symbols-alist): Add entries for >= and <=.
199 (sml-font-lock-symbols-alist): Add entries for simple type variables.
200 (sml-font-lock-compose-symbol): Add support for non-punctuation syms.
201
202 2004-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * sml-move.el (sml-backward-sexp, sml-forward-sexp): Remove unused var.
205
206 * sml-mode.el (sml-calculate-indentation): Remove unused var.
207 (sml-get-indent): Change first arg's meaning.
208 (sml-get-sym-indent): Adjust call.
209 (sml-forms-menu): Simplify.
210 (sml-font-lock-symbols, sml-font-lock-symbols-alist): New vars.
211 (sml-font-lock-compose-symbol, sml-font-lock-symbols-keywords):
212 New funs.
213 (sml-font-lock-keywords): Use them.
214
215 * sml-compat.el (temp-directory): Get rid of warning.
216
217 * Makefile (install_startup): Don't add to load-path any more.
218
219 * sml-proc.el (sml-make-error): Use match-string.
220 (sml-error-regexp-alist): Merge regexps.
221 (sml-update-cursor): Check sml-temp-file is non-nil.
222
223 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * sml-proc.el (sml-error-regexp-alist): Use new compile.el features
226 if available.
227 (sml-send-region): Remove unused var `file'.
228 (sml-drag-region): Remove unused function.
229 (sml-update-cursor): Use compilation-fake-loc if available.
230 (compilation-goto-locus): Only advise if necessary.
231
232 * sml-mode.el: Add self to load-path in sml-mode-startup.el.
233 (sml-def-skeleton): Try to use the new `system' abbrev flag.
234
235 2004-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * testcases.sml: Add a nasty case that is still wrong.
238
239 * sml-proc.el (sml-error-regexp-alist): Tune the regexp for sml/nj.
240
241 * sml-mode.el (sml-mode): Better handle paragraphs in comments.
242 (sml-mode-variables): Clean up paragraph settings.
243 (sml-electric-pipe): Fix a boundary bug.
244 (sml-indent-starter, sml-get-sym-indent, sml-find-matching-starter):
245 Fix indentation algorithm. Can't remember what it was about.
246 This code is nasty, I just can't understand what's doing what.
247 (completion-ignored-extensions): Add the new .cm directory.
248
249 2003-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * sml-defs.el (sml-mode-menu): Fix typo. Use std names.
252 (sml-begin-syms-re): Reduce redundancy.
253
254 2001-09-18 Stefan Monnier <monnier@cs.yale.edu>
255
256 * sml-mode.el (sml-tyvarseq-re): Fix typo.
257
258 2001-07-20 Stefan Monnier <monnier@cs.yale.edu>
259
260 * sml-mode.el (sml-rightalign-and): New defcustom.
261 (sml-tyvarseq-re): New var.
262 (sml-font-lock-keywords): Use it.
263 (sml-imenu-create-index): Don't get confused by tyvarseq's.
264 (sml-mode-variables): Don't set `comment-column'.
265 (sml-funname-of-and): New function.
266 (sml-electric-pipe): Use it.
267 (sml-find-comment-indent): Try to ignore comment-markers in strings.
268 (sml-calculate-indentation): Handle closing parens specially.
269 (sml-indent-pipe): Recognize the case where `and' defines a datatype.
270 (sml-dangling-sym): Make it work if the symbol is an open-paren.
271 (sml-indent-default): Change the behavior when preceded by `end',
272 although I'm not quite sure why.
273 Understand dangling open-parens.
274 Properly skip *all* subexpressions of lower precedence.
275 Allow use of sml-symbol-indent to outdent lines starting with , or ;.
276 (sml-insert-form): Use preceding-char to avoid bug at bobp.
277
278 2001-07-19 Stefan Monnier <monnier@cs.yale.edu>
279
280 * sml-proc.el (sml-proc-buffer): Save excursion when calling run-sml.
281
282 * sml-move.el (sml-syntax-prec): Split ; and , from `in' and `with'.
283
284 * sml-mode.texi: Put the entry in `Emacs' rather than `Editors'.
285
286 * sml-mode.spec (BuildArch): Simplify call to `install-info'.
287
288 * sml-defs.el (sml-mode-menu): Add an explicit t for always-active.
289 (sml-symbol-indent): Add entries for , and ; and turn into defcustom.
290
291 * sml-compat.el: Add more stuff. It might help for Emacs-19.34.
292
293 * makefile.pkg (test): Use elisp files in current dir.
294
295 2000-12-24 Stefan Monnier <monnier@cs.yale.edu>
296
297 * Release version 3.9.5.
298
299 * Makefile (install): Also install .el files.
300 (dist): Don't rely on $CVSROOT.
301
302 * sml-mode.el: Require `skeleton'.
303 (sml-mode): Add the menu for XEmacs. Make sure @ is a valid skeleton.
304 (sml-comment-indent): Remove.
305 (sml-mode-variables): Don't set comment-indent-function.
306 (sml-def-skeleton): Nop if skeletons aren't available.
307 (skeletons): Use `> _' and `@'.
308 (sml-forms-menu): Don't bother with easy-menu-filter-return crap.
309 (sml-cm-mode-syntax-table, sml-cm-font-lock-keywords): New vars.
310 (sml-cm-mode): Use define-derived-mode rather than define-generic-mode.
311 (sml-lex-font-lock-keywords, sml-lex-font-lock-defaults): New vars.
312 (sml-yacc-font-lock-keywords): Use sml-lex-font-lock-keywords.
313 Refine pattern to recognize the %prec keyword.
314 (sml-yacc-font-lock-defaults): Fix typo.
315
316 * sml-proc.el (inferior-sml-mode): Disable next-error for XEmacs.
317
318 * sml-util.el (defsyntax): Don't forget to eval `doc'.
319
320 * sml-mode.spec: Simplify.
321
322 * sml-defs.el (sml-mode-menu): Remove bogus entry for sml-mode-version.
323
324 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
325
326 * sml-mode.el: Make the toplevel closer to usual practice.
327 (sml-imenu-regexp, sml-imenu-create-index): New var and fun.
328 (sml-mode): Use them.
329 (sml-beginning-of-defun): Add `and' as function-leader.
330 (sml-lex-mode): New trivial mode.
331 (sml-yacc-bnf-face, sml-yacc-indent-action, sml-yacc-indent-pipe)
332 (sml-yacc-indent-term, sml-yacc-font-lock-keywords)
333 (sml-yacc-font-lock-defaults): New vars.
334 (sml-yacc-indent-line, sml-yacc-indentation, sml-yacc-mode): New funs.
335
336 * sml-mode.texi: Added yours truly to the list of authors.
337
338 * sml-mode.spec: New file.
339
340 * sml-defs.el (sml-outline-regexp): Slightly improved regexp.
341
342 2000-08-24 Stefan Monnier <monnier@cs.yale.edu>
343
344 * sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
345 Add the binding for C-c C-l explicitly instead.
346 (sml-run): Look in cwd (but only if the command has slashes).
347
348 * sml-mode.el (sml-mode-abbrev-table): Remove (created by
349 define-derived-mode).
350 (sml-mode): Setup add-log's current-defun-function.
351 (sml-indent-line): Never indent to a negative level.
352 (sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components)
353 (sml-current-fun-name): New funs and vars for add-log support.
354 (sml-comment-indent): Simplify.
355 (sml-def-skeleton): Also create the skeleton as an abbrev.
356 (skeletons): New for "struct", "sig", "val", "fn" and "fun".
357 (sml-electric-space): Rewrite to use abbrev's machinery.
358
359 * sml-defs.el (sml-mode-map): Merge with sml-bindings.
360 (sml-bindings): Remove.
361
362 2000-02-22 Stefan Monnier <monnier@cs.yale.edu>
363
364 * sml-mode.el (sml-find-matching-starter): Use syms instead of a RE.
365 (sml-indent-default): Use symbol membership rather than a regexp.
366 Also, use `sym-indent' instead of (current-column).
367 This fixes a problem with a hanging `structure Foo = (struct|let)'
368 (due to `structure' having a sml-indent-rule, as opposed to `fun').
369 Hopefully it won't introduce other problems.
370 (sml-font-lock-keywords): Match vars `val x : int' also.
371 (sml-electric-pipe): Update to the new `sml-find-matching-starter' and
372 return a sensible default instead of raising an error in case of
373 unexpected situations.
374 (sml-indent-line): Ignore errors and keep the cursor where it is.
375 (sml-calculate-indentation, sml-indent-pipe): Use syms instead of REs.
376
377 * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
378
379 * testcases.sml: New file.
380
381 * makefile.pkg (test): New target to run the test suite.
382
383 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
384
385 * *.el: Pass through checkdoc and use `eval-when-compile' whenever
386 possible for (require 'cl).
387
388 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
389
390 * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir)
391 (delete-temp-dirs): Replace by the make-temp-file from Emacs-21.
392 (custom-create-map): Add :group arg and allow key to be a list.
393 (define-major-mode): Remove (use define-derived-mode instead).
394 (sml-builtin-nested-comments-flag): New var.
395 (concatq): Remove.
396
397 * sml-proc.el (sml-host-name): New var.
398 (sml-make-file-name): Replace by `sml-compile-commands'.
399 (sml-config-file): New var.
400 (sml-compile-commands-alist): New var.
401 (inferior-sml-load-hook): Remove.
402 (sml-buffer): Query if the current buffer is not a *sml*.
403 (inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
404 compilation-minor-mode's keybindings.
405 (run-sml): Turn into an alias for sml-run.
406 (sml-run): Query the user for the command. If prefix is set (or if
407 default value is not null) query for args and host.
408 Use `split-string' rather than our own function.
409 Run cmd on another host if requested and pass it an init file.
410 Pop to the buffer at the end.
411 (sml-args-to-list): Remove.
412 (sml-compile): Look for special files (sml-compile-command-alist) in
413 the current dir (and its parents) to choose a default command.
414 Remember the command for next time in the same buffer.
415 Make the `cd' explicit in the command so the user can change it.
416 (sml-make-error): Fix for when `endline' is absent.
417
418 * sml-mode.el: Pass it through checkdoc.
419 (sml-mode-version): Remove.
420 (sml-load-hook): Remove.
421 (sml-mode-info): Use `info' rather than `Info-goto-node'.
422 (sml-keywords-regexp): Add "o".
423 (sml-syntax-prop-table): Use `defsyntax'.
424 (sml-font-lock-syntactic-keywords): Only use nested comments if supported.
425 (sml-mode): Use `define-derived-mode'.
426 (sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
427 (sml-indent-line): Use `indent-line-to'.
428 (sml-cm-mode): New mode for CM files.
429
430 * Makefile: Update.
431
432 * sml-mode-startup.el: Remove since it's now auto-generated.
433
434 * sml-defs.el (sml-bindings): Remove left over C-c` binding.
435 (sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
436 (sml-mode-syntax-table): Only use nested comments if supported.
437 (sml-mode-menu): Use next-error rather than the old sml-next-error.
438 (sml-pipehead-re): Remove "of".
439
440 * sml-compat.el (set-keymap-parents): Make sure it also works when
441 called with a single keymap rather than a list.
442 (temporary-file-directory): Add a default definition for XEmacs.
443 (make-temp-file): New function.
444
445 1999-08-11 Stefan Monnier <monnier@cs.yale.edu>
446
447 * Release version 3.9.3.
448
449 * sml-mode.texi: Somewhat update the doc.
450
451 1999-08-09 Stefan Monnier <monnier@cs.yale.edu>
452
453 * Makefile: Update to the version of pcl-cvs.
454
455 * sml-proc.el: Eliminate some old unused code.
456
457 * sml-defs.el,sml-mode.el,sml-proc.el: Add simple customize support.
458
459 1999-07-07 Stefan Monnier <monnier@cs.yale.edu>
460
461 * sml-proc.el (sml-update-cursor): Make sure it also works if
462 compile.el is fixed to uses a marker.
463
464 * sml-mode.el (sml-indent): Fix the `fixindent'.
465
466 1999-06-22 Stefan Monnier <monnier@cs.yale.edu>
467
468 * sml-mode-startup.el: Fix to fulfill autoload.el assumptions.
469
470 1999-06-21 Stefan Monnier <monnier@cs.yale.edu>
471
472 * sml-defs.el (sml-bindings): Remove bindings for TAB and M-C-\.
473
474 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
475
476 * sml-mode.el (sml-font-lock-keywords): Skip type vars in "fun 'a myfn"
477 (sml-calculate-indentation): Add a hack to allow the user to manually
478 override the indentation algorithm with a magic comment.
479
480 * sml-mode-startup.el: Update the autoloads automatically.
481
482 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
483
484 * Release version 3.9.2
485
486 * sml-proc.el (sml-error-regexp-alist): Fix the pathological
487 font-locking on long lines.
488
489 * sml-move.el (sml-forward-sexp): Slightly improved.
490
491 1999-06-17 Stefan Monnier <monnier@cs.yale.edu>
492
493 * sml-mode.el (sml-insert-form): Only add a space if needed.
494 (sml-electric-space): New command bound to M-SPC.
495
496 * sml-defs.el (sml-close-paren): Add a second field that specifies when
497 not to delegate. Only used for `else'.
498
499 1999-06-16 Stefan Monnier <monnier@cs.yale.edu>
500
501 * sml-move.el (sml-(for|back)ward-sym): Distinguish between
502 operator "=" and syntax for definitions "d=".
503
504 * sml-defs.el (sml-indent-starters, sml-delegate): Simplify.
505 (sml-symbol-indent): Add outdentation for `fn' and generalize it to
506 also work for `of' and `in' and `end'.
507
508 * sml-mode.el (sml-nested-if-indent): Reintroduce as well as the
509 special casing code for it.
510 (sml-indent-relative): Generalize treatment of `of', `in', `end', ...
511 (sml-electric-pipe): Remove the slow behavior and add smarts for the
512 never-used type-variable arguments for function definitions.
513
514 1999-06-15 Stefan Monnier <monnier@cs.yale.edu>
515
516 * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu):
517 Make the menu dynamically.
518
519 * sml-mode.el (sml-form-<foo>): Use skeletons.
520 (sml-calculate-indentation): Add `with' indentation.
521
522 1999-06-14 Stefan Monnier <monnier@cs.yale.edu>
523
524 * sml-move.el (sml-(for|back)ward-sym): Now also return the string
525 if any and take care of the "op" special keyword.
526 (sml-op-prec): Setup an alist for the infix operators.
527
528 * version 3.9.1: sent to Roland McGrath.
529
530 1999-06-13 Stefan Monnier <monnier@cs.yale.edu>
531
532 * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: Remove.
533
534 * sml-proc.el (...): Get rid of sml-next-error by spicing up the
535 interface with compile.el so that intervals can be displayed.
536 `sml-overlay' is kept (and moved from sml-mode to sml-proc where it
537 belongs) but is made redundant in the case of transient-mark-mode.
538
539 1999-06-12 Stefan Monnier <monnier@cs.yale.edu>
540
541 * sml-proc.el (sml-prompt-regexp): More general regexp to catch mosml,
542 smlnj as well as polyml prompts.
543 (sml-update-cursor, sml-send-command, inferior-sml-mode):
544 Make it work with compile.el's `next-error'.
545 (sml-temp-threshold): Drop: always use a temp file.
546
547 1999-06-10 Stefan Monnier <monnier@cs.yale.edu>
548
549 * sml-move.el (sml-op-prec): Update the list of default infix ops
550 based on sml/nj's source files.
551
552 1999-06-08 Stefan Monnier <monnier@cs.yale.edu>
553
554 * sml-proc.el (sml-run): Remove dubious code to take care of a
555 supposedly special case in order not to send "" when args=nil.
556
557 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
558
559 * sml-mode.el (sml-font-lock-syntactic-keywords): Add syntactic
560 fontification for the ' \"' case (exhibited by lexgen.sml).
561
562 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
563
564 * ALL: The new indentation begins to work. v3_9_0
565
566 1999-05-29 Stefan Monnier <monnier@cs.yale.edu>
567
568 * sml-defs.el (sml-mode-syntax-table): Add ~ of prefix-syntax.
569
570 * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is
571 only applied if the `let' is alone at the end of the line.
572 (sml-type-of-indent): Default changed to `nil'.
573
574 1999-05-28 Stefan Monnier <monnier@cs.yale.edu>
575
576 * sml-mode.el (sml-font-lock-keywords): Change _ and ' back to word
577 syntax for font-locking.
578
579 1999-05-27 Stefan Monnier <monnier@cs.yale.edu>
580
581 * sml-mode.el (sml-font-lock-syntactic-keywords): Finally got the
582 matching of let...end working.
583 (sml-electric-pipe): Take a fun sexp (symbol) rather than a fun word.
584
585 1998-10-26 Stefan Monnier <monnier@cs.yale.edu>
586
587 * sml-mode.el (sml-font-lock-syntactic-keywords):
588 Add syntactic-keywords to support nested comments.
589