+2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ Use SMIE by default and make sml-oldindent optional.
+ * sml-mode.el: Only load sml-oldindent if necessary.
+ (sml-use-smie): Default to t.
+ (sml-smie-datatype-|-p): Better handle incomplete datatype branch.
+ (sml-mode): Use prog-mode. Setup electric-layout and electric-indent.
+ (sml-mode-variables): Always setup SMIE if possible.
+ (sml-imenu-create-index, sml-funname-of-and, sml-electric-pipe)
+ (sml-beginning-of-defun, sml-defuse-symdata-at-point)
+ (sml-yacc-font-lock-keywords, sml-yacc-indentation):
+ Avoid sml-oldindent functions.
+ (sml-find-forward): Move from sml-oldindent and re-implement.
+ (sml-electric-semi): Use self-insert-command so electric-layout and
+ electric-indent can do their job.
+ (sml-smie-find-matching-starter, sml-find-matching-starter)
+ (sml-smie-skip-siblings, sml-skip-siblings): New functions.
+ * sml-oldindent.el (sml-starters-indent-after, sml-exptrail-syms):
+ Remove, unused.
+ (sml-find-forward): Move back to sml-mode.el.
+ (sml-old-find-matching-starter): Rename from sml-find-matching-starter.
+ (sml-old-skip-siblings): Move&rename from sml-mode:sml-skip-siblings.
+
+2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ Move non-SMIE indentation code to a separate file.
+ * sml-oldindent.el: Rename from sml-move.el.
+ * makefile.pkg (ELFILES): Adjust.
+ * sml-mode.el (sml-indent-line, sml-find-comment-indent)
+ (sml-calculate-indentation, sml-bolp, sml-first-starter-p)
+ (sml-indent-starter, sml-indent-relative, sml-indent-pipe)
+ (sml-find-forward, sml-indent-arg, sml-get-indent, sml-dangling-sym)
+ (sml-delegated-indent, sml-get-sym-indent, sml-indent-default)
+ (sml-current-indentation, sml-find-matching-starter):
+ Move to sml-oldindent.el.
+ (comment-quote-nested, compilation-error-regexp-alist): Declare.
+
+ * sml-defs.el (sml-begin-syms, sml-begin-syms-re)
+ (sml-sexp-head-symbols-re, sml-preproc-alist, sml-indent-rule)
+ (sml-starters-indent-after, sml-delegate, sml-symbol-indent)
+ (sml-open-paren, sml-close-paren, sml-agglomerate-re)
+ (sml-exptrail-syms): Move to sml-oldindent.el.
+
+2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ Get rid of ancient compatibility and small utility file.
+ * sml-proc.el (inferior-sml-mode-map): Don't use defmap.
+ * sml-move.el (sml-internal-syntax-table): Don't use defsyntax.
+ * sml-mode.el (sml-syntax-prop-table): Don't use defsyntax.
+ (sml-electric-space): `last-command-char' -> `last-command-event'.
+ (sml-defuse-jump-to-def): Don't use goto-line from Elisp.
+ * sml-defs.el (sml-mode-map): Don't use defmap.
+ (sml-mode-syntax-table): Don't use defsyntax.
+ (sml-preproc-alist, sml-builtin-nested-comments-flag):
+ Move from sml-util.el.
+ * sml-compat.el, sml-utils.el: Remove.
+ * makefile.pkg (ELFILES): Update.
+
+2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ Add SMIE support.
+ * .bzrignore: New file.
+ * makefile.pkg (test): Use sml-mode-startup.
+
+ * sml-mode.el (sml-use-smie): New config var.
+ (sml-smie-grammar, sml-indent-separator-outdent): New vars.
+ (sml-smie-rules, sml-smie-definitional-equal-p)
+ (sml-smie-non-nested-of-p, sml-smie-datatype-|-p)
+ (sml-smie-forward-token-1, sml-smie-forward-token)
+ (sml-smie-backward-token-1, sml-smie-backward-token): New functions.
+ (sml-mode): Don't set forward-sexp-function.
+ (sml-mode-variables): Set it here instead, and setup SMIE instead
+ if applicable.
+
+2010-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * Release version 4.1.
+
+ * sml-mode.el: Don't setup load-path here any more.
+ * Makefile ($(PACKAGE)-startup.el): Recreate from scratch every time.
+ Setup load-path.
+ (dist): Try to update it to use Svn rather than CVS.
+
+2007-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-proc.el (inferior-sml-next-error-hook): Make it match one
+ more format.
+
+2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * testcases.sml: Add (old) buggy case from Christopher Dutchyn.
+
+ * sml-proc.el (inferior-sml-font-lock-keywords): Don't add
+ error-regexps if compile.el already highlights them anyway.
+
+ * sml-mode.el (sml-font-lock-symbols-alist): Fix char for "not".
+
+2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-mode.el (sml-def-skeleton): If possible, only expand for
+ lower-case abbrevs and not inside strings or comments.
+ (sml-mlton-typecheck): Typo.
+
+ * sml-proc.el (sml-proc-comint-input-filter-function): New function.
+ (inferior-sml-mode): Use it.
+ (sml-update-cursor): Don't forget errors here any more.
+
+2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-util.el (defmap, defsyntax): Avoid defconst.
+ (flatten): Remove.
+
+ * sml-mode.el (sml-calculate-indentation): Avoid previous-line.
+ (sml-keywords-regexp): Avoid the need for `flatten'.
+ (sml-defuse-jump-to-def): Fix typo.
+
+ * sml-defs.el (sml-syms-re): Don't use `flatten'.
+ (sml-sexp-head-symbols-re, sml-starters-indent-after)
+ (sml-non-nested-of-starter-re): Avoid the need for `flatten'.
+
+ * sml-proc.el (inferior-sml-next-error-hook): New fun.
+ (inferior-sml-mode): Use it.
+
+2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-mode.el (sml-mlton-error-regexp-alist): New var.
+ (sml-mlton-typecheck): Use it.
+ (compilation-error-regexp-alist): Add entries after loading "compile"
+ so that M-x compile works.
+
+ * sml-proc.el (inferior-sml-mode): Make TAB add a " rather than a space
+ at the end of a file name.
+
+2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-mode.el (sml-mode-variables): Set comment-quote-nested instead of
+ comment-nested. Set comment-end-skip.
+ (sml-first-starter-p): New function.
+ (sml-indent-starter): Use it to fix an indentation bug.
+ (sml-mlton-command, sml-mlton-mainfile): New vars.
+ (sml-mlton-typecheck): New command.
+ (sml-defuse-file): New var.
+ (sml-defuse-def-regexp, sml-defuse-use-regexp-format): New consts.
+ (sml-defuse-file, sml-defuse-symdata-at-point): New functions.
+ (sml-defuse-set-file, sml-defuse-jump-to-def): New commands.
+
+2005-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-move.el (sml-find-match-forward): Avoid infinite looping if the
+ construct is not properly closed (yet).
+
+2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-defs.el (sml-mode-menu): Remove left over obsolete entries.
+
+ * sml-proc.el (inferior-sml-mode): Preserve the menu-bar of the
+ compilation minor mode, if any.
+
+2004-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * Release version 4.0.
+
+2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-mode.el (sml-font-lock-symbols-alist): Add yet more silly entries.
+
+2004-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-mode.el (sml-font-lock-symbols-alist): Add entries for >= and <=.
+ (sml-font-lock-symbols-alist): Add entries for simple type variables.
+ (sml-font-lock-compose-symbol): Add support for non-punctuation syms.
+
+2004-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-move.el (sml-backward-sexp, sml-forward-sexp): Remove unused var.
+
+ * sml-mode.el (sml-calculate-indentation): Remove unused var.
+ (sml-get-indent): Change first arg's meaning.
+ (sml-get-sym-indent): Adjust call.
+ (sml-forms-menu): Simplify.
+ (sml-font-lock-symbols, sml-font-lock-symbols-alist): New vars.
+ (sml-font-lock-compose-symbol, sml-font-lock-symbols-keywords):
+ New funs.
+ (sml-font-lock-keywords): Use them.
+
+ * sml-compat.el (temp-directory): Get rid of warning.
+
+ * Makefile (install_startup): Don't add to load-path any more.
+
+ * sml-proc.el (sml-make-error): Use match-string.
+ (sml-error-regexp-alist): Merge regexps.
+ (sml-update-cursor): Check sml-temp-file is non-nil.
+
+2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * sml-proc.el (sml-error-regexp-alist): Use new compile.el features
+ if available.
+ (sml-send-region): Remove unused var `file'.
+ (sml-drag-region): Remove unused function.
+ (sml-update-cursor): Use compilation-fake-loc if available.
+ (compilation-goto-locus): Only advise if necessary.
+
+ * sml-mode.el: Add self to load-path in sml-mode-startup.el.
+ (sml-def-skeleton): Try to use the new `system' abbrev flag.
+
2004-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
* testcases.sml: Add a nasty case that is still wrong.
* sml-proc.el (sml-error-regexp-alist): Tune the regexp for sml/nj.
- * sml-mode.el (sml-mode): Batter handle paragraphs in comments.
+ * sml-mode.el (sml-mode): Better handle paragraphs in comments.
(sml-mode-variables): Clean up paragraph settings.
(sml-electric-pipe): Fix a boundary bug.
(sml-indent-starter, sml-get-sym-indent, sml-find-matching-starter):
2000-12-24 Stefan Monnier <monnier@cs.yale.edu>
+ * Release version 3.9.5.
+
* Makefile (install): Also install .el files.
(dist): Don't rely on $CVSROOT.
2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
* sml-util.el (make-temp-dir, make-temp-file, temp-file-dir)
- (delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
+ (delete-temp-dirs): Replace by the make-temp-file from Emacs-21.
(custom-create-map): Add :group arg and allow key to be a list.
- (define-major-mode): Removed (use define-derived-mode instead).
+ (define-major-mode): Remove (use define-derived-mode instead).
(sml-builtin-nested-comments-flag): New var.
(concatq): Remove.
* sml-proc.el (sml-host-name): New var.
- (sml-make-file-name): Replaced by `sml-compile-commands'.
+ (sml-make-file-name): Replace by `sml-compile-commands'.
(sml-config-file): New var.
(sml-compile-commands-alist): New var.
- (inferior-sml-load-hook): Removed.
+ (inferior-sml-load-hook): Remove.
(sml-buffer): Query if the current buffer is not a *sml*.
(inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
compilation-minor-mode's keybindings.
1999-08-11 Stefan Monnier <monnier@cs.yale.edu>
- * release: Version 3.9.3
+ * Release version 3.9.3.
* sml-mode.texi: Somewhat update the doc.
1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
- * release: 3.9.2
+ * Release version 3.9.2
* sml-proc.el (sml-error-regexp-alist): Fix the pathological
font-locking on long lines.
smlnj as well as polyml prompts.
(sml-update-cursor, sml-send-command, inferior-sml-mode):
Make it work with compile.el's `next-error'.
- (sml-temp-threshold): Dropped: Always use a temp file.
+ (sml-temp-threshold): Drop: always use a temp file.
1999-06-10 Stefan Monnier <monnier@cs.yale.edu>