1. 29 Jan, 1996 1 commit
    • Richard M. Stallman's avatar
      (sh-shell-variables-initialized): New variable. · 5d73ac66
      Richard M. Stallman authored
      (sh-mode): Make sh-shell-variables and
      sh-shell-variables-initialized local.
      (sh-set-shell): Don't scan the buffer for variable assignments.
      Set sh-shell-variables-initialized to nil.
      (sh-shell-initialize-variables): New function.
      (sh-add-completer): New function.  Initialize sh-shell-variables
      here if not yet done.
      (sh-add): Use sh-add-completer for completion.
  2. 19 Jan, 1996 1 commit
  3. 17 Jan, 1996 2 commits
  4. 14 Jan, 1996 1 commit
  5. 11 Jan, 1996 1 commit
    • Richard M. Stallman's avatar
      (sh-mode): Don't move point. · 616db04b
      Richard M. Stallman authored
      (sh-set-shell): New args NO-QUERY-FLAG and INSERT-FLAG.
      Pass them to executable-set-magic.
      Really set font-lock-syntax-table.  Slight cleanups.
  6. 09 Jan, 1996 1 commit
    • Karl Heuer's avatar
      (sh-alias-alist): Don't map sh to bash. · aafd074a
      Karl Heuer authored
      (sh-canonicalize-shell): New function.
      (sh-shell-file): Renamed from sh-shell-path.
      (sh-set-shell): Don't set local-abbrev-table.
      (sh-abbrevs): Variable and function definition commented out.
  7. 05 Jan, 1996 1 commit
  8. 04 Jan, 1996 1 commit
  9. 13 Dec, 1995 2 commits
    • Karl Heuer's avatar
      Provide sh-script. · f7c7053e
      Karl Heuer authored
    • Karl Heuer's avatar
      (sh-mode-map): Make the code more legible. · bfc8e97b
      Karl Heuer authored
      (sh-font-lock-keywords-1): Allow keyword `in' at eol too.
      (sh-font-lock-keywords-only): New variable to prevent an apostrophe
      in comment from misfontifying buffer, but to allow users who don't
      have such to get strings fontified.
      (sh-mode): Use it.
  10. 11 Nov, 1995 2 commits
  11. 10 Nov, 1995 1 commit
  12. 03 Nov, 1995 2 commits
    • Karl Heuer's avatar
      (sh-shells): Eliminated variable redundant with · 84bfbb44
      Karl Heuer authored
      (sh-beginning-of-command): Take into account \quoted newline.
      (sh-builtins, sh-leading-keywords, sh-other-keywords): Now three
      distinct sets for font-locking.
      (sh-font-lock-keywords-1, sh-font-lock-keywords-2): New variables
      and functions to give the user finer control over how much to fontify,
      including new distinction between keywords and builtins.
      (sh-mode): Use new features of `font-lock-defaults' and adaptation
      to skeleton changes.
      (sh-while): Fix csh, es & rc skeletons.
    • Karl Heuer's avatar
      (sh-remember-variable): Set variable to empty string, · 7874dacd
      Karl Heuer authored
      so as not to mess up subprocesses' environment.  Not so nice for
  13. 19 Aug, 1995 1 commit
    • Karl Heuer's avatar
      (sh-newline-and-indent): Don't interpret prefix arg · cd76025c
      Karl Heuer authored
      since `newline-and-indent' doesn't either.  Don't turn a trailing
      quoted tab into a space.
      (sh-mode): Use new `skeleton-newline-indent-rigidly'.
      (sh-set-shell): Make maximum font-locking also hightlight keywords
      after ``' and `!'.  (The latter is for ksh '93 but should't hurt other
  14. 15 Aug, 1995 2 commits
  15. 09 Aug, 1995 1 commit
  16. 07 Jul, 1995 1 commit
    • Karl Heuer's avatar
      restructured, largely rewritten without the bugs and · 133693bc
      Karl Heuer authored
      extended to cover over 15 shells.  Most variables can now work as a
      lookup table, and, unless set by user, do.
      (sh-mode-syntax-table): Possibly multiple tables.
      (sh-shell): Set initially so shell or other libraries may use features.
      (sh-assignment-regexp): Replaces `sh-assignment-space'.
      (sh-here-document-word): Set to more common "EOF".
      (sh-variables): Changed semantics.
      (sh-font-lock-keywords): Much nicer.
      (sh-ancestor-alist, sh-alias-alist, sh-shells, sh-abbrevs)
      (sh-dynamic-complete-functions, sh-require-final-newline)
      (sh-comment-prefix, sh-indentation, sh-header-marker, sh-builtins)
      (sh-leading-keywords): New variables.
      (sh-use-prefix, sh-find-file-modifies, sh-query-for-magic)
      (sh-magicless-file-regexp, magic-number-alist, sh-executable)
      (sh-chmod-argument, sh-shell-is-csh, sh-tab-width)
      (sh-sh-font-lock-keywords, sh-ksh-font-lock-keywords)
      (sh-bash-font-lock-keywords, sh-csh-font-lock-keywords)
      (sh-tcsh-font-lock-keywords): Variables deleted, see also executable.el.
      (sh-mode): Shell dependent code moved to `sh-set-shell'.
      (sh-feature, sh-abbrevs, sh-syntax-table, sh-append, sh-modify): New
      (sh-execute-region): New command.
      (sh-indexed-loop): Far more efficient code generated for sh.
      (sh-repeat, sh-tmp-file, sh-while-getopts): New skeletons.
      (sh-or-other-mode, define-sh-skeleton, sh-executable, sh-chmod)
      (sh-query-for-variable): Command deleted.
  17. 30 May, 1995 1 commit
  18. 12 Oct, 1994 2 commits
  19. 07 Oct, 1994 1 commit
  20. 24 Sep, 1994 1 commit
  21. 03 Aug, 1994 1 commit
  22. 15 Jul, 1994 1 commit
  23. 02 Jul, 1994 1 commit
  24. 01 Jul, 1994 1 commit
  25. 22 Mar, 1994 1 commit