1 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
3 * *.el: Pass through checkdoc and use `eval-when-compile' whenever
4 possible for (require 'cl).
6 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
8 * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir,
9 delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
10 (custom-create-map): add :group arg and allow key to be a list.
11 (define-major-mode): Removed (use define-derived-mode instead).
12 (sml-builtin-nested-comments-flag): New var.
15 * sml-proc.el (sml-host-name): New var.
16 (sml-make-file-name): Replaced by `sml-compile-commands'.
17 (sml-config-file): New var.
18 (sml-compile-commands-alist): New var.
19 (inferior-sml-load-hook): Removed.
20 (sml-buffer): Query if the current buffer is not a *sml*.
21 (inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
22 compilation-minor-mode's keybindings.
23 (run-sml): Turn into an alias for sml-run.
24 (sml-run): Query the user for the command. If prefix is set (or if
25 default value is not null) query for args and host. Use `split-string'
26 rather than our own function. Run cmd on another host if requested and
27 pass it an init file if it exists. Pop to the buffer at the end.
28 (sml-args-to-list): Remove.
29 (sml-compile): Look for special files (sml-compile-command-alist) in
30 the current dir (and its parents) to choose a default command. Remember
31 the command for next time in the same buffer. Make the `cd' explicit in
32 the command so the user can change it.
33 (sml-make-error): Fix for when `endline' is absent.
35 * sml-mode.el: Pass it through checkdoc.
36 (sml-mode-version): Remove.
37 (sml-load-hook): Remove.
38 (sml-mode-info): Use `info' rather than `Info-goto-node'.
39 (sml-keywords-regexp): Add "o".
40 (sml-syntax-prop-table): Use `defsyntax'.
41 (sml-font-lock-syntactic-keywords): Only use nested comments if supported.
42 (sml-mode): Use `define-derived-mode'.
43 (sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
44 (sml-indent-line): Use `indent-line-to'.
45 (sml-cm-mode): New mode for CM files.
49 * sml-mode-startup.el: Remove since it's now autogenerated.
51 * sml-defs.el (sml-bindings): Remove left over C-c` binding.
52 (sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
53 (sml-mode-syntax-table): Only use nested comments if supported.
54 (sml-mode-menu): Use next-error rather than the old sml-next-error.
55 (sml-pipehead-re): Remove "of".
57 * sml-compat.el (set-keymap-=parents): Make sure it also works when called
58 with a single keymap rather than a list.
59 (temporary-file-directory): Add a default definition for XEmacs.
60 (make-temp-file): New function.
62 1999-08-11 Stefan Monnier <monnier@cs.yale.edu>
64 * release: version 3.9.3
66 * sml-mode.texi: somewhat updated the doc.
68 1999-08-09 Stefan Monnier <monnier@cs.yale.edu>
70 * Makefile: updated to the version of pcl-cvs.
72 * sml-proc.el: eliminated some old unused code.
74 * sml-defs.el,sml-mode.el,sml-proc.el: added simple customize support.
76 1999-07-07 Stefan Monnier <monnier@cs.yale.edu>
78 * sml-proc.el (sml-update-cursor): make sure it also works if compile.el
79 is fixed to uses a marker.
81 * sml-mode.el (sml-indent): fix the `fixindent'.
83 1999-06-22 Stefan Monnier <monnier@cs.yale.edu>
85 * sml-mode-startup.el: fixed to fulfill autoload.el assumptions.
87 1999-06-21 Stefan Monnier <monnier@cs.yale.edu>
89 * sml-defs.el (sml-bindings): removed bindings for TAB and M-C-\
91 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
93 * sml-mode.el (sml-font-lock-keywords): skip type vars in "fun 'a myfn"
94 (sml-calculate-indentation): add a hack to allow the user to manually
95 override the indentation algorithm with a magic comment.
97 * sml-mode-startup.el: update the autoloads automatically.
99 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
103 * sml-proc.el (sml-error-regexp-alist): solved the pathological
104 font-locking on long lines.
106 * sml-move.el (sml-forward-sexp): slightly improved.
108 1999-06-17 Stefan Monnier <monnier@cs.yale.edu>
110 * sml-mode.el (sml-insert-form): Only add a space if needed.
111 (sml-electric-space): new command bound to M-SPC.
113 * sml-defs.el (sml-close-paren): added a second field that specifies when
114 not to delegate. Only used for `else'.
116 1999-06-16 Stefan Monnier <monnier@cs.yale.edu>
118 * sml-move.el (sml-(for|back)ward-sym): distinguishes between
119 operator "=" and syntax for definitions "d=".
121 * sml-defs.el (sml-indent-starters, sml-delegate): simplified.
122 (sml-symbol-indent): added outdentation for `fn' and generalized it to
123 also work for `of' and `in' and `end'.
125 * sml-mode.el (sml-nested-if-indent): reintroduced as well as the special
127 (sml-indent-relative): generalize the treatment of `of', `in', `end', ...
128 (sml-electric-pipe): removed the slow behavior and added smarts for the
129 never-used type-variable arguments for function definitions.
131 1999-06-15 Stefan Monnier <monnier@cs.yale.edu>
133 * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu): make the menu
136 * sml-mode.el (sml-form-<foo>): use skeletons.
137 (sml-calculate-indentation): added `with' indentation.
139 1999-06-14 Stefan Monnier <monnier@cs.yale.edu>
141 * sml-move.el (sml-(for|back)ward-sym): now also return the string if any
142 and take care of the "op" special keyword.
143 (sml-op-prec): setup an alist for the infix operators.
145 * version 3.9.1: sent to Roland McGrath.
147 1999-06-13 Stefan Monnier <monnier@cs.yale.edu>
149 * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: removed.
151 * sml-proc.el (...): got rid of sml-next-error by spicing up the interface
152 with compile.el so that intervals can be displayed. `sml-overlay' is
153 kept (and moved from sml-mode to sml-proc where it belongs) but is
154 made redundant in the case of transient-mark-mode.
156 1999-06-12 Stefan Monnier <monnier@cs.yale.edu>
158 * sml-proc.el (sml-prompt-regexp): more general regexp to catch mosml,
159 smlnj as well as polyml prompts.
160 (sml-update-cursor, sml-send-command, inferior-sml-mode): make it work
161 with compile.el's `next-error'.
162 (sml-temp-threshold): dropped: always use a temp file.
164 1999-06-10 Stefan Monnier <monnier@cs.yale.edu>
166 * sml-move.el (sml-op-prec): updated the list of default infix ops based on
167 sml/nj's source files.
169 1999-06-08 Stefan Monnier <monnier@cs.yale.edu>
171 * sml-proc.el (sml-run): removed dubious code to take care of a supposedly
172 special case in order not to sent "" when args=nil.
174 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
176 * sml-mode.el (sml-font-lock-syntactic-keywords): added syntactic
177 fontification for the ' \"' case (exhibited by lexgen.sml).
179 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
181 * ALL: the new indentation begins to work. v3_9_0
183 1999-05-29 Stefan Monnier <monnier@cs.yale.edu>
185 * sml-defs.el (sml-mode-syntax-table): added ~ of prefix-syntax.
187 * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is only
188 applied if the `let' is alone at the end of the line.
189 (sml-type-of-indent): default changed to `nil'.
191 1999-05-28 Stefan Monnier <monnier@cs.yale.edu>
193 * sml-mode.el (sml-font-lock-keywords): changed _ and ' back to word
194 syntax for font-locking.
196 1999-05-27 Stefan Monnier <monnier@cs.yale.edu>
198 * sml-mode.el (sml-font-lock-syntactic-keywords): finally got the
199 matching of let...end working.
200 (sml-electric-pipe): take a fun sexp (symbol) rather than a fun word.
202 1998-10-26 Stefan Monnier <monnier@cs.yale.edu>
204 * sml-mode.el (sml-font-lock-syntactic-keywords): added syntactic-keywords
205 to support nested comments.