1. 15 Oct, 2000 2 commits
    • Dave Love's avatar
      Require skeleton and comint when · d2d00127
      Dave Love authored
      compiling.
      d2d00127
    • Stefan Monnier's avatar
      (sh-imenu-generic-expression): Fix. · 6c5bcbc1
      Stefan Monnier authored
      (sh-mode-syntax-table): Add punctuation syntax for < and >.
      (sh-mode): Don't make all vars local here.
      (sh-kw): Reformat.
      (sh-set-shell): Use dolist.  Don't set indent-region-function.
      (sh-mode-syntax-table): Use pop.
      (sh-remember-variable): Use push.
      (sh-help-string-for-variable): Use memq.
      (sh-safe-backward-sexp): Remove.
      (sh-safe-forward-sexp): Add ARG.
      (sh-get-indent-info, sh-prev-stmt): Use it.
      (sh-prev-line): Simplify by using forward-comment.
      (sh-this-is-a-continuation): Simplify.
      (sh-learn-buffer-indent): Use dolist.
      (sh-do-nothing): Remove.
      (sh-set-char-syntax, sh-set-here-doc-region):
      Use inhibit-modification-hooks.
      (sh-name-style): Use mapcar and push.
      (sh-load-style): Use dolist.
      (sh-save-styles-to-buffer): Use with-current-buffer and pp.
      (sh-case, sh-while-getopts): Use propertize directly rather
      than sh-electric-rparen.
      6c5bcbc1
  2. 19 Sep, 2000 2 commits
  3. 18 Aug, 2000 1 commit
  4. 21 Jun, 2000 1 commit
  5. 05 Jun, 2000 1 commit
    • Stefan Monnier's avatar
      (sh-symbol-list, sh-number-or-symbol-list) · d92474ed
      Stefan Monnier authored
      (sh-re-done): Use defconst.
      (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
      (sh-help-string-for-variable, sh-guess-basic-offset):
      Don't quote lambdas.
      (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
      (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
      d92474ed
  6. 23 May, 2000 1 commit
  7. 15 May, 2000 1 commit
  8. 22 Dec, 1999 1 commit
  9. 16 Dec, 1999 2 commits
  10. 12 Dec, 1999 1 commit
  11. 12 Oct, 1999 1 commit
    • Gerd Moellmann's avatar
      Added support for indenting existing scripts. · f964dfcb
      Gerd Moellmann authored
      (sh-mode-map): Added new bindings.
      (sh-mode): Updated mode doc-string for new commands, added
      make-local-variable calls, initialize mode-specific variables.
      (sh-indent-line):  Renamed to sh-basic-indent-line;  sh-indent-line
      is now a different function.
      (sh-header-marker):  Changed docstring.
      (sh-set-shell): Initialize mode-specific variables.
      (sh-case, sh-for, sh-if, sh-indexed-loop, sh-repeat, sh-select)
      (sh-tmp-file, sh-until, sh-until, sh-while, sh-while-getopts):
      Changed these define-skeleton calls to work with user-specified
      indentation settings.
      (sh-basic-indent-line, sh-blink, sh-calculate-indent)
      (sh-check-paren-in-case, sh-check-rule, sh-do-nothing)
      (sh-electric-hash, sh-electric-less, sh-electric-rparen)
      (sh-find-prev-matching, sh-find-prev-switch, sh-get-indent-info)
      (sh-get-indent-var-for-line, sh-get-kw, sh-get-word)
      (sh-goto-match-for-done, sh-goto-matching-case, sh-goto-matching-if)
      (sh-guess-basic-offset, sh-handle-after-case-label)
      (sh-handle-prev-case, sh-handle-prev-case-alt-end, sh-handle-prev-do)
      (sh-handle-prev-done, sh-handle-prev-else, sh-handle-prev-esac)
      (sh-handle-prev-fi, sh-handle-prev-if, sh-handle-prev-open)
      (sh-handle-prev-rc-case, sh-handle-prev-then, sh-handle-this-close)
      (sh-handle-this-do, sh-handle-this-done, sh-handle-this-else)
      (sh-handle-this-esac, sh-handle-this-fi, sh-handle-this-rc-case)
      (sh-handle-this-then, sh-help-string-for-variable)
      (sh-in-comment-or-string, sh-indent-line, sh-learn-buffer-indent)
      (sh-learn-line-indent, sh-load-style, sh-make-vars-local, sh-mark-init)
      (sh-mark-line, sh-mkword-regexpr, sh-mkword-regexp)
      (sh-must-be-shell-mode, sh-must-support-indent, sh-name-style)
      (sh-prev-line, sh-prev-stmt, sh-prev-thing, sh-read-variable)
      (sh-remove-our-text-properties, sh-rescan-buffer)
      (sh-reset-indent-vars-to-global-values, sh-safe-backward-sexp)
      (sh-safe-forward-sexp, sh-save-styles-to-buffer, sh-scan-buffer)
      (sh-scan-case, sh-search-word, sh-set-char-syntax)
      (sh-set-here-doc-region, sh-set-indent, sh-set-var-value)
      (sh-show-indent, sh-this-is-a-continuation, sh-var-value): New
      functions.
      (sh-debug, sh-electric-rparen-needed, sh-here-doc-syntax)
      (sh-indent-supported, sh-kw, sh-kw-alist, sh-kws-for-done)
      (sh-learned-buffer-hook, sh-make-vars-local, sh-regexp-for-done)
      (sh-special-keywords, sh-special-syntax, sh-st-punc, sh-styles-alist)
      (sh-var-list): New variables.
      f964dfcb
  12. 06 Sep, 1999 1 commit
  13. 01 Jul, 1999 1 commit
  14. 29 Jun, 1999 1 commit
  15. 15 May, 1999 1 commit
  16. 14 Dec, 1998 1 commit
  17. 30 Oct, 1998 1 commit
  18. 21 Oct, 1998 1 commit
  19. 20 Oct, 1998 1 commit
  20. 28 Sep, 1998 1 commit
  21. 19 Jul, 1998 1 commit
  22. 07 May, 1998 1 commit
  23. 03 May, 1998 1 commit
  24. 20 Apr, 1998 1 commit
  25. 15 Feb, 1998 1 commit
  26. 11 Feb, 1998 1 commit
  27. 26 Jan, 1998 1 commit
  28. 12 Dec, 1997 1 commit
  29. 04 Dec, 1997 2 commits
  30. 30 Nov, 1997 1 commit
  31. 27 Aug, 1997 1 commit
  32. 23 Aug, 1997 1 commit
  33. 22 Jun, 1997 1 commit
  34. 29 May, 1997 1 commit
  35. 22 Apr, 1997 1 commit
  36. 17 Apr, 1997 1 commit