]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
12 years agoMerge from trunk
Stefan Monnier [Wed, 11 Apr 2012 20:34:52 +0000 (16:34 -0400)]
Merge from trunk

12 years agoUse SMIE by default and make sml-oldindent optional.
Stefan Monnier [Wed, 11 Apr 2012 20:28:24 +0000 (16:28 -0400)]
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.

12 years agoMerge from trunk
Stefan Monnier [Wed, 11 Apr 2012 16:46:36 +0000 (12:46 -0400)]
Merge from trunk

12 years agoMove non-SMIE indentation code to a separate file.
Stefan Monnier [Wed, 11 Apr 2012 16:36:36 +0000 (12:36 -0400)]
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.

12 years agoMerge from trunk
Stefan Monnier [Wed, 11 Apr 2012 15:51:42 +0000 (11:51 -0400)]
Merge from trunk

12 years agoGet rid of ancient compatibility and small utility file.
Stefan Monnier [Wed, 11 Apr 2012 15:40:56 +0000 (11:40 -0400)]
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.

12 years agoMerge from trunk
Stefan Monnier [Wed, 11 Apr 2012 15:07:00 +0000 (11:07 -0400)]
Merge from trunk

12 years agoAdd SMIE support.
Stefan Monnier [Wed, 11 Apr 2012 15:00:58 +0000 (11:00 -0400)]
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.

12 years agoMinor edits.
Stefan Monnier [Fri, 6 Apr 2012 13:15:06 +0000 (09:15 -0400)]
Minor edits.

13 years ago-
Stefan Monnier [Fri, 26 Nov 2010 23:28:09 +0000 (18:28 -0500)]
-

13 years ago-
Stefan Monnier [Fri, 26 Nov 2010 20:03:32 +0000 (15:03 -0500)]
-

13 years ago-
Stefan Monnier [Fri, 12 Nov 2010 23:15:24 +0000 (18:15 -0500)]
-

13 years ago-
Stefan Monnier [Mon, 8 Nov 2010 23:21:03 +0000 (18:21 -0500)]
-

13 years ago-
Stefan Monnier [Mon, 8 Nov 2010 17:05:09 +0000 (12:05 -0500)]
-

13 years ago-
Stefan Monnier [Sun, 7 Nov 2010 21:06:10 +0000 (16:06 -0500)]
-

13 years ago-
Stefan Monnier [Sat, 6 Nov 2010 03:41:52 +0000 (23:41 -0400)]
-

13 years ago-
Stefan Monnier [Fri, 5 Nov 2010 19:26:29 +0000 (15:26 -0400)]
-

13 years ago-
Stefan Monnier [Thu, 4 Nov 2010 21:27:55 +0000 (17:27 -0400)]
-

13 years ago-
Stefan Monnier [Thu, 4 Nov 2010 18:13:26 +0000 (14:13 -0400)]
-

13 years ago-
Stefan Monnier [Tue, 26 Oct 2010 22:28:18 +0000 (18:28 -0400)]
-

14 years ago-
Stefan Monnier [Mon, 14 Jun 2010 14:24:35 +0000 (10:24 -0400)]
-

14 years ago-
Stefan Monnier [Fri, 11 Jun 2010 14:44:51 +0000 (10:44 -0400)]
-

14 years ago-
Stefan Monnier [Mon, 7 Jun 2010 19:43:46 +0000 (15:43 -0400)]
-

14 years ago-
Stefan Monnier [Sun, 6 Jun 2010 13:23:50 +0000 (09:23 -0400)]
-

14 years ago-
Stefan Monnier [Fri, 4 Jun 2010 16:50:11 +0000 (12:50 -0400)]
-

14 years ago-
Stefan Monnier [Thu, 3 Jun 2010 16:39:52 +0000 (12:39 -0400)]
-

14 years ago-
Stefan Monnier [Thu, 3 Jun 2010 15:44:24 +0000 (11:44 -0400)]
-

14 years ago-
Stefan Monnier [Tue, 1 Jun 2010 18:14:17 +0000 (14:14 -0400)]
-

14 years ago-
Stefan Monnier [Fri, 28 May 2010 02:54:37 +0000 (22:54 -0400)]
-

14 years ago-
Stefan Monnier [Thu, 27 May 2010 22:07:59 +0000 (18:07 -0400)]
-

