1. 09 Nov, 1996 1 commit
    • Richard M. Stallman's avatar
      (sh-set-shell): Pass args no-query-flag · e3dce9ba
      Richard M. Stallman authored
      and insert-flag to executable-set-magic.
      Don't call executable-set-magic if insert-flag is nil.
      (sh-mode): Always call sh-set-shell, but use insert-flag arg
      to control whether to call executable-set-magic.
      No need to set comment-start-skip directly here.
      
      (sh-mode): Parse the interpreter from the file text.
      e3dce9ba
  2. 07 Nov, 1996 2 commits
  3. 28 Oct, 1996 1 commit
  4. 26 Oct, 1996 1 commit
  5. 28 Aug, 1996 1 commit
  6. 15 Jul, 1996 1 commit
  7. 15 Apr, 1996 1 commit
  8. 27 Mar, 1996 2 commits
  9. 25 Mar, 1996 1 commit
  10. 20 Mar, 1996 1 commit
  11. 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.
      5d73ac66
  12. 19 Jan, 1996 1 commit
  13. 17 Jan, 1996 2 commits
  14. 14 Jan, 1996 1 commit
  15. 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.
      616db04b
  16. 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.
      aafd074a
  17. 05 Jan, 1996 1 commit
  18. 04 Jan, 1996 1 commit
  19. 13 Dec, 1995 2 commits
    • Karl Heuer's avatar
      Provide sh-script. · f7c7053e
      Karl Heuer authored
      f7c7053e
    • 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.
      bfc8e97b
  20. 11 Nov, 1995 2 commits
  21. 10 Nov, 1995 1 commit
  22. 03 Nov, 1995 2 commits
    • Karl Heuer's avatar
      (sh-shells): Eliminated variable redundant with · 84bfbb44
      Karl Heuer authored
      `interpreter-mode-alist'.
      (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.
      84bfbb44
    • 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
      completion.
      7874dacd
  23. 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
      shells.)
      cd76025c
  24. 15 Aug, 1995 2 commits
  25. 09 Aug, 1995 1 commit
  26. 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
      functions.
      (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.
      133693bc
  27. 30 May, 1995 1 commit
  28. 12 Oct, 1994 2 commits
  29. 07 Oct, 1994 1 commit
  30. 24 Sep, 1994 1 commit
  31. 03 Aug, 1994 1 commit
  32. 15 Jul, 1994 1 commit