aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-12 12:28:42 +0000
committerGerd Moellmann1999-10-12 12:28:42 +0000
commit4b9347b308ec92bd6d6703794ab97fe1cebe68e9 (patch)
tree215742b7abffbdeb730ade000d201da854bf74a8
parentb07ea410a382deb8e8eae336302cc085269c8342 (diff)
downloademacs-4b9347b308ec92bd6d6703794ab97fe1cebe68e9.tar.gz
emacs-4b9347b308ec92bd6d6703794ab97fe1cebe68e9.zip
Add sh-script changes.
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/ChangeLog46
2 files changed, 52 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 843d2cc476c..e02e10b285c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -419,6 +419,12 @@ selection into the search string rather than giving an error.
419names cleanly. It is appended to the host name, separated by a hash 419names cleanly. It is appended to the host name, separated by a hash
420sign, e.g. `/foo@bar.org#666:mumble'. (This syntax comes from EFS.) 420sign, e.g. `/foo@bar.org#666:mumble'. (This syntax comes from EFS.)
421 421
422** Shell script mode changes.
423
424Shell script mode (sh-script) can now indent scripts for shells
425derived from sh and rc. The indentation style is customizeable, and
426sh-script can attempt to "learn" the current buffer's style.
427
422** New modes and packages 428** New modes and packages
423 429
424*** 5x5.el is a simple puzzle game. 430*** 5x5.el is a simple puzzle game.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bdb1f3c6bf3..035f3783ec7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,49 @@
11999-10-12 Richard Sharman <rsharman@pobox.com>
2
3 * sh-script.el: Added support for indenting existing scripts.
4 (sh-mode-map): Added new bindings.
5 (sh-mode): Updated mode doc-string for new commands, added
6 make-local-variable calls, initialize mode-specific variables.
7 (sh-indent-line): Renamed to sh-basic-indent-line; sh-indent-line
8 is now a different function.
9 (sh-header-marker): Changed docstring.
10 (sh-set-shell): Initialize mode-specific variables.
11 (sh-case, sh-for, sh-if, sh-indexed-loop, sh-repeat, sh-select)
12 (sh-tmp-file, sh-until, sh-until, sh-while, sh-while-getopts):
13 Changed these define-skeleton calls to work with user-specified
14 indentation settings.
15 (sh-basic-indent-line, sh-blink, sh-calculate-indent)
16 (sh-check-paren-in-case, sh-check-rule, sh-do-nothing)
17 (sh-electric-hash, sh-electric-less, sh-electric-rparen)
18 (sh-find-prev-matching, sh-find-prev-switch, sh-get-indent-info)
19 (sh-get-indent-var-for-line, sh-get-kw, sh-get-word)
20 (sh-goto-match-for-done, sh-goto-matching-case, sh-goto-matching-if)
21 (sh-guess-basic-offset, sh-handle-after-case-label)
22 (sh-handle-prev-case, sh-handle-prev-case-alt-end, sh-handle-prev-do)
23 (sh-handle-prev-done, sh-handle-prev-else, sh-handle-prev-esac)
24 (sh-handle-prev-fi, sh-handle-prev-if, sh-handle-prev-open)
25 (sh-handle-prev-rc-case, sh-handle-prev-then, sh-handle-this-close)
26 (sh-handle-this-do, sh-handle-this-done, sh-handle-this-else)
27 (sh-handle-this-esac, sh-handle-this-fi, sh-handle-this-rc-case)
28 (sh-handle-this-then, sh-help-string-for-variable)
29 (sh-in-comment-or-string, sh-indent-line, sh-learn-buffer-indent)
30 (sh-learn-line-indent, sh-load-style, sh-make-vars-local, sh-mark-init)
31 (sh-mark-line, sh-mkword-regexpr, sh-mkword-regexp)
32 (sh-must-be-shell-mode, sh-must-support-indent, sh-name-style)
33 (sh-prev-line, sh-prev-stmt, sh-prev-thing, sh-read-variable)
34 (sh-remove-our-text-properties, sh-rescan-buffer)
35 (sh-reset-indent-vars-to-global-values, sh-safe-backward-sexp)
36 (sh-safe-forward-sexp, sh-save-styles-to-buffer, sh-scan-buffer)
37 (sh-scan-case, sh-search-word, sh-set-char-syntax)
38 (sh-set-here-doc-region, sh-set-indent, sh-set-var-value)
39 (sh-show-indent, sh-this-is-a-continuation, sh-var-value): New
40 functions.
41 (sh-debug, sh-electric-rparen-needed, sh-here-doc-syntax)
42 (sh-indent-supported, sh-kw, sh-kw-alist, sh-kws-for-done)
43 (sh-learned-buffer-hook, sh-make-vars-local, sh-regexp-for-done)
44 (sh-special-keywords, sh-special-syntax, sh-st-punc, sh-styles-alist)
45 (sh-var-list): New variables.
46
11999-10-12 Dave Pearson <davep@hagbard.demon.co.uk> 471999-10-12 Dave Pearson <davep@hagbard.demon.co.uk>
2 48
3 * quickurl.el (quickurl-list-insert): `count-lines' was returning 49 * quickurl.el (quickurl-list-insert): `count-lines' was returning