Commit graph

111 commits

Author SHA1 Message Date
Karl Heuer
133693bc90 restructured, largely rewritten without the bugs and
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.
1995-07-07 19:48:24 +00:00
Karl Heuer
11b137a743 (sh-mode-map): Fix capitalization in menu bar. 1995-05-30 23:06:00 +00:00
Simon Marshall
c4ca8d660f Removed setting of font-lock-keywords inadvertently left after last patch. 1994-10-12 16:03:28 +00:00
Simon Marshall
0ffb818c8f * sh-script.el: (sh-set-shell): Set font-lock-defaults. 1994-10-12 09:15:14 +00:00
Richard M. Stallman
36668a5dff (sh-font-lock-keywords): Default to nil. 1994-10-07 09:49:47 +00:00
Richard M. Stallman
ebbc29c72f (auto-mode-alist): Use \' in auto-mode-alist regexps. 1994-09-24 04:13:41 +00:00
Karl Heuer
1bebba148e (auto-mode-alist): Fix typos in comments. 1994-08-03 02:17:57 +00:00
Richard M. Stallman
e932f2d21a "Comment out" autoload cookies. 1994-07-15 22:10:07 +00:00
Richard M. Stallman
a6e68e6c2c (sh-chmod-argument): Change default. 1994-07-02 16:55:54 +00:00
Richard M. Stallman
07ac942ac6 (sh-set-shell): Obey sh-query-for-magic in all cases.
(sh-mode): Don't move point permanently.
1994-07-01 16:28:00 +00:00
Richard M. Stallman
ac59aed83f entered into RCS 1994-03-22 05:43:25 +00:00