SCM Repository
Annotation of /sml/trunk/sml-mode/ChangeLog
Parent Directory
|
Revision Log
Revision 700 - (view) (download)
1 : | monnier | 700 | 2000-08-24 Stefan Monnier <monnier@cs.yale.edu> |
2 : | |||
3 : | * sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings. | ||
4 : | Add the binding for C-c C-l explicitly instead. | ||
5 : | (sml-run): Look in cwd (but only if the command has slashes). | ||
6 : | |||
7 : | * sml-mode.el (sml-mode-abbrev-table): Remove (created by | ||
8 : | define-derived-mode). | ||
9 : | (sml-mode): Setup add-log's current-defun-function. | ||
10 : | (sml-indent-line): Never indent to a negative level. | ||
11 : | (sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components) | ||
12 : | (sml-current-fun-name): New funs and vars for add-log support. | ||
13 : | (sml-comment-indent): Simplify. | ||
14 : | (sml-def-skeleton): Also create the skeleton as an abbrev. | ||
15 : | (skeletons): New for "struct", "sig", "val", "fn" and "fun". | ||
16 : | (sml-electric-space): Rewrite to use abbrev's machinery. | ||
17 : | |||
18 : | * sml-defs.el (sml-mode-map): merge with sml-bindings. | ||
19 : | (sml-bindings): Remove. | ||
20 : | |||
21 : | monnier | 544 | 2000-02-22 Stefan Monnier <monnier@cs.yale.edu> |
22 : | |||
23 : | monnier | 700 | * sml-mode.el (sml-find-matching-starter): Use syms instead of a RE. |
24 : | monnier | 544 | (sml-indent-default): Use symbol membership rather than a regexp. |
25 : | monnier | 700 | Also, use `sym-indent' instead of (current-column). |
26 : | This fixes a problem with a hanging `structure Foo = (struct|let)' | ||
27 : | (due to `structure' having a sml-indent-rule, as opposed to `fun'). | ||
28 : | Hopefully it won't introduce other problems. | ||
29 : | monnier | 544 | (sml-font-lock-keywords): Match vars `val x : int' also. |
30 : | (sml-electric-pipe): Update to the new `sml-find-matching-starter' and | ||
31 : | monnier | 700 | return a sensible default instead of raising an error in case of |
32 : | unexpected situations. | ||
33 : | monnier | 544 | (sml-indent-line): Ignore errors and keep the cursor where it is. |
34 : | monnier | 700 | (sml-calculate-indentation, sml-indent-pipe): Use syms instead of REs. |
35 : | monnier | 544 | |
36 : | * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove. | ||
37 : | |||
38 : | * testcases.sml: New file. | ||
39 : | |||
40 : | * makefile.pkg (test): new target to run the test suite. | ||
41 : | |||
42 : | monnier | 535 | 2000-02-18 Stefan Monnier <monnier@cs.yale.edu> |
43 : | |||
44 : | monnier | 541 | * *.el: Pass through checkdoc and use `eval-when-compile' whenever |
45 : | possible for (require 'cl). | ||
46 : | |||
47 : | 2000-02-18 Stefan Monnier <monnier@cs.yale.edu> | ||
48 : | |||
49 : | monnier | 700 | * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir) |
50 : | (delete-temp-dirs): Replaced by the make-temp-file from Emacs-21. | ||
51 : | monnier | 535 | (custom-create-map): add :group arg and allow key to be a list. |
52 : | (define-major-mode): Removed (use define-derived-mode instead). | ||
53 : | (sml-builtin-nested-comments-flag): New var. | ||
54 : | monnier | 541 | (concatq): Remove. |
55 : | monnier | 535 | |
56 : | * sml-proc.el (sml-host-name): New var. | ||
57 : | (sml-make-file-name): Replaced by `sml-compile-commands'. | ||
58 : | (sml-config-file): New var. | ||
59 : | (sml-compile-commands-alist): New var. | ||
60 : | (inferior-sml-load-hook): Removed. | ||
61 : | (sml-buffer): Query if the current buffer is not a *sml*. | ||
62 : | (inferior-sml-mode): Use minor-mode-overriding-map-alist to disable | ||
63 : | monnier | 700 | compilation-minor-mode's keybindings. |
64 : | monnier | 535 | (run-sml): Turn into an alias for sml-run. |
65 : | (sml-run): Query the user for the command. If prefix is set (or if | ||
66 : | monnier | 700 | default value is not null) query for args and host. |
67 : | Use `split-string' rather than our own function. | ||
68 : | Run cmd on another host if requested and pass it an init file. | ||
69 : | Pop to the buffer at the end. | ||
70 : | monnier | 535 | (sml-args-to-list): Remove. |
71 : | (sml-compile): Look for special files (sml-compile-command-alist) in | ||
72 : | monnier | 700 | the current dir (and its parents) to choose a default command. |
73 : | Remember the command for next time in the same buffer. | ||
74 : | Make the `cd' explicit in the command so the user can change it. | ||
75 : | monnier | 535 | (sml-make-error): Fix for when `endline' is absent. |
76 : | |||
77 : | monnier | 541 | * sml-mode.el: Pass it through checkdoc. |
78 : | monnier | 535 | (sml-mode-version): Remove. |
79 : | (sml-load-hook): Remove. | ||
80 : | (sml-mode-info): Use `info' rather than `Info-goto-node'. | ||
81 : | (sml-keywords-regexp): Add "o". | ||
82 : | (sml-syntax-prop-table): Use `defsyntax'. | ||
83 : | (sml-font-lock-syntactic-keywords): Only use nested comments if supported. | ||
84 : | (sml-mode): Use `define-derived-mode'. | ||
85 : | (sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'. | ||
86 : | (sml-indent-line): Use `indent-line-to'. | ||
87 : | (sml-cm-mode): New mode for CM files. | ||
88 : | |||
89 : | * Makefile: Update. | ||
90 : | |||
91 : | * sml-mode-startup.el: Remove since it's now autogenerated. | ||
92 : | |||
93 : | * sml-defs.el (sml-bindings): Remove left over C-c` binding. | ||
94 : | (sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el). | ||
95 : | (sml-mode-syntax-table): Only use nested comments if supported. | ||
96 : | (sml-mode-menu): Use next-error rather than the old sml-next-error. | ||
97 : | (sml-pipehead-re): Remove "of". | ||
98 : | |||
99 : | monnier | 700 | * sml-compat.el (set-keymap-parents): Make sure it also works when |
100 : | called with a single keymap rather than a list. | ||
101 : | monnier | 535 | (temporary-file-directory): Add a default definition for XEmacs. |
102 : | (make-temp-file): New function. | ||
103 : | |||
104 : | monnier | 395 | 1999-08-11 Stefan Monnier <monnier@cs.yale.edu> |
105 : | |||
106 : | * release: version 3.9.3 | ||
107 : | |||
108 : | monnier | 700 | * sml-mode.texi: Somewhat update the doc. |
109 : | monnier | 395 | |
110 : | monnier | 394 | 1999-08-09 Stefan Monnier <monnier@cs.yale.edu> |
111 : | |||
112 : | monnier | 700 | * Makefile: Update to the version of pcl-cvs. |
113 : | monnier | 394 | |
114 : | monnier | 700 | * sml-proc.el: Eliminate some old unused code. |
115 : | monnier | 394 | |
116 : | monnier | 700 | * sml-defs.el,sml-mode.el,sml-proc.el: Add simple customize support. |
117 : | monnier | 394 | |
118 : | monnier | 378 | 1999-07-07 Stefan Monnier <monnier@cs.yale.edu> |
119 : | |||
120 : | monnier | 700 | * sml-proc.el (sml-update-cursor): Make sure it also works if |
121 : | compile.el is fixed to uses a marker. | ||
122 : | monnier | 378 | |
123 : | monnier | 700 | * sml-mode.el (sml-indent): Fix the `fixindent'. |
124 : | monnier | 378 | |
125 : | monnier | 350 | 1999-06-22 Stefan Monnier <monnier@cs.yale.edu> |
126 : | |||
127 : | monnier | 700 | * sml-mode-startup.el: Fix to fulfill autoload.el assumptions. |
128 : | monnier | 350 | |
129 : | monnier | 347 | 1999-06-21 Stefan Monnier <monnier@cs.yale.edu> |
130 : | |||
131 : | monnier | 700 | * sml-defs.el (sml-bindings): Remove bindings for TAB and M-C-\. |
132 : | monnier | 347 | |
133 : | monnier | 343 | 1999-06-19 Stefan Monnier <monnier@cs.yale.edu> |
134 : | |||
135 : | monnier | 700 | * sml-mode.el (sml-font-lock-keywords): Skip type vars in "fun 'a myfn" |
136 : | (sml-calculate-indentation): Add a hack to allow the user to manually | ||
137 : | override the indentation algorithm with a magic comment. | ||
138 : | monnier | 347 | |
139 : | monnier | 700 | * sml-mode-startup.el: Update the autoloads automatically. |
140 : | monnier | 347 | |
141 : | 1999-06-19 Stefan Monnier <monnier@cs.yale.edu> | ||
142 : | |||
143 : | monnier | 343 | * release: 3.9.2 |
144 : | |||
145 : | monnier | 700 | * sml-proc.el (sml-error-regexp-alist): Fix the pathological |
146 : | font-locking on long lines. | ||
147 : | monnier | 343 | |
148 : | monnier | 700 | * sml-move.el (sml-forward-sexp): Slightly improved. |
149 : | monnier | 343 | |
150 : | monnier | 339 | 1999-06-17 Stefan Monnier <monnier@cs.yale.edu> |
151 : | |||
152 : | monnier | 341 | * sml-mode.el (sml-insert-form): Only add a space if needed. |
153 : | monnier | 700 | (sml-electric-space): New command bound to M-SPC. |
154 : | monnier | 341 | |
155 : | monnier | 700 | * sml-defs.el (sml-close-paren): Add a second field that specifies when |
156 : | not to delegate. Only used for `else'. | ||
157 : | monnier | 339 | |
158 : | monnier | 334 | 1999-06-16 Stefan Monnier <monnier@cs.yale.edu> |
159 : | |||
160 : | monnier | 700 | * sml-move.el (sml-(for|back)ward-sym): Distinguish between |
161 : | operator "=" and syntax for definitions "d=". | ||
162 : | monnier | 334 | |
163 : | monnier | 700 | * sml-defs.el (sml-indent-starters, sml-delegate): Simplify. |
164 : | (sml-symbol-indent): Add outdentation for `fn' and generalize it to | ||
165 : | also work for `of' and `in' and `end'. | ||
166 : | monnier | 334 | |
167 : | monnier | 700 | * sml-mode.el (sml-nested-if-indent): Reintroduce as well as the |
168 : | special casing code for it. | ||
169 : | (sml-indent-relative): Generalize treatment of `of', `in', `end', ... | ||
170 : | (sml-electric-pipe): Remove the slow behavior and add smarts for the | ||
171 : | never-used type-variable arguments for function definitions. | ||
172 : | monnier | 334 | |
173 : | 1999-06-15 Stefan Monnier <monnier@cs.yale.edu> | ||
174 : | |||
175 : | monnier | 700 | * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu): |
176 : | Make the menu dynamically. | ||
177 : | monnier | 334 | |
178 : | monnier | 700 | * sml-mode.el (sml-form-<foo>): Use skeletons. |
179 : | (sml-calculate-indentation): Add `with' indentation. | ||
180 : | monnier | 334 | |
181 : | monnier | 333 | 1999-06-14 Stefan Monnier <monnier@cs.yale.edu> |
182 : | |||
183 : | monnier | 700 | * sml-move.el (sml-(for|back)ward-sym): Now also return the string |
184 : | if any and take care of the "op" special keyword. | ||
185 : | (sml-op-prec): Setup an alist for the infix operators. | ||
186 : | monnier | 333 | |
187 : | * version 3.9.1: sent to Roland McGrath. | ||
188 : | |||
189 : | monnier | 332 | 1999-06-13 Stefan Monnier <monnier@cs.yale.edu> |
190 : | |||
191 : | * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: removed. | ||
192 : | |||
193 : | monnier | 700 | * sml-proc.el (...): Get rid of sml-next-error by spicing up the |
194 : | interface with compile.el so that intervals can be displayed. | ||
195 : | `sml-overlay' is kept (and moved from sml-mode to sml-proc where it | ||
196 : | belongs) but is made redundant in the case of transient-mark-mode. | ||
197 : | monnier | 332 | |
198 : | 1999-06-12 Stefan Monnier <monnier@cs.yale.edu> | ||
199 : | |||
200 : | monnier | 700 | * sml-proc.el (sml-prompt-regexp): More general regexp to catch mosml, |
201 : | smlnj as well as polyml prompts. | ||
202 : | (sml-update-cursor, sml-send-command, inferior-sml-mode): | ||
203 : | Make it work with compile.el's `next-error'. | ||
204 : | (sml-temp-threshold): dropped: Always use a temp file. | ||
205 : | monnier | 332 | |
206 : | 1999-06-10 Stefan Monnier <monnier@cs.yale.edu> | ||
207 : | |||
208 : | monnier | 700 | * sml-move.el (sml-op-prec): Update the list of default infix ops |
209 : | based on sml/nj's source files. | ||
210 : | monnier | 332 | |
211 : | monnier | 328 | 1999-06-08 Stefan Monnier <monnier@cs.yale.edu> |
212 : | |||
213 : | monnier | 700 | * sml-proc.el (sml-run): Remove dubious code to take care of a |
214 : | supposedly special case in order not to send "" when args=nil. | ||
215 : | monnier | 328 | |
216 : | 1999-06-07 Stefan Monnier <monnier@cs.yale.edu> | ||
217 : | |||
218 : | monnier | 700 | * sml-mode.el (sml-font-lock-syntactic-keywords): Add syntactic |
219 : | fontification for the ' \"' case (exhibited by lexgen.sml). | ||
220 : | monnier | 328 | |
221 : | 1999-06-07 Stefan Monnier <monnier@cs.yale.edu> | ||
222 : | |||
223 : | monnier | 700 | * ALL: The new indentation begins to work. v3_9_0 |
224 : | monnier | 328 | |
225 : | monnier | 319 | 1999-05-29 Stefan Monnier <monnier@cs.yale.edu> |
226 : | |||
227 : | * sml-defs.el (sml-mode-syntax-table): added ~ of prefix-syntax. | ||
228 : | |||
229 : | monnier | 700 | * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is |
230 : | only applied if the `let' is alone at the end of the line. | ||
231 : | (sml-type-of-indent): Default changed to `nil'. | ||
232 : | monnier | 319 | |
233 : | 1999-05-28 Stefan Monnier <monnier@cs.yale.edu> | ||
234 : | |||
235 : | monnier | 700 | * sml-mode.el (sml-font-lock-keywords): Change _ and ' back to word |
236 : | syntax for font-locking. | ||
237 : | monnier | 319 | |
238 : | 1999-05-27 Stefan Monnier <monnier@cs.yale.edu> | ||
239 : | |||
240 : | monnier | 700 | * sml-mode.el (sml-font-lock-syntactic-keywords): Finally got the |
241 : | matching of let...end working. | ||
242 : | (sml-electric-pipe): Take a fun sexp (symbol) rather than a fun word. | ||
243 : | monnier | 319 | |
244 : | monnier | 300 | 1998-10-26 Stefan Monnier <monnier@cs.yale.edu> |
245 : | |||
246 : | monnier | 700 | * sml-mode.el (sml-font-lock-syntactic-keywords): |
247 : | Add syntactic-keywords to support nested comments. | ||
248 : | monnier | 300 |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |