]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
23 years agoMake the toplevel closer to usual practice.
monnier [Sat, 7 Oct 2000 02:21:59 +0000 (02:21 +0000)]
Make the toplevel closer to usual practice.
(sml-imenu-regexp, sml-imenu-create-index): New var and fun.
(sml-mode): Use them.
(sml-beginning-of-defun): Add `and' as function-leader.
(sml-lex-mode): New trivial mode.
(sml-yacc-bnf-face, sml-yacc-indent-action, sml-yacc-indent-pipe)
(sml-yacc-indent-term, sml-yacc-font-lock-keywords)
(sml-yacc-font-lock-defaults): New vars.
(sml-yacc-indent-line, sml-yacc-indentation, sml-yacc-mode): New funs.

23 years ago* sml-mode.texi: Added yours truly to the list of authors.
monnier [Sat, 7 Oct 2000 02:21:46 +0000 (02:21 +0000)]
* sml-mode.texi: Added yours truly to the list of authors.
* sml-mode.spec: New file.
* sml-defs.el (sml-outline-regexp): Slightly improved regexp.

23 years ago* sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
monnier [Thu, 24 Aug 2000 19:35:39 +0000 (19:35 +0000)]
* sml-proc.el (inferior-sml-mode-map): Don't inherit from sml-bindings.
Add the binding for C-c C-l explicitly instead.
(sml-run): Look in cwd (but only if the command has slashes).

* sml-mode.el (sml-mode-abbrev-table): Remove (created by
define-derived-mode).
(sml-mode): Setup add-log's current-defun-function.
(sml-indent-line): Never indent to a negative level.
(sml-skip-siblings, sml-beginning-of-defun, sml-max-name-components)
(sml-current-fun-name): New funs and vars for add-log support.
(sml-comment-indent): Simplify.
(sml-def-skeleton): Also create the skeleton as an abbrev.
(skeletons): New for "struct", "sig", "val", "fn" and "fun".
(sml-electric-space): Rewrite to use abbrev's machinery.

* sml-defs.el (sml-mode-map): merge with sml-bindings.
(sml-bindings): Remove.

24 years agofixed misplaced expand-file-name in sml-proc.el
blume [Mon, 6 Mar 2000 07:20:58 +0000 (07:20 +0000)]
fixed misplaced expand-file-name in sml-proc.el

24 years ago* sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a
monnier [Tue, 22 Feb 2000 22:56:38 +0000 (22:56 +0000)]
* sml-mode.el (sml-find-matching-starter): Use a list of syms instead of a
  regexp.
(sml-indent-default): Use symbol membership rather than a regexp.
  Also, use `sym-indent' instead of (current-column).  This fixes a problem
  with a hanging `structure Foo = (struct|let)' (due to `structure' having
  a sml-indent-rule, as opposed to `fun').  Hopefully it won't introduce
  other problems.
(sml-font-lock-keywords): Match vars `val x : int' also.
(sml-electric-pipe): Update to the new `sml-find-matching-starter' and
  return a sensible default instead of raising an error in case of
  unexpected situations.
(sml-indent-line): Ignore errors and keep the cursor where it is.
(sml-calculate-indentation, sml-indent-pipe): Use syms instead of regexps.
* sml-defs.el (sml-starters-re, sml-pipehead-re): Remove.
* testcases.sml: New file.
* makefile.pkg (test): new target to run the test suite.

24 years ago*** empty log message ***
monnier [Fri, 18 Feb 2000 22:59:40 +0000 (22:59 +0000)]
*** empty log message ***

24 years agoPass through checkdoc and use `eval-when-compile' whenever
monnier [Fri, 18 Feb 2000 20:35:43 +0000 (20:35 +0000)]
Pass through checkdoc and use `eval-when-compile' whenever
possible for (require 'cl).

24 years ago*** empty log message ***
monnier [Fri, 18 Feb 2000 16:51:54 +0000 (16:51 +0000)]
*** empty log message ***

24 years ago* sml-util.el (make-temp-dir, make-temp-file, temp-file-dir,
monnier [Fri, 18 Feb 2000 16:49:10 +0000 (16:49 +0000)]
* sml-util.el (make-temp-dir, make-temp-file, temp-file-dir,
  delete-temp-dirs): Replaced by the make-temp-file from Emacs-21.
(custom-create-map): add :group arg and allow key to be a list.
(define-major-mode): Removed (use define-derived-mode instead).
(sml-builtin-nested-comments-flag): New var.

* sml-proc.el (sml-host-name): New var.
(sml-make-file-name): Replaced by `sml-compile-commands'.
(sml-config-file): New var.
(sml-compile-commands-alist): New var.
(inferior-sml-load-hook): Removed.
(sml-buffer): Query if the current buffer is not a *sml*.
(inferior-sml-mode): Use minor-mode-overriding-map-alist to disable
  compilation-minor-mode's keybindings.
(run-sml): Turn into an alias for sml-run.
(sml-run): Query the user for the command.  If prefix is set (or if
  default value is not null) query for args and host.  Use `split-string'
  rather than our own function.  Run cmd on another host if requested and
  pass it an init file if it exists.  Pop to the buffer at the end.
(sml-args-to-list): Remove.
(sml-compile): Look for special files (sml-compile-command-alist) in
  the current dir (and its parents) to choose a default command.  Remember
  the command for next time in the same buffer.  Make the `cd' explicit in
  the command so the user can change it.
(sml-make-error): Fix for when `endline' is absent.

* sml-mode.el: Pass it rhough checkdoc.
(sml-mode-version): Remove.
(sml-load-hook): Remove.
(sml-mode-info): Use `info' rather than `Info-goto-node'.
(sml-keywords-regexp): Add "o".
(sml-syntax-prop-table): Use `defsyntax'.
(sml-font-lock-syntactic-keywords): Only use nested comments if supported.
(sml-mode): Use `define-derived-mode'.
(sml-electric-pipe): `sml-indent-line' -> `indent-according-to-mode'.
(sml-indent-line): Use `indent-line-to'.
(sml-cm-mode): New mode for CM files.

* Makefile: Update.

* sml-mode-startup.el: Remove since it's now autogenerated.

* sml-defs.el (sml-bindings): Remove left over C-c` binding.
(sml-mode-map): Add binding for sml-drag-region (was in sml-proc.el).
(sml-mode-syntax-table): Only use nested comments if supported.
(sml-mode-menu): Use next-error rather than the old sml-next-error.
(sml-pipehead-re): Remove "of".

* sml-compat.el (set-keymap-=parents): Make sure it also works when called
  with a single keymap rather than a list.
(temporary-file-directory): Add a default definition for XEmacs.
(make-temp-file): New function.

24 years ago* sml-mode.texi: somewhat updated the doc.
monnier [Wed, 11 Aug 1999 19:48:17 +0000 (19:48 +0000)]
* sml-mode.texi:  somewhat updated the doc.
* release 3.9.3

24 years ago* Makefile: updated to the version of pcl-cvs.
monnier [Mon, 9 Aug 1999 20:45:51 +0000 (20:45 +0000)]
* Makefile: updated to the version of pcl-cvs.
* sml-proc.el: eliminated some old unused code.
* sml-defs.el,sml-mode.el,sml-proc.el: added simple customize support.

24 years ago* sml-proc.el (sml-update-cursor): make sure it also works if compile.el
monnier [Wed, 7 Jul 1999 13:45:42 +0000 (13:45 +0000)]
* sml-proc.el (sml-update-cursor): make sure it also works if compile.el
  is fixed to uses a marker.
