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