Gerd Moellmann
f964dfcb0d
Added support for indenting existing scripts.
(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.
1999-10-12 12:30:38 +00:00
..
1999-09-07 16:19:13 +00:00
1999-10-08 23:06:15 +00:00
1999-09-14 18:34:10 +00:00
1999-10-05 11:10:25 +00:00
1999-09-19 14:38:00 +00:00
1999-09-29 11:44:57 +00:00
1999-09-30 18:06:17 +00:00
1999-09-01 23:31:57 +00:00
1999-10-12 12:30:38 +00:00
1999-09-30 18:06:17 +00:00
1999-10-08 23:54:57 +00:00
1999-10-07 00:36:36 +00:00
1999-04-08 16:26:38 +00:00
1999-08-16 03:16:06 +00:00
1998-06-15 15:45:22 +00:00
1999-10-08 11:44:38 +00:00
1999-08-10 16:57:26 +00:00
1999-09-17 19:43:09 +00:00
1999-02-22 16:01:30 +00:00
1999-08-29 19:21:07 +00:00
1999-09-06 19:49:33 +00:00
1999-04-27 18:50:15 +00:00
1999-08-10 13:10:39 +00:00
1999-08-16 04:04:27 +00:00
1998-03-30 04:39:53 +00:00
1999-10-07 14:13:29 +00:00
1999-05-23 21:46:08 +00:00
1999-05-02 13:45:39 +00:00
1999-08-03 17:38:59 +00:00
1999-10-12 12:28:42 +00:00
1999-09-29 16:37:29 +00:00
1999-09-29 16:37:29 +00:00
1999-09-29 16:37:29 +00:00
1999-09-29 16:37:29 +00:00
1999-09-29 16:37:29 +00:00
1999-09-29 16:37:29 +00:00
1999-10-04 17:15:48 +00:00
1999-08-29 20:55:30 +00:00
1999-07-14 08:16:49 +00:00
1999-08-09 08:56:31 +00:00
1998-11-01 08:45:25 +00:00
1998-08-26 09:38:13 +00:00
1999-10-01 22:04:30 +00:00
1999-09-13 13:09:30 +00:00
1999-10-07 11:04:40 +00:00
1999-08-16 23:00:42 +00:00
1999-10-06 23:35:28 +00:00
1998-09-23 21:56:59 +00:00
1999-09-19 21:17:17 +00:00
1999-04-27 18:52:49 +00:00
1998-07-03 21:37:43 +00:00
1998-11-11 19:31:24 +00:00
1999-10-11 09:53:03 +00:00
1999-08-28 18:21:34 +00:00
1999-09-16 19:29:30 +00:00
1999-08-28 15:16:55 +00:00
1999-09-24 12:57:21 +00:00
1999-02-21 21:11:07 +00:00
1999-06-04 18:42:20 +00:00
1999-03-25 22:51:54 +00:00
1998-12-20 15:12:03 +00:00
1999-09-02 11:51:42 +00:00
1999-09-03 22:45:43 +00:00
1998-08-12 22:21:47 +00:00
1999-06-22 22:46:17 +00:00
1999-09-02 12:33:53 +00:00
1998-05-30 14:41:00 +00:00
1998-11-10 11:26:34 +00:00
1998-05-04 22:42:59 +00:00
1998-05-04 22:42:59 +00:00
1998-05-30 14:41:23 +00:00
1998-12-27 08:04:05 +00:00
1998-05-16 17:48:49 +00:00
1999-08-16 04:04:27 +00:00
1998-03-17 08:14:28 +00:00
1999-01-29 14:12:49 +00:00
1999-08-16 04:04:27 +00:00
1999-10-09 00:56:34 +00:00
1999-08-16 04:04:27 +00:00
1999-02-13 16:28:34 +00:00
1999-10-07 15:21:51 +00:00
1999-10-05 11:41:48 +00:00
1999-08-16 04:04:27 +00:00
1998-05-22 23:36:06 +00:00
1999-10-07 11:04:40 +00:00
1999-09-09 20:06:35 +00:00
1999-01-19 18:22:46 +00:00
1998-05-26 09:23:23 +00:00
1999-09-14 17:32:51 +00:00
1999-07-21 21:43:03 +00:00
1999-10-05 11:10:25 +00:00
1999-10-05 11:10:25 +00:00
1999-05-31 08:34:19 +00:00
1999-08-15 11:56:16 +00:00
1999-09-09 21:03:07 +00:00
1999-01-07 19:37:16 +00:00
1998-11-01 17:08:22 +00:00
1999-09-12 20:21:46 +00:00
1999-09-08 05:17:05 +00:00
1999-08-16 23:06:06 +00:00
1999-10-01 17:16:48 +00:00
1999-10-09 01:19:36 +00:00
1999-09-03 23:12:57 +00:00
1998-05-26 09:23:23 +00:00
1999-08-04 19:07:31 +00:00
1999-09-06 16:00:47 +00:00
1999-04-27 18:58:13 +00:00
1998-04-29 05:20:31 +00:00
1999-10-05 18:41:17 +00:00
1999-09-24 13:55:29 +00:00
1999-09-03 01:00:15 +00:00
1999-08-22 18:09:58 +00:00
1999-10-06 18:38:41 +00:00
1999-08-29 19:19:00 +00:00
1999-09-27 22:15:50 +00:00
1999-10-03 15:37:50 +00:00
1999-08-25 13:03:22 +00:00
1999-08-16 11:48:41 +00:00
1999-08-16 04:04:27 +00:00
1999-08-28 18:23:49 +00:00
1999-10-06 11:40:36 +00:00
1998-12-10 03:25:15 +00:00
1999-07-30 08:48:17 +00:00
1998-06-03 16:40:32 +00:00
1999-01-17 18:58:43 +00:00
1999-08-06 20:41:07 +00:00
1999-10-10 19:22:20 +00:00
1999-02-15 22:31:31 +00:00
1999-08-07 11:45:06 +00:00
1999-10-10 01:22:34 +00:00
1999-01-03 02:05:10 +00:00
1999-02-23 22:16:45 +00:00
1999-04-27 18:58:51 +00:00
1999-09-09 14:54:25 +00:00
1999-08-16 11:29:58 +00:00
1999-07-30 15:39:42 +00:00
1999-03-03 17:42:47 +00:00
1999-09-25 12:35:20 +00:00
1998-06-07 23:07:55 +00:00
1999-09-04 11:31:31 +00:00
1998-04-17 20:36:48 +00:00
1999-03-09 23:26:28 +00:00
1999-09-29 11:48:36 +00:00
1999-06-15 08:11:35 +00:00
1999-10-12 11:48:43 +00:00
1999-08-23 16:14:59 +00:00
1999-03-30 18:07:16 +00:00
1999-08-03 17:50:44 +00:00
1998-10-03 00:44:26 +00:00
1999-09-13 20:49:05 +00:00
1998-06-07 23:07:55 +00:00
1999-07-21 21:43:03 +00:00
1999-08-16 03:15:11 +00:00
1999-08-16 04:04:27 +00:00
1999-08-16 04:04:27 +00:00
1999-09-14 07:00:04 +00:00
1998-12-14 03:22:44 +00:00
1999-03-31 16:06:51 +00:00
1999-08-29 19:37:29 +00:00
1999-09-06 11:43:01 +00:00
1999-10-05 11:10:25 +00:00
1999-09-14 10:11:19 +00:00
1999-08-10 19:32:33 +00:00
1999-09-08 05:33:47 +00:00
1998-10-13 03:45:04 +00:00
1999-08-16 04:04:27 +00:00
1999-08-19 17:50:02 +00:00
1999-08-28 18:24:28 +00:00
1998-11-25 21:26:50 +00:00
1999-08-27 01:47:33 +00:00
1999-09-28 22:15:10 +00:00
1999-09-06 22:15:43 +00:00
1998-06-14 18:46:20 +00:00
1999-08-19 18:35:29 +00:00
1999-08-16 04:04:27 +00:00
1998-09-10 15:45:17 +00:00
1998-07-24 20:13:08 +00:00
1999-06-30 07:10:20 +00:00
1999-10-02 10:53:18 +00:00
1998-08-04 09:34:25 +00:00
1999-10-04 17:15:48 +00:00
1999-08-10 16:40:00 +00:00
1999-05-02 09:45:17 +00:00
1999-07-17 00:49:00 +00:00
1999-08-29 19:05:44 +00:00
1999-09-15 23:46:29 +00:00
1999-09-13 13:54:33 +00:00
1999-08-05 18:50:18 +00:00
1999-08-15 04:56:33 +00:00
1999-09-15 23:47:44 +00:00
1998-12-05 18:23:14 +00:00
1998-05-26 05:16:17 +00:00