]> code.delx.au - gnu-emacs-elpa/commit
* sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a
authormonnier <>
Tue, 22 Feb 2000 22:56:38 +0000 (22:56 +0000)
committermonnier <>
Tue, 22 Feb 2000 22:56:38 +0000 (22:56 +0000)
commitf685061253e0d0e6996fe730728f3ff710a7989b
treef77effc873819658bb89809e93b71d987844196a
parente4b84a4b8bc678af74d9442ea5338f8d530093b8
* sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a
  regexp.
(sml-indent-default): Use symbol membership rather than a regexp.
  Also, use `sym-indent' instead of (current-column).  This fixes a problem
  with a hanging `structure Foo = (struct|let)' (due to `structure' having
  a sml-indent-rule, as opposed to `fun').  Hopefully it won't introduce
  other problems.
(sml-font-lock-keywords): Match vars `val x : int' also.
(sml-electric-pipe): Update to the new `sml-find-matching-starter' and
  return a sensible default instead of raising an error in case of
  unexpected situations.
(sml-indent-line): Ignore errors and keep the cursor where it is.
(sml-calculate-indentation, sml-indent-pipe): Use syms instead of regexps.
* sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
* testcases.sml: New file.
* makefile.pkg (test): new target to run the test suite.
BUGS
ChangeLog
makefile.pkg
sml-defs.el
sml-mode.el
testcases.sml [new file with mode: 0644]