14 years ago-
Stefan Monnier [Thu, 27 May 2010 22:01:05 +0000 (18:01 -0400)]
-

14 years ago-
Stefan Monnier [Thu, 27 May 2010 05:00:16 +0000 (01:00 -0400)]
-

14 years ago-
Stefan Monnier [Tue, 25 May 2010 20:53:55 +0000 (16:53 -0400)]
-

14 years ago-
Stefan Monnier [Tue, 25 May 2010 16:05:02 +0000 (12:05 -0400)]
-

14 years agoUpdate email addresses.
monnier [Thu, 4 Mar 2010 23:57:22 +0000 (23:57 +0000)]
Update email addresses.
(dist): Fix up update to use Svn rather than CVS.

14 years ago* sml-mode.el: Don't setup load-path here any more.
monnier [Thu, 4 Mar 2010 20:07:06 +0000 (20:07 +0000)]
* 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.
* NEWS: Update.

16 years ago* sml-proc.el (inferior-sml-next-error-hook): Make it match one more format.
monnier [Fri, 9 Nov 2007 04:22:02 +0000 (04:22 +0000)]
* sml-proc.el (inferior-sml-next-error-hook): Make it match one more format.

16 years ago* sml-proc.el (inferior-sml-next-error-hook): Make it match one more format.
monnier [Fri, 9 Nov 2007 04:19:00 +0000 (04:19 +0000)]
* sml-proc.el (inferior-sml-next-error-hook): Make it match one more format.

16 years ago(no commit message)
monnier [Wed, 31 Oct 2007 16:51:51 +0000 (16:51 +0000)]

16 years ago(no commit message)
monnier [Wed, 31 Oct 2007 16:29:23 +0000 (16:29 +0000)]

16 years ago(no commit message)
monnier [Wed, 31 Oct 2007 16:28:52 +0000 (16:28 +0000)]

16 years ago(no commit message)
monnier [Wed, 31 Oct 2007 03:07:04 +0000 (03:07 +0000)]

16 years agoMake MLton regexps work in M-x compile.
monnier [Fri, 29 Jun 2007 04:13:04 +0000 (04:13 +0000)]
Make MLton regexps work in M-x compile.

16 years agoMake TAB add a " rather than a space at the end of a file name.
monnier [Fri, 29 Jun 2007 03:48:41 +0000 (03:48 +0000)]
Make TAB add a " rather than a space at the end of a file name.

17 years agoAdd the 'and-go' arg to 'sml-compile'.
monnier [Tue, 26 Jun 2007 17:01:20 +0000 (17:01 +0000)]
Add the 'and-go' arg to 'sml-compile'.

17 years agoFirst cut at support for MLton
monnier [Fri, 15 Jun 2007 00:32:05 +0000 (00:32 +0000)]
First cut at support for MLton

17 years agoDocstring fix
monnier [Thu, 31 May 2007 16:25:27 +0000 (16:25 +0000)]
Docstring fix

17 years agocreated sml-mode dir
blume [Tue, 31 Oct 2006 02:57:30 +0000 (02:57 +0000)]
created sml-mode dir

18 years ago*** empty log message ***
monnier [Sun, 20 Nov 2005 23:46:08 +0000 (23:46 +0000)]
*** empty log message ***

18 years ago(sml-find-match-forward): Avoid infinite looping if the
monnier [Sun, 20 Nov 2005 23:45:58 +0000 (23:45 +0000)]
(sml-find-match-forward): Avoid infinite looping if the
construct is not properly closed (yet).

18 years ago(sml-mode-menu): Remove left over obsolete entries.
monnier [Wed, 16 Nov 2005 23:49:39 +0000 (23:49 +0000)]
(sml-mode-menu): Remove left over obsolete entries.

18 years ago(inferior-sml-mode): Preserve the menu-bar of the
monnier [Wed, 16 Nov 2005 23:49:07 +0000 (23:49 +0000)]
(inferior-sml-mode): Preserve the menu-bar of the
compilation minor mode, if any.

