SCM Repository
Log of /sml/trunk/sml-mode/sml-defs.el
Sticky Revision: |
Revision 544 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 22 22:56:38 2000 UTC (21 years, 2 months ago) by monnier
File length: 8474 byte(s)
Diff to previous 542
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 22:59:40 2000 UTC (21 years, 2 months ago) by monnier
File length: 8565 byte(s)
Diff to previous 541
*** empty log message ***
Revision 541 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 20:35:43 2000 UTC (21 years, 2 months ago) by monnier
File length: 8560 byte(s)
Diff to previous 535
Pass through checkdoc and use `eval-when-compile' whenever possible for (require 'cl).
Revision 535 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 18 16:49:10 2000 UTC (21 years, 2 months ago) by monnier
File length: 8532 byte(s)
Diff to previous 394
* 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 394 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 9 21:45:51 1999 UTC (21 years, 8 months ago) by monnier
File length: 8366 byte(s)
Diff to previous 378
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 7 14:45:42 1999 UTC (21 years, 9 months ago) by monnier
File length: 8270 byte(s)
Diff to previous 347
* 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 347 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 21 15:08:30 1999 UTC (21 years, 10 months ago) by monnier
File length: 8464 byte(s)
Diff to previous 342
* 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 342 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 19 09:26:38 1999 UTC (21 years, 10 months ago) by monnier
File length: 8266 byte(s)
Diff to previous 341
*** empty log message ***
Revision 341 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 18 19:10:12 1999 UTC (21 years, 10 months ago) by monnier
File length: 8255 byte(s)
Diff to previous 339
* sml-mode.el (sml-insert-form): Only add a space if needed. (sml-electric-space): new command bound to M-SPC.
Revision 339 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 17 16:14:01 1999 UTC (21 years, 10 months ago) by monnier
File length: 8228 byte(s)
Diff to previous 334
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 17 02:43:15 1999 UTC (21 years, 10 months ago) by monnier
File length: 8224 byte(s)
Diff to previous 333
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 15 03:41:26 1999 UTC (21 years, 10 months ago) by monnier
File length: 7507 byte(s)
Diff to previous 332
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 15 00:51:38 1999 UTC (21 years, 10 months ago) by monnier
File length: 7504 byte(s)
Diff to previous 319
*** empty log message ***
Revision 319 - (view) (download) (annotate) - [select for diffs]
Added Mon Jun 7 22:47:00 1999 UTC (21 years, 10 months ago) by monnier
File length: 4760 byte(s)
First seemingly acceptable new code.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |