SCM Repository
View of /sml/trunk/sml-mode/TODO
Parent Directory
|
Revision Log
Revision 535 -
(download)
(annotate)
Fri Feb 18 16:49:10 2000 UTC (21 years ago) by monnier
File size: 976 byte(s)
Fri Feb 18 16:49:10 2000 UTC (21 years ago) by monnier
File size: 976 byte(s)
* 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.
* improve M-C-f and M-C-b (they too often don't do the right thing) and add M-C-k and other such sexp-chunked operations. * if indentation is non-obvious, return a list of possible indentations and choose the first unless the current is one of the possible choices. * make `M-x sml-compile' more generic. * allow specifying indentation of dependent keywords (how to indent `in' relative to `let', for example). * use symbols instead of strings for `sym'. * ignore warnings in C-x ` ???? * recognize irrefutable patterns (with "Capital"-heuristics, for example: a regexp like "\\([(),]\\|[_a-z][_a-z0-9]*\\)+"). This can then be used to allow indenting like (fn x => some expressions) * take advantage of text after-the-line (when available) for indentation * obey fixity directives. * right-align "and" with its correspondant. * find the enclosing function's name for add-change-log-entry. * add imenu support * sample indentations to be improved:
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |