Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/sml-mode/ChangeLog
ViewVC logotype

Annotation of /sml/trunk/sml-mode/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1719 - (view) (download)

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

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0