]> code.delx.au - gnu-emacs-elpa/blob - ChangeLog
*** empty log message ***
[gnu-emacs-elpa] / ChangeLog
1 2003-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * sml-defs.el (sml-mode-menu): Fix typo. Use std names.
4 (sml-begin-syms-re): Reduce redundancy.
5
6 2001-09-18 Stefan Monnier <monnier@cs.yale.edu>
7
8 * sml-mode.el (sml-tyvarseq-re): Fix typo.
9
10 2001-07-20 Stefan Monnier <monnier@cs.yale.edu>
11
12 * sml-mode.el (sml-rightalign-and): New defcustom.
13 (sml-tyvarseq-re): New var.
14 (sml-font-lock-keywords): Use it.
15 (sml-imenu-create-index): Don't get confused by tyvarseq's.
16 (sml-mode-variables): Don't set `comment-column'.
17 (sml-funname-of-and): New function.
18 (sml-electric-pipe): Use it.
19 (sml-find-comment-indent): Try to ignore comment-markers in strings.
20 (sml-calculate-indentation): Handle closing parens specially.
21 (sml-indent-pipe): Recognize the case where `and' defines a datatype.
22 (sml-dangling-sym): Make it work if the symbol is an open-paren.
23 (sml-indent-default): Change the behavior when preceded by `end',
24 although I'm not quite sure why.
25 Understand dangling open-parens.
26 Properly skip *all* subexpressions of lower precedence.
27 Allow use of sml-symbol-indent to outdent lines starting with , or ;.
28 (sml-insert-form): Use preceding-char to avoid bug at bobp.
29
30 2001-07-19 Stefan Monnier <monnier@cs.yale.edu>
31
32 * sml-proc.el (sml-proc-buffer): Save excursion when calling run-sml.
33
34 * sml-move.el (sml-syntax-prec): Split ; and , from `in' and `with'.
35
36 * sml-mode.texi: Put the entry in `Emacs' rather than `Editors'.
37
38 * sml-mode.spec (BuildArch): Simplify call to `install-info'.
39
40 * sml-defs.el (sml-mode-menu): Add an explicit t for always-active.
41 (sml-symbol-indent): Add entries for , and ; and turn into defcustom.
42
43 * sml-compat.el: Add more stuff. It might help for Emacs-19.34.
44
45 * makefile.pkg (test): Use elisp files in current dir.
46
47 2000-12-24 Stefan Monnier <monnier@cs.yale.edu>
48
49 * Makefile (install): Also install .el files.
50 (dist): Don't rely on $CVSROOT.
51
52 * sml-mode.el: Require `skeleton'.
53 (sml-mode): Add the menu for XEmacs. Make sure @ is a valid skeleton.
54 (sml-comment-indent): Remove.
55 (sml-mode-variables): Don't set comment-indent-function.
56 (sml-def-skeleton): Nop if skeletons aren't available.
57 (skeletons): Use `> _' and `@'.
58 (sml-forms-menu): Don't bother with easy-menu-filter-return crap.
59 (sml-cm-mode-syntax-table, sml-cm-font-lock-keywords): New vars.
60 (sml-cm-mode): Use define-derived-mode rather than define-generic-mode.
61 (sml-lex-font-lock-keywords, sml-lex-font-lock-defaults): New vars.
62 (sml-yacc-font-lock-keywords): Use sml-lex-font-lock-keywords.
63 Refine pattern to recognize the %prec keyword.
64 (sml-yacc-font-lock-defaults): Fix typo.
65
66 * sml-proc.el (inferior-sml-mode): Disable next-error for XEmacs.
67
68 * sml-util.el (defsyntax): Don't forget to eval `doc'.
69
70 * sml-mode.spec: Simplify.
71
72 * sml-defs.el (sml-mode-menu): Remove bogus entry for sml-mode-version.
73
74 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
75
76 * sml-mode.el: Make the toplevel closer to usual practice.
77 (sml-imenu-regexp, sml-imenu-create-index): New var and fun.
78 (sml-mode): Use them.
79 (sml-beginning-of-defun): Add `and' as function-leader.
80 (sml-lex-mode): New trivial mode.
81 (sml-yacc-bnf-face, sml-yacc-indent-action, sml-yacc-indent-pipe)
82 (sml-yacc-indent-term, sml-yacc-font-lock-keywords)
83 (sml-yacc-font-lock-defaults): New vars.
84 (sml-yacc-indent-line, sml-yacc-indentation, sml-yacc-mode): New funs.
85
86 * sml-mode.texi: Added yours truly to the list of authors.
87
88 * sml-mode.spec: New file.
89
90 * sml-defs.el (sml-outline-regexp): Slightly improved regexp.
91
92 2000-08-24 Stefan Monnier <monnier@cs.yale.edu>
93
94 * sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
95 Add the binding for C-c C-l explicitly instead.
96 (sml-run): Look in cwd (but only if the command has slashes).
97
98 * sml-mode.el (sml-mode-abbrev-table): Remove (created by
99 define-derived-mode).
100 (sml-mode): Setup add-log's current-defun-function.
101 (sml-indent-line): Never indent to a negative level.
102 (sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components)
103 (sml-current-fun-name): New funs and vars for add-log support.
104 (sml-comment-indent): Simplify.
105 (sml-def-skeleton): Also create the skeleton as an abbrev.
106 (skeletons): New for "struct", "sig", "val", "fn" and "fun".
107 (sml-electric-space): Rewrite to use abbrev's machinery.
108
109 * sml-defs.el (sml-mode-map): Merge with sml-bindings.
110 (sml-bindings): Remove.
111
112 2000-02-22 Stefan Monnier <monnier@cs.yale.edu>
113
114 * sml-mode.el (sml-find-matching-starter): Use syms instead of a RE.
115 (sml-indent-default): Use symbol membership rather than a regexp.
116 Also, use `sym-indent' instead of (current-column).
117 This fixes a problem with a hanging `structure Foo = (struct|let)'
118 (due to `structure' having a sml-indent-rule, as opposed to `fun').
119 Hopefully it won't introduce other problems.
120 (sml-font-lock-keywords): Match vars `val x : int' also.
121 (sml-electric-pipe): Update to the new `sml-find-matching-starter' and
122 return a sensible default instead of raising an error in case of
123 unexpected situations.
124 (sml-indent-line): Ignore errors and keep the cursor where it is.
125 (sml-calculate-indentation, sml-indent-pipe): Use syms instead of REs.
126
127 * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
128
129 * testcases.sml: New file.
130
131 * makefile.pkg (test): New target to run the test suite.
132
133 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
134
135 * *.el: Pass through checkdoc and use `eval-when-compile' whenever
136 possible for (require 'cl).
137
138 2000-02-18 Stefan Monnier <monnier@cs.yale.edu>
139
140 * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir)
141 (delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
142 (custom-create-map): Add :group arg and allow key to be a list.
143 (define-major-mode): Removed (use define-derived-mode instead).
144 (sml-builtin-nested-comments-flag): New var.
145 (concatq): Remove.
146
147 * sml-proc.el (sml-host-name): New var.
148 (sml-make-file-name): Replaced by `sml-compile-commands'.
149 (sml-config-file): New var.
150 (sml-compile-commands-alist): New var.
151 (inferior-sml-load-hook): Removed.
152 (sml-buffer): Query if the current buffer is not a *sml*.
153 (inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
154 compilation-minor-mode's keybindings.
155 (run-sml): Turn into an alias for sml-run.
156 (sml-run): Query the user for the command. If prefix is set (or if
157 default value is not null) query for args and host.
158 Use `split-string' rather than our own function.
159 Run cmd on another host if requested and pass it an init file.
160 Pop to the buffer at the end.
161 (sml-args-to-list): Remove.
162 (sml-compile): Look for special files (sml-compile-command-alist) in
163 the current dir (and its parents) to choose a default command.
164 Remember the command for next time in the same buffer.
165 Make the `cd' explicit in the command so the user can change it.
166 (sml-make-error): Fix for when `endline' is absent.
167
168 * sml-mode.el: Pass it through checkdoc.
169 (sml-mode-version): Remove.
170 (sml-load-hook): Remove.
171 (sml-mode-info): Use `info' rather than `Info-goto-node'.
172 (sml-keywords-regexp): Add "o".
173 (sml-syntax-prop-table): Use `defsyntax'.
174 (sml-font-lock-syntactic-keywords): Only use nested comments if supported.
175 (sml-mode): Use `define-derived-mode'.
176 (sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
177 (sml-indent-line): Use `indent-line-to'.
178 (sml-cm-mode): New mode for CM files.
179
180 * Makefile: Update.
181
182 * sml-mode-startup.el: Remove since it's now auto-generated.
183
184 * sml-defs.el (sml-bindings): Remove left over C-c` binding.
185 (sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
186 (sml-mode-syntax-table): Only use nested comments if supported.
187 (sml-mode-menu): Use next-error rather than the old sml-next-error.
188 (sml-pipehead-re): Remove "of".
189
190 * sml-compat.el (set-keymap-parents): Make sure it also works when
191 called with a single keymap rather than a list.
192 (temporary-file-directory): Add a default definition for XEmacs.
193 (make-temp-file): New function.
194
195 1999-08-11 Stefan Monnier <monnier@cs.yale.edu>
196
197 * release: Version 3.9.3
198
199 * sml-mode.texi: Somewhat update the doc.
200
201 1999-08-09 Stefan Monnier <monnier@cs.yale.edu>
202
203 * Makefile: Update to the version of pcl-cvs.
204
205 * sml-proc.el: Eliminate some old unused code.
206
207 * sml-defs.el,sml-mode.el,sml-proc.el: Add simple customize support.
208
209 1999-07-07 Stefan Monnier <monnier@cs.yale.edu>
210
211 * sml-proc.el (sml-update-cursor): Make sure it also works if
212 compile.el is fixed to uses a marker.
213
214 * sml-mode.el (sml-indent): Fix the `fixindent'.
215
216 1999-06-22 Stefan Monnier <monnier@cs.yale.edu>
217
218 * sml-mode-startup.el: Fix to fulfill autoload.el assumptions.
219
220 1999-06-21 Stefan Monnier <monnier@cs.yale.edu>
221
222 * sml-defs.el (sml-bindings): Remove bindings for TAB and M-C-\.
223
224 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
225
226 * sml-mode.el (sml-font-lock-keywords): Skip type vars in "fun 'a myfn"
227 (sml-calculate-indentation): Add a hack to allow the user to manually
228 override the indentation algorithm with a magic comment.
229
230 * sml-mode-startup.el: Update the autoloads automatically.
231
232 1999-06-19 Stefan Monnier <monnier@cs.yale.edu>
233
234 * release: 3.9.2
235
236 * sml-proc.el (sml-error-regexp-alist): Fix the pathological
237 font-locking on long lines.
238
239 * sml-move.el (sml-forward-sexp): Slightly improved.
240
241 1999-06-17 Stefan Monnier <monnier@cs.yale.edu>
242
243 * sml-mode.el (sml-insert-form): Only add a space if needed.
244 (sml-electric-space): New command bound to M-SPC.
245
246 * sml-defs.el (sml-close-paren): Add a second field that specifies when
247 not to delegate. Only used for `else'.
248
249 1999-06-16 Stefan Monnier <monnier@cs.yale.edu>
250
251 * sml-move.el (sml-(for|back)ward-sym): Distinguish between
252 operator "=" and syntax for definitions "d=".
253
254 * sml-defs.el (sml-indent-starters, sml-delegate): Simplify.
255 (sml-symbol-indent): Add outdentation for `fn' and generalize it to
256 also work for `of' and `in' and `end'.
257
258 * sml-mode.el (sml-nested-if-indent): Reintroduce as well as the
259 special casing code for it.
260 (sml-indent-relative): Generalize treatment of `of', `in', `end', ...
261 (sml-electric-pipe): Remove the slow behavior and add smarts for the
262 never-used type-variable arguments for function definitions.
263
264 1999-06-15 Stefan Monnier <monnier@cs.yale.edu>
265
266 * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu):
267 Make the menu dynamically.
268
269 * sml-mode.el (sml-form-<foo>): Use skeletons.
270 (sml-calculate-indentation): Add `with' indentation.
271
272 1999-06-14 Stefan Monnier <monnier@cs.yale.edu>
273
274 * sml-move.el (sml-(for|back)ward-sym): Now also return the string
275 if any and take care of the "op" special keyword.
276 (sml-op-prec): Setup an alist for the infix operators.
277
278 * version 3.9.1: sent to Roland McGrath.
279
280 1999-06-13 Stefan Monnier <monnier@cs.yale.edu>
281
282 * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: Remove.
283
284 * sml-proc.el (...): Get rid of sml-next-error by spicing up the
285 interface with compile.el so that intervals can be displayed.
286 `sml-overlay' is kept (and moved from sml-mode to sml-proc where it
287 belongs) but is made redundant in the case of transient-mark-mode.
288
289 1999-06-12 Stefan Monnier <monnier@cs.yale.edu>
290
291 * sml-proc.el (sml-prompt-regexp): More general regexp to catch mosml,
292 smlnj as well as polyml prompts.
293 (sml-update-cursor, sml-send-command, inferior-sml-mode):
294 Make it work with compile.el's `next-error'.
295 (sml-temp-threshold): Dropped: Always use a temp file.
296
297 1999-06-10 Stefan Monnier <monnier@cs.yale.edu>
298
299 * sml-move.el (sml-op-prec): Update the list of default infix ops
300 based on sml/nj's source files.
301
302 1999-06-08 Stefan Monnier <monnier@cs.yale.edu>
303
304 * sml-proc.el (sml-run): Remove dubious code to take care of a
305 supposedly special case in order not to send "" when args=nil.
306
307 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
308
309 * sml-mode.el (sml-font-lock-syntactic-keywords): Add syntactic
310 fontification for the ' \"' case (exhibited by lexgen.sml).
311
312 1999-06-07 Stefan Monnier <monnier@cs.yale.edu>
313
314 * ALL: The new indentation begins to work. v3_9_0
315
316 1999-05-29 Stefan Monnier <monnier@cs.yale.edu>
317
318 * sml-defs.el (sml-mode-syntax-table): Add ~ of prefix-syntax.
319
320 * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is
321 only applied if the `let' is alone at the end of the line.
322 (sml-type-of-indent): Default changed to `nil'.
323
324 1999-05-28 Stefan Monnier <monnier@cs.yale.edu>
325
326 * sml-mode.el (sml-font-lock-keywords): Change _ and ' back to word
327 syntax for font-locking.
328
329 1999-05-27 Stefan Monnier <monnier@cs.yale.edu>
330
331 * sml-mode.el (sml-font-lock-syntactic-keywords): Finally got the
332 matching of let...end working.
333 (sml-electric-pipe): Take a fun sexp (symbol) rather than a fun word.
334
335 1998-10-26 Stefan Monnier <monnier@cs.yale.edu>
336
337 * sml-mode.el (sml-font-lock-syntactic-keywords):
338 Add syntactic-keywords to support nested comments.
339