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

SCM Repository

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

Diff of /sml/trunk/sml-mode/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 699, Mon Aug 21 22:13:39 2000 UTC revision 700, Thu Aug 24 20:35:39 2000 UTC
# Line 1  Line 1 
1    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  2000-02-22  Stefan Monnier  <monnier@cs.yale.edu>  2000-02-22  Stefan Monnier  <monnier@cs.yale.edu>
22    
23          * sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a          * sml-mode.el (sml-find-matching-starter): Use syms instead of a RE.
           regexp.  
24          (sml-indent-default): Use symbol membership rather than a regexp.          (sml-indent-default): Use symbol membership rather than a regexp.
25            Also, use `sym-indent' instead of (current-column).  This fixes a problem          Also, use `sym-indent' instead of (current-column).
26            with a hanging `structure Foo = (struct|let)' (due to `structure' having          This fixes a problem with a hanging `structure Foo = (struct|let)'
27            a sml-indent-rule, as opposed to `fun').  Hopefully it won't introduce          (due to `structure' having a sml-indent-rule, as opposed to `fun').
28            other problems.          Hopefully it won't introduce other problems.
29          (sml-font-lock-keywords): Match vars `val x : int' also.          (sml-font-lock-keywords): Match vars `val x : int' also.
30          (sml-electric-pipe): Update to the new `sml-find-matching-starter' and          (sml-electric-pipe): Update to the new `sml-find-matching-starter' and
31            return a sensible default instead of raising an error in case of            return a sensible default instead of raising an error in case of
32            unexpected situations.            unexpected situations.
33          (sml-indent-line): Ignore errors and keep the cursor where it is.          (sml-indent-line): Ignore errors and keep the cursor where it is.
34          (sml-calculate-indentation, sml-indent-pipe): Use syms instead of regexps.          (sml-calculate-indentation, sml-indent-pipe): Use syms instead of REs.
35    
36          * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.          * sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
37    
# Line 27  Line 46 
46    
47  2000-02-18  Stefan Monnier  <monnier@cs.yale.edu>  2000-02-18  Stefan Monnier  <monnier@cs.yale.edu>
48    
49          * sml-util.el (make-temp-dir, make-temp-file, temp-file-dir,          * 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.          (delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
51          (custom-create-map): add :group arg and allow key to be a list.          (custom-create-map): add :group arg and allow key to be a list.
52          (define-major-mode): Removed (use define-derived-mode instead).          (define-major-mode): Removed (use define-derived-mode instead).
53          (sml-builtin-nested-comments-flag): New var.          (sml-builtin-nested-comments-flag): New var.
# Line 44  Line 63 
63            compilation-minor-mode's keybindings.            compilation-minor-mode's keybindings.
64          (run-sml): Turn into an alias for sml-run.          (run-sml): Turn into an alias for sml-run.
65          (sml-run): Query the user for the command.  If prefix is set (or if          (sml-run): Query the user for the command.  If prefix is set (or if
66            default value is not null) query for args and host.  Use `split-string'          default value is not null) query for args and host.
67            rather than our own function.  Run cmd on another host if requested and          Use `split-string' rather than our own function.
68            pass it an init file if it exists.  Pop to the buffer at the end.          Run cmd on another host if requested and pass it an init file.
69            Pop to the buffer at the end.
70          (sml-args-to-list): Remove.          (sml-args-to-list): Remove.
71          (sml-compile): Look for special files (sml-compile-command-alist) in          (sml-compile): Look for special files (sml-compile-command-alist) in
72            the current dir (and its parents) to choose a default command.  Remember          the current dir (and its parents) to choose a default command.
73            the command for next time in the same buffer.  Make the `cd' explicit in          Remember the command for next time in the same buffer.
74            the command so the user can change it.          Make the `cd' explicit in the command so the user can change it.
75          (sml-make-error): Fix for when `endline' is absent.          (sml-make-error): Fix for when `endline' is absent.
76    
77          * sml-mode.el: Pass it through checkdoc.          * sml-mode.el: Pass it through checkdoc.
# Line 76  Line 96 
96          (sml-mode-menu): Use next-error rather than the old sml-next-error.          (sml-mode-menu): Use next-error rather than the old sml-next-error.
97          (sml-pipehead-re): Remove "of".          (sml-pipehead-re): Remove "of".
98    
99          * sml-compat.el (set-keymap-=parents): Make sure it also works when called          * sml-compat.el (set-keymap-parents): Make sure it also works when
100            with a single keymap rather than a list.          called with a single keymap rather than a list.
101          (temporary-file-directory): Add a default definition for XEmacs.          (temporary-file-directory): Add a default definition for XEmacs.
102          (make-temp-file): New function.          (make-temp-file): New function.
103    
# Line 85  Line 105 
105    
106          * release: version 3.9.3          * release: version 3.9.3
107    
108          * sml-mode.texi:  somewhat updated the doc.          * sml-mode.texi: Somewhat update the doc.
109    
110  1999-08-09  Stefan Monnier  <monnier@cs.yale.edu>  1999-08-09  Stefan Monnier  <monnier@cs.yale.edu>
111    
112          * Makefile: updated to the version of pcl-cvs.          * Makefile: Update to the version of pcl-cvs.
113    
114          * sml-proc.el: eliminated some old unused code.          * sml-proc.el: Eliminate some old unused code.
115    
116          * sml-defs.el,sml-mode.el,sml-proc.el: added simple customize support.          * sml-defs.el,sml-mode.el,sml-proc.el: Add simple customize support.
117    
118  1999-07-07  Stefan Monnier  <monnier@cs.yale.edu>  1999-07-07  Stefan Monnier  <monnier@cs.yale.edu>
119    
120          * sml-proc.el (sml-update-cursor): make sure it also works if compile.el          * sml-proc.el (sml-update-cursor): Make sure it also works if
121            is fixed to uses a marker.          compile.el is fixed to uses a marker.
122    
123          * sml-mode.el (sml-indent): fix the `fixindent'.          * sml-mode.el (sml-indent): Fix the `fixindent'.
124    
125  1999-06-22  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-22  Stefan Monnier  <monnier@cs.yale.edu>
126    
127          * sml-mode-startup.el: fixed to fulfill autoload.el assumptions.          * sml-mode-startup.el: Fix to fulfill autoload.el assumptions.
128    
129  1999-06-21  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-21  Stefan Monnier  <monnier@cs.yale.edu>
130    
131          * sml-defs.el (sml-bindings): removed bindings for TAB and M-C-\          * sml-defs.el (sml-bindings): Remove bindings for TAB and M-C-\.
132    
133  1999-06-19  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-19  Stefan Monnier  <monnier@cs.yale.edu>
134    
135          * sml-mode.el (sml-font-lock-keywords): skip type vars in "fun 'a myfn"          * 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          (sml-calculate-indentation): Add a hack to allow the user to manually
137            override the indentation algorithm with a magic comment.            override the indentation algorithm with a magic comment.
138    
139          * sml-mode-startup.el: update the autoloads automatically.          * sml-mode-startup.el: Update the autoloads automatically.
140    
141  1999-06-19  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-19  Stefan Monnier  <monnier@cs.yale.edu>
142    
143          * release: 3.9.2          * release: 3.9.2
144    
145          * sml-proc.el (sml-error-regexp-alist): solved the pathological          * sml-proc.el (sml-error-regexp-alist): Fix the pathological
146            font-locking on long lines.            font-locking on long lines.
147    
148          * sml-move.el (sml-forward-sexp): slightly improved.          * sml-move.el (sml-forward-sexp): Slightly improved.
149    
150  1999-06-17  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-17  Stefan Monnier  <monnier@cs.yale.edu>
151    
152          * sml-mode.el (sml-insert-form): Only add a space if needed.          * sml-mode.el (sml-insert-form): Only add a space if needed.
153          (sml-electric-space): new command bound to M-SPC.          (sml-electric-space): New command bound to M-SPC.
154    
155          * sml-defs.el (sml-close-paren): added a second field that specifies when          * sml-defs.el (sml-close-paren): Add a second field that specifies when
156            not to delegate.  Only used for `else'.            not to delegate.  Only used for `else'.
157    
158  1999-06-16  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-16  Stefan Monnier  <monnier@cs.yale.edu>
159    
160          * sml-move.el (sml-(for|back)ward-sym): distinguishes between          * sml-move.el (sml-(for|back)ward-sym): Distinguish between
161            operator "=" and syntax for definitions "d=".            operator "=" and syntax for definitions "d=".
162    
163          * sml-defs.el (sml-indent-starters, sml-delegate): simplified.          * sml-defs.el (sml-indent-starters, sml-delegate): Simplify.
164          (sml-symbol-indent): added outdentation for `fn' and generalized it to          (sml-symbol-indent): Add outdentation for `fn' and generalize it to
165            also work for `of' and `in' and `end'.            also work for `of' and `in' and `end'.
166    
167          * sml-mode.el (sml-nested-if-indent): reintroduced as well as the special          * sml-mode.el (sml-nested-if-indent): Reintroduce as well as the
168            casing code for it.          special casing code for it.
169          (sml-indent-relative): generalize the treatment of `of', `in', `end', ...          (sml-indent-relative): Generalize treatment of `of', `in', `end', ...
170          (sml-electric-pipe): removed the slow behavior and added smarts for the          (sml-electric-pipe): Remove the slow behavior and add smarts for the
171            never-used type-variable arguments for function definitions.            never-used type-variable arguments for function definitions.
172    
173  1999-06-15  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-15  Stefan Monnier  <monnier@cs.yale.edu>
174    
175          * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu): make the menu          * sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu):
176            dynamically.          Make the menu dynamically.
177    
178          * sml-mode.el (sml-form-<foo>): use skeletons.          * sml-mode.el (sml-form-<foo>): Use skeletons.
179          (sml-calculate-indentation): added `with' indentation.          (sml-calculate-indentation): Add `with' indentation.
180    
181  1999-06-14  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-14  Stefan Monnier  <monnier@cs.yale.edu>
182    
183          * sml-move.el (sml-(for|back)ward-sym): now also return the string if any          * sml-move.el (sml-(for|back)ward-sym): Now also return the string
184            and take care of the "op" special keyword.          if any and take care of the "op" special keyword.
185          (sml-op-prec): setup an alist for the infix operators.          (sml-op-prec): Setup an alist for the infix operators.
186    
187          * version 3.9.1:  sent to Roland McGrath.          * version 3.9.1:  sent to Roland McGrath.
188    
# Line 170  Line 190 
190    
191          * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: removed.          * sml-smlnj.el, sml-mosml.el, sml-poly-ml.el: removed.
192    
193          * sml-proc.el (...): got rid of sml-next-error by spicing up the interface          * sml-proc.el (...): Get rid of sml-next-error by spicing up the
194            with compile.el so that intervals can be displayed.  `sml-overlay' is          interface with compile.el so that intervals can be displayed.
195            kept (and moved from sml-mode to sml-proc where it belongs) but is          `sml-overlay' is kept (and moved from sml-mode to sml-proc where it
196            made redundant in the case of transient-mark-mode.          belongs) but is made redundant in the case of transient-mark-mode.
197    
198  1999-06-12  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-12  Stefan Monnier  <monnier@cs.yale.edu>
199    
200          * sml-proc.el (sml-prompt-regexp): more general regexp to catch mosml,          * sml-proc.el (sml-prompt-regexp): More general regexp to catch mosml,
201            smlnj as well as polyml prompts.            smlnj as well as polyml prompts.
202          (sml-update-cursor, sml-send-command, inferior-sml-mode): make it work          (sml-update-cursor, sml-send-command, inferior-sml-mode):
203            with compile.el's `next-error'.          Make it work with compile.el's `next-error'.
204          (sml-temp-threshold): dropped: always use a temp file.          (sml-temp-threshold): dropped: Always use a temp file.
205    
206  1999-06-10  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-10  Stefan Monnier  <monnier@cs.yale.edu>
207    
208          * sml-move.el (sml-op-prec): updated the list of default infix ops based on          * sml-move.el (sml-op-prec): Update the list of default infix ops
209            sml/nj's source files.          based on sml/nj's source files.
210    
211  1999-06-08  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-08  Stefan Monnier  <monnier@cs.yale.edu>
212    
213          * sml-proc.el (sml-run): removed dubious code to take care of a supposedly          * sml-proc.el (sml-run): Remove dubious code to take care of a
214            special case in order not to sent "" when args=nil.          supposedly special case in order not to send "" when args=nil.
215    
216  1999-06-07  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-07  Stefan Monnier  <monnier@cs.yale.edu>
217    
218          * sml-mode.el (sml-font-lock-syntactic-keywords): added syntactic          * sml-mode.el (sml-font-lock-syntactic-keywords): Add syntactic
219            fontification for the '   \"' case (exhibited by lexgen.sml).            fontification for the '   \"' case (exhibited by lexgen.sml).
220    
221  1999-06-07  Stefan Monnier  <monnier@cs.yale.edu>  1999-06-07  Stefan Monnier  <monnier@cs.yale.edu>
222    
223          * ALL: the new indentation begins to work.  v3_9_0          * ALL: The new indentation begins to work.  v3_9_0
224    
225  1999-05-29  Stefan Monnier  <monnier@cs.yale.edu>  1999-05-29  Stefan Monnier  <monnier@cs.yale.edu>
226    
227          * sml-defs.el (sml-mode-syntax-table): added ~ of prefix-syntax.          * sml-defs.el (sml-mode-syntax-table): added ~ of prefix-syntax.
228    
229          * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is only          * sml-mode.el (sml-find-match-indent): (nilp sml-type-of-indent) is
230            applied if the `let' is alone at the end of the line.          only applied if the `let' is alone at the end of the line.
231          (sml-type-of-indent): default changed to `nil'.          (sml-type-of-indent): Default changed to `nil'.
232    
233  1999-05-28  Stefan Monnier  <monnier@cs.yale.edu>  1999-05-28  Stefan Monnier  <monnier@cs.yale.edu>
234    
235          * sml-mode.el (sml-font-lock-keywords): changed _ and ' back to word          * sml-mode.el (sml-font-lock-keywords): Change _ and ' back to word
236            syntax for font-locking.            syntax for font-locking.
237    
238  1999-05-27  Stefan Monnier  <monnier@cs.yale.edu>  1999-05-27  Stefan Monnier  <monnier@cs.yale.edu>
239    
240          * sml-mode.el (sml-font-lock-syntactic-keywords): finally got the          * sml-mode.el (sml-font-lock-syntactic-keywords): Finally got the
241            matching of let...end working.            matching of let...end working.
242            (sml-electric-pipe): take a fun sexp (symbol) rather than a fun word.          (sml-electric-pipe): Take a fun sexp (symbol) rather than a fun word.
243    
244  1998-10-26  Stefan Monnier  <monnier@cs.yale.edu>  1998-10-26  Stefan Monnier  <monnier@cs.yale.edu>
245    
246          * sml-mode.el (sml-font-lock-syntactic-keywords): added syntactic-keywords          * sml-mode.el (sml-font-lock-syntactic-keywords):
247            to support nested comments.          Add syntactic-keywords to support nested comments.
248    

Legend:
Removed from v.699  
changed lines
  Added in v.700

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