19 years ago*** empty log message ***
monnier [Wed, 8 Dec 2004 03:18:04 +0000 (03:18 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
monnier [Wed, 24 Nov 2004 19:59:47 +0000 (19:59 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
monnier [Wed, 24 Nov 2004 19:40:47 +0000 (19:40 +0000)]
*** empty log message ***

19 years ago(sml-font-lock-symbols-alist): Add yet more silly entries.
monnier [Tue, 23 Nov 2004 05:13:59 +0000 (05:13 +0000)]
(sml-font-lock-symbols-alist): Add yet more silly entries.

19 years ago(sml-font-lock-symbols-alist): Add entries for simple type variables.
monnier [Mon, 15 Nov 2004 23:00:38 +0000 (23:00 +0000)]
(sml-font-lock-symbols-alist): Add entries for simple type variables.
(sml-font-lock-compose-symbol): Add support for non-punctuation syms.

19 years ago(sml-font-lock-symbols-alist): Add entries for >= and <=.
monnier [Mon, 15 Nov 2004 22:36:09 +0000 (22:36 +0000)]
(sml-font-lock-symbols-alist): Add entries for >= and <=.

19 years ago(sml-font-lock-symbols, sml-font-lock-symbols-alist): New vars.
monnier [Mon, 15 Nov 2004 04:11:27 +0000 (04:11 +0000)]
(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.

19 years ago(sml-error-regexp-alist): Merge regexps.
monnier [Mon, 15 Nov 2004 03:51:19 +0000 (03:51 +0000)]
(sml-error-regexp-alist): Merge regexps.
(sml-update-cursor): Check sml-temp-file is non-nil.

19 years ago(sml-backward-sexp, sml-forward-sexp): Remove unused var.
monnier [Mon, 15 Nov 2004 03:50:16 +0000 (03:50 +0000)]
(sml-backward-sexp, sml-forward-sexp): Remove unused var.

19 years ago(temp-directory): Get rid of warning.
monnier [Mon, 15 Nov 2004 03:49:56 +0000 (03:49 +0000)]
(temp-directory): Get rid of warning.

19 years ago(sml-calculate-indentation): Remove unused var.
monnier [Mon, 15 Nov 2004 03:49:46 +0000 (03:49 +0000)]
(sml-calculate-indentation): Remove unused var.
(sml-get-indent): Change first arg's meaning.
(sml-get-sym-indent): Adjust call.
(sml-forms-menu): Simplify.

19 years ago(sml-make-error): Use match-string.
monnier [Mon, 15 Nov 2004 03:26:57 +0000 (03:26 +0000)]
(sml-make-error): Use match-string.

19 years ago(install_startup): Don't add to load-path any more.
monnier [Mon, 15 Nov 2004 03:26:34 +0000 (03:26 +0000)]
(install_startup): Don't add to load-path any more.

20 years ago(sml-error-regexp-alist): Use new compile.el features if available.
monnier [Wed, 21 Apr 2004 21:46:05 +0000 (21:46 +0000)]
(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.

20 years agoAdd self to load-path in sml-mode-startup.el.
monnier [Wed, 21 Apr 2004 20:26:58 +0000 (20:26 +0000)]
Add self to load-path in sml-mode-startup.el.
(sml-def-skeleton): Try to use the new `system' abbrev flag.

20 years ago* testcases.sml: Add a nasty case that is still wrong.
monnier [Sun, 4 Apr 2004 06:17:07 +0000 (06:17 +0000)]
* 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-variables): Clean up paragraph settings.
(sml-electric-pipe): Fix a boundary bug.
(sml-indent-starter, sml-get-sym-indent, sml-find-matching-starter):
Fix indentation algorithm.  Can't remember what it was about.
This code is nasty, I just can't understand what's doing what.
(completion-ignored-extensions): Add the new .cm directory.

20 years ago*** empty log message ***
monnier [Wed, 10 Dec 2003 03:30:22 +0000 (03:30 +0000)]
*** empty log message ***

20 years ago(sml-mode-menu): Fix typo. Use std names.
monnier [Wed, 10 Dec 2003 03:30:06 +0000 (03:30 +0000)]
(sml-mode-menu): Fix typo.  Use std names.
(sml-begin-syms-re): Reduce redundancy.

21 years agoRemove outdated `sml-load-hook'.
monnier [Sun, 12 Jan 2003 19:19:24 +0000 (19:19 +0000)]
Remove outdated `sml-load-hook'.

21 years agoRemove outdated `sml-load-hook'.
monnier [Sun, 12 Jan 2003 18:40:19 +0000 (18:40 +0000)]
Remove outdated `sml-load-hook'.

22 years ago(sml-tyvarseq-re): Fix typo.
monnier [Tue, 18 Sep 2001 18:09:27 +0000 (18:09 +0000)]
(sml-tyvarseq-re): Fix typo.

22 years ago*** empty log message ***
monnier [Fri, 20 Jul 2001 12:52:33 +0000 (12:52 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
monnier [Fri, 20 Jul 2001 12:51:05 +0000 (12:51 +0000)]
*** empty log message ***

22 years ago(sml-rightalign-and): New defcustom.
monnier [Fri, 20 Jul 2001 12:47:33 +0000 (12:47 +0000)]
(sml-rightalign-and): New defcustom.
(sml-tyvarseq-re): New var.
(sml-font-lock-keywords): Use it.
(sml-imenu-create-index): Don't get confused by tyvarseq's.
(sml-mode-variables): Don't set `comment-column'.
(sml-funname-of-and): New function.
(sml-electric-pipe): Use it.
(sml-find-comment-indent): Try to ignore comment-markers in strings.
(sml-calculate-indentation): Handle closing parens specially.
(sml-indent-pipe): Recognize the case where `and' defines a datatype.
(sml-dangling-sym): Make it work if the symbol is an open-paren.
(sml-indent-default): Change the behavior when preceded by `end',
although I'm not quite sure why.
Understand dangling open-parens.
Properly skip *all* subexpressions of lower precedence.
Allow use of sml-symbol-indent to outdent lines starting with , or ;.
(sml-insert-form): Use preceding-char to avoid bug at bobp.

22 years ago(sml-mode-menu): Add an explicit t for always-active.
monnier [Thu, 19 Jul 2001 21:19:15 +0000 (21:19 +0000)]
(sml-mode-menu): Add an explicit t for always-active.
(sml-symbol-indent): Add entries for , and ; and turn into defcustom.

22 years ago(sml-proc-buffer): Save excursion when calling run-sml.
monnier [Thu, 19 Jul 2001 19:24:21 +0000 (19:24 +0000)]
(sml-proc-buffer): Save excursion when calling run-sml.

22 years ago*** empty log message ***
monnier [Thu, 19 Jul 2001 19:18:58 +0000 (19:18 +0000)]
*** empty log message ***

22 years ago(sml-mode-menu): Fix activation of `start compiler'.
monnier [Thu, 19 Jul 2001 19:16:51 +0000 (19:16 +0000)]
(sml-mode-menu): Fix activation of `start compiler'.

22 years ago(sml-syntax-prec): Split ; and , from `in' and `with'.
monnier [Thu, 19 Jul 2001 19:13:07 +0000 (19:13 +0000)]
(sml-syntax-prec): Split ; and , from `in' and `with'.

22 years agoPut the entry in `Emacs' rather than `Editors'.
monnier [Thu, 19 Jul 2001 19:12:28 +0000 (19:12 +0000)]
Put the entry in `Emacs' rather than `Editors'.

22 years ago(BuildArch): Simplify call to `install-info'.
monnier [Thu, 19 Jul 2001 19:12:02 +0000 (19:12 +0000)]
(BuildArch): Simplify call to `install-info'.

22 years ago(sml-mode-menu): Add an explicit t for always-active.
monnier [Thu, 19 Jul 2001 19:11:12 +0000 (19:11 +0000)]
(sml-mode-menu): Add an explicit t for always-active.

22 years agoAdd more stuff. It might help for Emacs-19.34.
monnier [Thu, 19 Jul 2001 19:07:53 +0000 (19:07 +0000)]
Add more stuff.  It might help for Emacs-19.34.

22 years ago(test): Use elisp files in current dir.
monnier [Thu, 19 Jul 2001 19:07:09 +0000 (19:07 +0000)]
(test): Use elisp files in current dir.

22 years agoSome new cases from Makholm Henning.
monnier [Wed, 18 Jul 2001 16:43:27 +0000 (16:43 +0000)]
Some new cases from Makholm Henning.

23 years ago*** empty log message ***
monnier [Sun, 24 Dec 2000 20:06:28 +0000 (20:06 +0000)]
*** empty log message ***

23 years ago(install): Also install .el files.
monnier [Sun, 24 Dec 2000 20:01:56 +0000 (20:01 +0000)]
(install): Also install .el files.
(dist): Don't rely on $CVSROOT.

23 years agoRequire `skeleton'.
monnier [Sun, 24 Dec 2000 19:59:53 +0000 (19:59 +0000)]
Require `skeleton'.
(sml-mode): Add the menu for XEmacs.  Make sure @ is a valid skeleton.
(sml-comment-indent): Remove.
(sml-mode-variables): Don't set comment-indent-function.
(sml-def-skeleton): Nop if skeletons aren't available.
(skeletons): Use `> _' and `@'.
(sml-forms-menu): Don't bother with easy-menu-filter-return crap.
(sml-cm-mode-syntax-table, sml-cm-font-lock-keywords): New vars.
(sml-cm-mode): Use define-derived-mode rather than define-generic-mode.
(sml-lex-font-lock-keywords, sml-lex-font-lock-defaults): New vars.
(sml-yacc-font-lock-keywords): Use sml-lex-font-lock-keywords.
Refine pattern to recognize the %prec keyword.
(sml-yacc-font-lock-defaults): Fix typo.

23 years ago(sml-mode-menu): Remove bogus entry for sml-mode-version.
monnier [Sun, 24 Dec 2000 19:59:41 +0000 (19:59 +0000)]
(sml-mode-menu): Remove bogus entry for sml-mode-version.

23 years agoSimplify/massacre.
monnier [Sun, 24 Dec 2000 19:59:32 +0000 (19:59 +0000)]
Simplify/massacre.

23 years ago(inferior-sml-mode): Disable next-error for XEmacs.
monnier [Sun, 24 Dec 2000 19:59:17 +0000 (19:59 +0000)]
(inferior-sml-mode): Disable next-error for XEmacs.

23 years ago(defsyntax): Don't forget to eval `doc'.
monnier [Sun, 24 Dec 2000 19:59:10 +0000 (19:59 +0000)]
(defsyntax): Don't forget to eval `doc'.

23 years agoTypo
monnier [Sat, 7 Oct 2000 02:35:08 +0000 (02:35 +0000)]
Typo

23 years ago*** empty log message ***
monnier [Sat, 7 Oct 2000 02:27:54 +0000 (02:27 +0000)]
*** empty log message ***

23 years agoMake the toplevel closer to usual practice.
monnier [Sat, 7 Oct 2000 02:21:59 +0000 (02:21 +0000)]
Make the toplevel closer to usual practice.
(sml-imenu-regexp, sml-imenu-create-index): New var and fun.
(sml-mode): Use them.
(sml-beginning-of-defun): Add `and' as function-leader.
(sml-lex-mode): New trivial mode.
(sml-yacc-bnf-face, sml-yacc-indent-action, sml-yacc-indent-pipe)
(sml-yacc-indent-term, sml-yacc-font-lock-keywords)
(sml-yacc-font-lock-defaults): New vars.
(sml-yacc-indent-line, sml-yacc-indentation, sml-yacc-mode): New funs.

23 years ago* sml-mode.texi: Added yours truly to the list of authors.
monnier [Sat, 7 Oct 2000 02:21:46 +0000 (02:21 +0000)]
* sml-mode.texi: Added yours truly to the list of authors.
* sml-mode.spec: New file.
* sml-defs.el (sml-outline-regexp): Slightly improved regexp.

23 years ago* sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
monnier [Thu, 24 Aug 2000 19:35:39 +0000 (19:35 +0000)]
* sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
Add the binding for C-c C-l explicitly instead.
(sml-run): Look in cwd (but only if the command has slashes).

* sml-mode.el (sml-mode-abbrev-table): Remove (created by
define-derived-mode).
(sml-mode): Setup add-log's current-defun-function.
(sml-indent-line): Never indent to a negative level.
(sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components)
(sml-current-fun-name): New funs and vars for add-log support.
(sml-comment-indent): Simplify.
(sml-def-skeleton): Also create the skeleton as an abbrev.
(skeletons): New for "struct", "sig", "val", "fn" and "fun".
(sml-electric-space): Rewrite to use abbrev's machinery.

* sml-defs.el (sml-mode-map): merge with sml-bindings.
(sml-bindings): Remove.

24 years agofixed misplaced expand-file-name in sml-proc.el
blume [Mon, 6 Mar 2000 07:20:58 +0000 (07:20 +0000)]
fixed misplaced expand-file-name in sml-proc.el