Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
1689f30906
(sh, sh-script): Finish `defgroup' description with period.
...
(sh-maybe-here-document): "?\ " -> "?\s".
2005-07-04 03:24:03 +00:00
Glenn Morris
f42e164952
(sh-get-kw): `&' also separates words.
2005-06-30 16:45:04 +00:00
Miles Bader
33595ec6be
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-414
...
Remove "-face" suffix from sh-script faces
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/sh-script.el (sh-heredoc): Remove "-face" suffix from
face name.
(sh-heredoc-face): New backward-compatibility alias for renamed face.
(sh-heredoc-face): Use renamed sh-heredoc face.
2005-06-14 23:56:03 +00:00
Lute Kamstra
9a9691963d
* progmodes/ada-mode.el (ada-mode):
...
* progmodes/antlr-mode.el (antlr-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/delphi.el (delphi-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-electric-list-mode, ebrowse-member-mode)
(ebrowse-electric-position-mode):
* progmodes/f90.el (f90-mode):
* progmodes/fortran.el (fortran-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/meta-mode.el (metafont-mode, metapost-mode):
* progmodes/modula2.el (modula-2-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/octave-mod.el (octave-mode):
* progmodes/pascal.el (pascal-mode):
* progmodes/sh-script.el (sh-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/xscheme.el (scheme-interaction-mode): Use run-mode-hooks.
2005-05-26 16:43:37 +00:00
Stefan Monnier
fe67016b3a
(sh-mode, sh-get-word): Minor regexp fixes.
2005-05-20 13:28:38 +00:00
Richard M. Stallman
32518913cd
More doc usage fixes.
2005-05-14 11:21:12 +00:00
Richard M. Stallman
dd77d6f4d3
Many doc usage fixes.
...
(sh-indent-after-do): Change default to match common styles.
2005-05-14 11:20:19 +00:00
Dan Nicolaescu
8cec35c42e
(sh-mode-default-syntax-table): Set the
...
syntax of $ to "'" (quote).
2005-05-11 22:57:25 +00:00
Richard M. Stallman
3f0f48c040
(sh-indent-for-do): Default to 0.
2005-05-10 09:13:04 +00:00
Daniel Pfeiffer
d5f2a89966
(sh-font-lock-keywords): Use font-lock-negation-char-face.
2005-05-05 19:03:32 +00:00
Glenn Morris
546e2f6ff2
(sh-here-document-word): Make it a defcustom. Doc fix.
...
(sh-add): Bash uses $(( )) for arithmetic.
(sh-while-getopts) <sh>: Set OPTIND back to 1 at end.
(sh-maybe-here-document): Remove quotes and leading whitespace
from heredoc word when closing. Indent heredoc with tabs if word
starts with "-".
2005-04-13 18:49:57 +00:00
Dan Nicolaescu
ea81d57ec5
* mh-customize.el (mh-speedbar-selected-folder-face): Special case
...
high number of colors displays.
* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Glenn Morris
450a39ffe2
(sh-builtins) <bash>: Add `caller'.
...
(sh-escaped-newline): New face.
(sh-font-lock-keywords) <shell>: Improve regexp for escaped
newline, and use sh-escaped-newline face.
2005-04-05 13:07:42 +00:00
Werner LEMBERG
eac9c0efd6
* progmodes/ebnf-abn.el, progmodes/ebnf-bnf.el,
...
progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-iso.el,
progmodes/ebnf-yac.el, progmodes/ebnf2ps.el, progmodes/idlwave.el,
progmodes/sh-script.el, progmodes/xscheme.el: Replace `illegal' with
`invalid'.
2005-03-25 08:47:00 +00:00
Stefan Monnier
67b9b71fc8
(sh-here-doc-open-re): Don't allow `|' or other
...
funny chars in the end-of-here-doc marker.
2005-01-18 18:21:58 +00:00
Richard M. Stallman
bdd5fa9932
(sh-mode-map): Bind C-c C-\.
...
(sh-backslash-column, sh-backslash-align): New variables.
(sh-backslash-region, sh-append-backslash): New functions.
2005-01-15 18:07:21 +00:00
Richard M. Stallman
61871c70f8
(sh-require-final-newline):
...
Alist value now controls whether to use mode-require-final-newline.
(sh-set-shell): Implement that new meaning.
2004-12-31 14:57:21 +00:00
Richard M. Stallman
bae7df154a
(sh-indent-for-then): Change default.
2004-12-05 14:19:38 +00:00
Richard M. Stallman
56858354ce
(sh-mode-default-syntax-table): Set syntax of = to "." (punctuation).
2004-09-20 15:46:23 +00:00
Richard M. Stallman
8a0d0722d8
(sh-set-shell): Use sh-mode-abbrev-table.
...
(sh-mode-abbrev-table): New variable.
2004-08-16 22:45:52 +00:00
Andreas Schwab
14116f3caf
(sh-leading-keywords) <sh>: Add "!".
2004-04-24 20:58:17 +00:00
Stefan Monnier
2822660749
(sh-font-lock-paren): Add @ in case patterns.
2004-03-04 23:27:00 +00:00
Eli Zaretskii
5d18b95355
(sh-shell-arg, sh-require-final-newline, sh-assignment-regexp, sh-builtins)
...
(sh-leading-keywords, sh-other-keywords): Fix custom type.
2004-02-27 17:22:27 +00:00
Richard M. Stallman
a3ae17d490
(sh-get-indent-info):
...
Don't move point back if at bob.
2003-12-29 20:03:46 +00:00
Richard M. Stallman
720baa4669
(sh-feature): Handle sh-modify like sh-append.
...
(sh-for, sh-indexed-loop, sh-function, sh-while, sh-while-getopts):
Use sh-modify directly.
(sh-select): Use sh-append, not eval.
2003-10-05 13:53:54 +00:00
Richard M. Stallman
830144d596
(sh-mode-syntax-table): Add defvar.
2003-09-30 12:42:56 +00:00
Glenn Morris
b8acc4ed4f
(sh-builtins): Add bash `shopt' builtin.
...
(sh-font-lock-keywords, sh-feature): Fix previous change of sh-feature
to avoid infloop with sh-font-lock-keywords.
2003-09-25 02:01:18 +00:00
Richard M. Stallman
1bf87f6ba3
(sh-mode-default-syntax-table): Renamed from sh-mode-syntax-table.
...
Call sh-mode-syntax-table directly.
(sh-mode-syntax-table-input): New variable.
(sh-require-final-newline): Don't use eval.
(sh-builtins, sh-leading-keywords, sh-other-keywords)
(sh-variables, sh-font-lock-keywords): Don't use eval.
(sh-set-shell): When setting require-final-newline,
treat value = `require-final-newline' as don't change it.
Set sh-mode-syntax-table locally based on
sh-mode-syntax-table-input and sh-mode-default-syntax-table.
2003-09-22 15:39:47 +00:00
Glenn Morris
1fd244505e
(sh-font-lock-keywords): Highlight escaped EOLs differently from other
...
backslash constructs.
2003-09-19 17:10:57 +00:00
Glenn Morris
3154202d02
(sh-font-lock-keywords): Use something other than
...
font-lock-string-face to highlight backslashes.
2003-09-02 17:37:01 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Glenn Morris
fa1d74c5d1
(sh-builtins): Add some bash builtins.
...
(sh-leading-keywords): Add the bash `time' reserved word.
(sh-variables): Add some bash variables.
(sh-add-completer): Fix nil branch of case statement.
2003-08-24 15:26:13 +00:00
Andreas Schwab
cbc72cf5cf
(sh-mode): Don't set mode-class property.
2003-08-02 20:09:42 +00:00
Andreas Schwab
29653ebc24
(sh-mode-syntax-table): Change syntax of ?, to "_".
2003-07-21 06:25:33 +00:00
Stefan Monnier
d96da6c47a
(sh-font-lock-paren): Add [ and ] to the
...
set of chars allowed unquoted in a case pattern.
2003-07-04 20:37:49 +00:00
Juanma Barranquero
8f0b0ca5f5
(sh-while-getopts, sh-if, sh-case): Revert part of previous change.
2003-06-16 21:41:18 +00:00
Juanma Barranquero
bc38726909
Fix bug in "Options Loop" skeleton for ksh. Add newlines to a few skeletons,
...
add "select" keyword for bash.
2003-06-06 15:06:53 +00:00
Stefan Monnier
485219e0a2
(sh-is-quoted-p): New fun.
...
(sh-font-lock-paren): Use it to allow \C in case patterns.
(sh-get-indent-info): Check the \n before the line for string-status.
(sh-feature): Remove unused var `function'.
(sh-get-indent-info): Remove unused variables.
(sh-prev-thing): Remove unused vars `going', `n', and `found'.
(sh-set-indent): Remove unused var `new-val' and `val0'.
(sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
(sh-guess-basic-offset): Remove unused var `return' and `j'.
2003-06-01 17:36:41 +00:00
Glenn Morris
18368c4a7a
(sh-here-document-word): Document new treatment of leading "-".
...
(sh-maybe-here-document): Strip a leading "-" from closing heredoc
delimiter, if present.
2003-05-27 18:40:55 +00:00
Andreas Schwab
817949efd8
(sh-mode-map): Don't remap
...
beginning-of-defun to the non-existing command
sh-beginning-of-compound-command.
2003-02-12 10:21:06 +00:00
Stefan Monnier
017708e9dd
(sh-indent-line): Use indent-line-to.
...
(sh-non-closing-paren): New const.
(sh-case, sh-while-getopts): Use it to make props non-sticky.
(sh-add-completer): Use test-completion.
2003-01-18 20:42:47 +00:00
Andreas Schwab
5d1825c6fb
(sh-mode-map): Use command remapping instead of
...
substitute-key-definition.
2003-01-12 20:51:12 +00:00
Juanma Barranquero
54aaebc516
(sh-set-shell): Make sh-shell-file the default shell.
2003-01-10 08:07:26 +00:00
Andreas Schwab
6f37d17b45
(sh-mode-syntax-table): Don't make ^L
...
end-of-comment syntax.
2002-10-27 23:01:57 +00:00
Juanma Barranquero
b554bbff24
(sh-indent-for-then): Fix typo.
2002-10-18 08:18:29 +00:00
Markus Rost
3ee5ce58f6
(sh-alias-alist): Use append instead of nconc.
2002-10-02 16:31:16 +00:00
Juanma Barranquero
348e141150
(sh-mark-init): Don't set `occur-buffer'.
...
(sh-mark-line): Likewise. Use 'occur-target and 'occur-match instead of 'occur
and 'occur-point.
2002-09-24 10:18:05 +00:00
Juanma Barranquero
4a9592f6f9
(sh-indent-for-fi, sh-indent-for-done): Fix spacing.
2002-09-06 07:17:05 +00:00
Juanma Barranquero
35cb44585e
(sh-electric-rparen-needed): Remove.
2002-06-18 14:37:12 +00:00