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