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

SCM Repository

[smlnj] Log of /sml/trunk/sml-mode
ViewVC logotype

Log of /sml/trunk/sml-mode

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 2068)

Revision 1478 - Directory Listing
Modified Wed Apr 21 22:46:05 2004 UTC (15 years, 6 months ago) by monnier
(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.

Revision 1477 - Directory Listing
Modified Wed Apr 21 21:26:58 2004 UTC (15 years, 6 months ago) by monnier
Add self to load-path in sml-mode-startup.el.
(sml-def-skeleton): Try to use the new `system' abbrev flag.

Revision 1472 - Directory Listing
Modified Sun Apr 4 07:17:07 2004 UTC (15 years, 6 months ago) by monnier
* 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.

Revision 1432 - Directory Listing
Modified Wed Dec 10 03:30:22 2003 UTC (15 years, 10 months ago) by monnier
*** empty log message ***

Revision 1431 - Directory Listing
Modified Wed Dec 10 03:30:06 2003 UTC (15 years, 10 months ago) by monnier
(sml-mode-menu): Fix typo.  Use std names.
(sml-begin-syms-re): Reduce redundancy.

Revision 1299 - Directory Listing
Modified Sun Jan 12 19:19:24 2003 UTC (16 years, 9 months ago) by monnier
Remove outdated `sml-load-hook'.

Revision 1298 - Directory Listing
Modified Sun Jan 12 18:40:19 2003 UTC (16 years, 9 months ago) by monnier
Remove outdated `sml-load-hook'.

Revision 931 - Directory Listing
Modified Tue Sep 18 19:09:27 2001 UTC (18 years, 1 month ago) by monnier
(sml-tyvarseq-re): Fix typo.

Revision 894 - Directory Listing
Modified Fri Jul 20 13:52:33 2001 UTC (18 years, 3 months ago) by monnier
*** empty log message ***

Revision 893 - Directory Listing
Modified Fri Jul 20 13:51:05 2001 UTC (18 years, 3 months ago) by monnier
*** empty log message ***

Revision 892 - Directory Listing
Modified Fri Jul 20 13:47:33 2001 UTC (18 years, 3 months ago) by monnier
(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.

Revision 891 - Directory Listing
Modified Thu Jul 19 22:19:15 2001 UTC (18 years, 3 months ago) by monnier
(sml-mode-menu): Add an explicit t for always-active.
(sml-symbol-indent): Add entries for , and ; and turn into defcustom.

Revision 888 - Directory Listing
Modified Thu Jul 19 20:24:21 2001 UTC (18 years, 3 months ago) by monnier
(sml-proc-buffer): Save excursion when calling run-sml.

Revision 887 - Directory Listing
Modified Thu Jul 19 20:18:58 2001 UTC (18 years, 3 months ago) by monnier
*** empty log message ***

Revision 886 - Directory Listing
Modified Thu Jul 19 20:16:51 2001 UTC (18 years, 3 months ago) by monnier
(sml-mode-menu): Fix activation of `start compiler'.

Revision 885 - Directory Listing
Modified Thu Jul 19 20:13:07 2001 UTC (18 years, 3 months ago) by monnier
(sml-syntax-prec): Split ; and , from `in' and `with'.

Revision 884 - Directory Listing
Modified Thu Jul 19 20:12:28 2001 UTC (18 years, 3 months ago) by monnier
Put the entry in `Emacs' rather than `Editors'.

Revision 883 - Directory Listing
Modified Thu Jul 19 20:12:02 2001 UTC (18 years, 3 months ago) by monnier
(BuildArch): Simplify call to `install-info'.

Revision 882 - Directory Listing
Modified Thu Jul 19 20:11:12 2001 UTC (18 years, 3 months ago) by monnier
(sml-mode-menu): Add an explicit t for always-active.

Revision 881 - Directory Listing
Modified Thu Jul 19 20:07:53 2001 UTC (18 years, 3 months ago) by monnier
Add more stuff.  It might help for Emacs-19.34.

Revision 880 - Directory Listing
Modified Thu Jul 19 20:07:09 2001 UTC (18 years, 3 months ago) by monnier
(test): Use elisp files in current dir.

Revision 878 - Directory Listing
Modified Wed Jul 18 17:43:27 2001 UTC (18 years, 3 months ago) by monnier
Some new cases from Makholm Henning.

Revision 770 - Directory Listing
Modified Sun Dec 24 20:06:28 2000 UTC (18 years, 10 months ago) by monnier
*** empty log message ***

Revision 769 - Directory Listing
Modified Sun Dec 24 20:01:56 2000 UTC (18 years, 10 months ago) by monnier
(install): Also install .el files.
(dist): Don't rely on $CVSROOT.

Revision 768 - Directory Listing
Modified Sun Dec 24 19:59:53 2000 UTC (18 years, 10 months ago) by monnier
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.

Revision 767 - Directory Listing
Modified Sun Dec 24 19:59:41 2000 UTC (18 years, 10 months ago) by monnier
(sml-mode-menu): Remove bogus entry for sml-mode-version.

Revision 766 - Directory Listing
Modified Sun Dec 24 19:59:32 2000 UTC (18 years, 10 months ago) by monnier
Simplify/massacre.

Revision 765 - Directory Listing
Modified Sun Dec 24 19:59:17 2000 UTC (18 years, 10 months ago) by monnier
(inferior-sml-mode): Disable next-error for XEmacs.

Revision 764 - Directory Listing
Modified Sun Dec 24 19:59:10 2000 UTC (18 years, 10 months ago) by monnier
(defsyntax): Don't forget to eval `doc'.

Revision 709 - Directory Listing
Modified Sat Oct 7 03:35:08 2000 UTC (19 years ago) by monnier
Typo

Revision 708 - Directory Listing
Modified Sat Oct 7 03:27:54 2000 UTC (19 years ago) by monnier
*** empty log message ***

Revision 707 - Directory Listing
Modified Sat Oct 7 03:21:59 2000 UTC (19 years ago) by monnier
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.

Revision 706 - Directory Listing
Modified Sat Oct 7 03:21:46 2000 UTC (19 years ago) by monnier
* 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.

Revision 700 - Directory Listing
Modified Thu Aug 24 20:35:39 2000 UTC (19 years, 2 months ago) by monnier
* 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.

Revision 566 - Directory Listing
Modified Mon Mar 6 07:20:58 2000 UTC (19 years, 7 months ago) by blume
fixed misplaced expand-file-name in sml-proc.el

Revision 544 - Directory Listing
Modified Tue Feb 22 22:56:38 2000 UTC (19 years, 8 months ago) by monnier
* 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.

Revision 542 - Directory Listing
Modified Fri Feb 18 22:59:40 2000 UTC (19 years, 8 months ago) by monnier
*** empty log message ***

Revision 541 - Directory Listing
Modified Fri Feb 18 20:35:43 2000 UTC (19 years, 8 months ago) by monnier
Pass through checkdoc and use `eval-when-compile' whenever
possible for (require 'cl).

Revision 536 - Directory Listing
Modified Fri Feb 18 16:51:54 2000 UTC (19 years, 8 months ago) by monnier
*** empty log message ***

Revision 535 - Directory Listing
Modified Fri Feb 18 16:49:10 2000 UTC (19 years, 8 months ago) by monnier
* sml-util.el (make-temp-dir, make-temp-file, temp-file-dir,
  delete-temp-dirs): Replaced 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).
(sml-builtin-nested-comments-flag): New var.

* sml-proc.el (sml-host-name): New var.
(sml-make-file-name): Replaced by `sml-compile-commands'.
(sml-config-file): New var.
(sml-compile-commands-alist): New var.
(inferior-sml-load-hook): Removed.
(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.
(run-sml): Turn into an alias for sml-run.
(sml-run): Query the user for the command.  If prefix is set (or if
  default value is not null) query for args and host.  Use `split-string'
  rather than our own function.  Run cmd on another host if requested and
  pass it an init file if it exists.  Pop to the buffer at the end.
(sml-args-to-list): Remove.
(sml-compile): Look for special files (sml-compile-command-alist) in
  the current dir (and its parents) to choose a default command.  Remember
  the command for next time in the same buffer.  Make the `cd' explicit in
  the command so the user can change it.
(sml-make-error): Fix for when `endline' is absent.

* sml-mode.el: Pass it rhough checkdoc.
(sml-mode-version): Remove.
(sml-load-hook): Remove.
(sml-mode-info): Use `info' rather than `Info-goto-node'.
(sml-keywords-regexp): Add "o".
(sml-syntax-prop-table): Use `defsyntax'.
(sml-font-lock-syntactic-keywords): Only use nested comments if supported.
(sml-mode): Use `define-derived-mode'.
(sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
(sml-indent-line): Use `indent-line-to'.
(sml-cm-mode): New mode for CM files.

* Makefile: Update.

* sml-mode-startup.el: Remove since it's now autogenerated.

* sml-defs.el (sml-bindings): Remove left over C-c` binding.
(sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
(sml-mode-syntax-table): Only use nested comments if supported.
(sml-mode-menu): Use next-error rather than the old sml-next-error.
(sml-pipehead-re): Remove "of".

* sml-compat.el (set-keymap-=parents): Make sure it also works when called
  with a single keymap rather than a list.
(temporary-file-directory): Add a default definition for XEmacs.
(make-temp-file): New function.

Revision 395 - Directory Listing
Modified Wed Aug 11 20:48:17 1999 UTC (20 years, 2 months ago) by monnier
* sml-mode.texi:  somewhat updated the doc.
* release 3.9.3

Revision 394 - Directory Listing
Modified Mon Aug 9 21:45:51 1999 UTC (20 years, 2 months ago) by monnier
* Makefile: updated to the version of pcl-cvs.
* sml-proc.el: eliminated some old unused code.
* sml-defs.el,sml-mode.el,sml-proc.el: added simple customize support.

Revision 378 - Directory Listing
Modified Wed Jul 7 14:45:42 1999 UTC (20 years, 3 months ago) by monnier
* sml-proc.el (sml-update-cursor): make sure it also works if compile.el
  is fixed to uses a marker.
* sml-mode.el (sml-indent): fix the `fixindent'.

Revision 350 - Directory Listing
Modified Wed Jun 23 00:38:58 1999 UTC (20 years, 4 months ago) by monnier
* sml-mode-startup.el: fixed to fulfill autoload.el assumptions.

Revision 347 - Directory Listing
Modified Mon Jun 21 15:08:30 1999 UTC (20 years, 4 months ago) by monnier
* sml-defs.el (sml-bindings): removed bindings for TAB and M-C-\
* sml-mode.el (sml-font-lock-keywords): skip type vars in "fun 'a myfn"
(sml-calculate-indentation): add a hack to allow the user to manually
  override the indentation algorithm with a magic comment.
* sml-mode-startup.el: update the autoloads automatically.

Revision 343 - Directory Listing
Modified Sat Jun 19 09:29:33 1999 UTC (20 years, 4 months ago) by monnier
* sml-proc.el (sml-error-regexp-alist): solved the pathological
  font-locking on long lines.

* sml-move.el (sml-forward-sexp): slightly improved.

Revision 342 - Directory Listing
Modified Sat Jun 19 09:26:38 1999 UTC (20 years, 4 months ago) by monnier
*** empty log message ***

Revision 341 - Directory Listing
Modified Fri Jun 18 19:10:12 1999 UTC (20 years, 4 months ago) by monnier
* sml-mode.el (sml-insert-form): Only add a space if needed.
(sml-electric-space): new command bound to M-SPC.

Revision 339 - Directory Listing
Modified Thu Jun 17 16:14:01 1999 UTC (20 years, 4 months ago) by monnier
* sml-defs.el (sml-close-paren): added a second field that specifies when
  not to delegate.  Used for zero-indent single-line `if..else'.

Revision 334 - Directory Listing
Modified Thu Jun 17 02:43:15 1999 UTC (20 years, 4 months ago) by monnier
* sml-move.el (sml-(for|back)ward-sym): distinguishes between
  operator "=" and syntax for definitions "d=".
* sml-defs.el (sml-indent-starters, sml-delegate): simplified.
(sml-symbol-indent): added outdentation for `fn' and generalized it to
  also work for `of' and `in' and `end'.
* sml-mode.el (sml-nested-if-indent): reintroduced as well as the special
  casing code for it.
(sml-indent-relative): generalize the treatment of `of', `in', `end', ...
(sml-electric-pipe): removed the slow behavior and added smarts for the
  never-used type-variable arguments for function definitions.
* sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu): make the menu
  dynamically.
* sml-mode.el (sml-form-<foo>): use skeletons.
(sml-calculate-indentation): added `with' indentation.

Revision 333 - Directory Listing
Modified Tue Jun 15 03:41:26 1999 UTC (20 years, 4 months ago) by monnier
* sml-move.el (sml-(for|back)ward-sym): now also return the string if any
  and take care of the "op" special keyword.
(sml-op-prec): setup an alist for the infix operators.
* version 3.9.1:  sent to Roland McGrath.

Revision 332 - Directory Listing
Modified Tue Jun 15 00:51:38 1999 UTC (20 years, 4 months ago) by monnier
*** empty log message ***

Revision 328 - Directory Listing
Modified Thu Jun 10 22:31:41 1999 UTC (20 years, 4 months ago) by monnier
*** empty log message ***

Revision 319 - Directory Listing
Modified Mon Jun 7 22:47:00 1999 UTC (20 years, 4 months ago) by monnier
First seemingly acceptable new code.

Revision 300 - Directory Listing
Modified Thu May 27 22:01:36 1999 UTC (20 years, 4 months ago) by monnier
*** empty log message ***

Revision 156 - Directory Listing
Modified Mon Oct 12 01:12:05 1998 UTC (21 years ago) by monnier
*** empty log message ***

Revision 155 - Directory Listing
Modified Mon Oct 12 00:50:55 1998 UTC (21 years ago) by monnier
*** empty log message ***

Revision 39 - Directory Listing
Modified Sat Mar 14 04:41:37 1998 UTC (21 years, 7 months ago) by monnier
*** empty log message ***

Revision 38 - Directory Listing
Modified Fri Mar 13 20:31:45 1998 UTC (21 years, 7 months ago) by monnier
*** empty log message ***

Revision 37 - Directory Listing
Modified Fri Mar 13 20:07:49 1998 UTC (21 years, 7 months ago) by monnier
*** empty log message ***

Revision 36 - Directory Listing
Modified Fri Mar 13 17:58:26 1998 UTC (21 years, 7 months ago) by monnier
renamed sml into run-sml

Revision 35 - Directory Listing
Modified Fri Mar 13 15:54:50 1998 UTC (21 years, 7 months ago) by monnier
Initial revision

Revision 34 - Directory Listing
Modified Fri Mar 13 15:53:41 1998 UTC (21 years, 7 months ago) by monnier
*** empty log message ***

Revision 33 - Directory Listing
Modified Thu Mar 12 16:57:15 1998 UTC (21 years, 7 months ago) by monnier
*** empty log message ***

Revision 32 - Directory Listing
Added Thu Mar 12 16:54:39 1998 UTC (21 years, 7 months ago) by monnier
Initial revision

Sort log by:

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0