* sml-mode.el (sml-indent): fix the `fixindent'.

25 years ago* sml-mode-startup.el: fixed to fulfill autoload.el assumptions.
monnier [Tue, 22 Jun 1999 23:38:58 +0000 (23:38 +0000)]
* sml-mode-startup.el: fixed to fulfill autoload.el assumptions.

25 years ago* sml-defs.el (sml-bindings): removed bindings for TAB and M-C-\
monnier [Mon, 21 Jun 1999 14:08:30 +0000 (14:08 +0000)]
* sml-defs.el (sml-bindings): removed bindings for TAB and M-C-\
* sml-mode.el (sml-font-lock-keywords): skip type vars in "fun 'a myfn"
(sml-calculate-indentation): add a hack to allow the user to manually
  override the indentation algorithm with a magic comment.
* sml-mode-startup.el: update the autoloads automatically.

25 years ago* sml-proc.el (sml-error-regexp-alist): solved the pathological
monnier [Sat, 19 Jun 1999 08:29:33 +0000 (08:29 +0000)]
* sml-proc.el (sml-error-regexp-alist): solved the pathological
  font-locking on long lines.

* sml-move.el (sml-forward-sexp): slightly improved.

25 years ago*** empty log message ***
monnier [Sat, 19 Jun 1999 08:26:38 +0000 (08:26 +0000)]
*** empty log message ***

25 years ago* sml-mode.el (sml-insert-form): Only add a space if needed.
monnier [Fri, 18 Jun 1999 18:10:12 +0000 (18:10 +0000)]
* sml-mode.el (sml-insert-form): Only add a space if needed.
(sml-electric-space): new command bound to M-SPC.

25 years ago* sml-defs.el (sml-close-paren): added a second field that specifies when
monnier [Thu, 17 Jun 1999 15:14:01 +0000 (15:14 +0000)]
* sml-defs.el (sml-close-paren): added a second field that specifies when
  not to delegate.  Used for zero-indent single-line `if..else'.

25 years ago* sml-move.el (sml-(for|back)ward-sym): distinguishes between
monnier [Thu, 17 Jun 1999 01:43:15 +0000 (01:43 +0000)]
* sml-move.el (sml-(for|back)ward-sym): distinguishes between
  operator "=" and syntax for definitions "d=".
* sml-defs.el (sml-indent-starters, sml-delegate): simplified.
(sml-symbol-indent): added outdentation for `fn' and generalized it to
  also work for `of' and `in' and `end'.
* sml-mode.el (sml-nested-if-indent): reintroduced as well as the special
  casing code for it.
(sml-indent-relative): generalize the treatment of `of', `in', `end', ...
(sml-electric-pipe): removed the slow behavior and added smarts for the
  never-used type-variable arguments for function definitions.
* sml-defs.el (sml-mode-menu), sml-mode.el (sml-forms-menu): make the menu
  dynamically.
* sml-mode.el (sml-form-<foo>): use skeletons.
(sml-calculate-indentation): added `with' indentation.

25 years ago* sml-move.el (sml-(for|back)ward-sym): now also return the string if any
monnier [Tue, 15 Jun 1999 02:41:26 +0000 (02:41 +0000)]
* sml-move.el (sml-(for|back)ward-sym): now also return the string if any
  and take care of the "op" special keyword.
(sml-op-prec): setup an alist for the infix operators.
* version 3.9.1:  sent to Roland McGrath.

25 years ago*** empty log message ***
monnier [Mon, 14 Jun 1999 23:51:38 +0000 (23:51 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
monnier [Thu, 10 Jun 1999 21:31:41 +0000 (21:31 +0000)]
*** empty log message ***

25 years agoFirst seemingly acceptable new code.
monnier [Mon, 7 Jun 1999 21:47:00 +0000 (21:47 +0000)]
First seemingly acceptable new code.

25 years ago*** empty log message ***
monnier [Thu, 27 May 1999 21:01:36 +0000 (21:01 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
monnier [Mon, 12 Oct 1998 00:12:05 +0000 (00:12 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
monnier [Sun, 11 Oct 1998 23:50:55 +0000 (23:50 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
monnier [Sat, 14 Mar 1998 04:41:37 +0000 (04:41 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
monnier [Fri, 13 Mar 1998 20:31:45 +0000 (20:31 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
monnier [Fri, 13 Mar 1998 20:07:49 +0000 (20:07 +0000)]
*** empty log message ***

26 years agorenamed sml into run-sml
monnier [Fri, 13 Mar 1998 17:58:26 +0000 (17:58 +0000)]
renamed sml into run-sml

26 years agoInitial revision
monnier [Fri, 13 Mar 1998 15:54:50 +0000 (15:54 +0000)]
Initial revision

26 years ago*** empty log message ***
monnier [Fri, 13 Mar 1998 15:53:41 +0000 (15:53 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
monnier [Thu, 12 Mar 1998 16:57:15 +0000 (16:57 +0000)]
*** empty log message ***

26 years agoInitial revision
monnier [Thu, 12 Mar 1998 16:54:39 +0000 (16:54 +0000)]
Initial revision