Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Revision 544
ViewVC logotype

Revision 544

Jump to revision: Previous Next
Author: monnier
Date: Tue Feb 22 22:56:38 2000 UTC (20 years, 7 months ago)
Log Message:
* sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a
(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.

Changed paths:

Path Details
Directorysml/trunk/sml-mode/BUGS modified , text changed
Directorysml/trunk/sml-mode/ChangeLog modified , text changed
Directorysml/trunk/sml-mode/makefile.pkg modified , text changed
Directorysml/trunk/sml-mode/sml-defs.el modified , text changed
Directorysml/trunk/sml-mode/sml-mode.el modified , text changed
Directorysml/trunk/sml-mode/testcases.sml added

ViewVC Help
Powered by ViewVC 1.0.0