1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 12:40:56 -08:00
Commit graph

677 commits

Author SHA1 Message Date
Richard M. Stallman
105ad0da85 (pascal-mode): Set comment-start.
(pascal-toggle-completions): Doc fix.
1995-08-17 22:08:36 +00:00
Richard M. Stallman
14a9bcda67 (inferior-lisp): Use pop-to-buffer.
Add *inferior-lisp* to same-window-buffer-names.
1995-08-16 14:41:11 +00:00
Karl Heuer
81ed2d75e9 (sh-mode-map): Use new name skeleton-pair-insert-maybe.
(sh-mode): Use new names skeleton-pair-alist, skeleton-pair-filter.
1995-08-15 20:05:12 +00:00
Karl Heuer
225f6185df (sh-test): New variable.
(sh-if, sh-until, sh-while): Use it.
(sh-while-getopts): Handle csh passably well.
(sh-font-lock-keywords): Use `font-lock-variable-name-face'.
(sh-set-shell): Respect `font-lock-maximum-decoration'.
1995-08-15 19:50:12 +00:00
Richard M. Stallman
314001b564 Comment change. 1995-08-10 18:55:44 +00:00
Richard M. Stallman
7204084ebb Comment change. 1995-08-10 18:38:17 +00:00
Simon Marshall
d232ea9da0 Tweak fortran-font-lock-keywords-1. 1995-08-10 14:04:25 +00:00
Richard M. Stallman
4a789a5143 (interpreter-mode-alist): Delete autoload cookie. 1995-08-09 22:42:34 +00:00
Tom Tromey
2064ba4d58 (tcl-do-auto-fill): Only fill past fill-column; for 19.29.
(tcl-auto-fill-mode): Use force-mode-line-update.
1995-08-07 16:02:01 +00:00
Richard M. Stallman
4254fe5845 (fortran-auto-fill-mode, fortran-do-auto-fill, fortran-fill):
Invoke auto filling only when past fill-column.
1995-08-05 01:02:10 +00:00
Roland McGrath
cfda7e6dda (compilation-error-regexp-alist): Add regexp for Sun ada. 1995-08-04 18:02:02 +00:00
Richard M. Stallman
b8313955da (fortran-break-line): Fixed a bug that sometimes
deleted first character in statement field of continuation line.
1995-07-29 22:20:35 +00:00
Karl Heuer
d6209f58ef (c++-imenu-generic-expression): Var defined.
(c++-mode): Set imenu-generic-expression.
1995-07-28 00:30:18 +00:00
Karl Heuer
82af06af78 (c-imenu-generic-expression): Var defined.
(c-mode): Set imenu-generic-expression.
1995-07-28 00:28:28 +00:00
Karl Heuer
74480345ab (ada-imenu-generic-expression): Var defined.
(ada-mode): Set imenu-generic-expression.
1995-07-28 00:18:42 +00:00
Richard M. Stallman
69b354ebc8 (pascal-mode): Added imenu support.
(pascal-imenu-generic-expression): New variable.
1995-07-27 18:50:02 +00:00
Richard M. Stallman
f42484a2cd (perl-imenu-generic-expression) New variable.
(perl-mode): Set imenu-generic-expression.
1995-07-26 18:01:10 +00:00
Tom Tromey
6654e1b15e (tcl-word-no-props): New function.
(tcl-figure-type): Use it.
(tcl-current-word): Ditto.
1995-07-23 23:51:25 +00:00
Tom Tromey
a37875b4b5 Doc fixes. 1995-07-23 20:26:47 +00:00
Richard M. Stallman
276c121047 (ada-ident-re): Doc fix.
(ada-end-stmt-re): Corrected serious pb of wrong parentheses.
(ada-subprog-start-re): Removed 'body' from the list.
(ada-format-paramlist): Simplified a regexp.
(ada-indent-current): On first line of the buffer, indent to column 0.
Don't reindent if new position is the same as the old one.  Thus, a
correcly indended line is not modified.
(ada-get-indent-subprog): Simplified a regexp.
(ada-goto-matching-decl-start): Distinguish between normal type
declaration and protected types, which are more like procedures.
(ada-remove-trailing-spaces): Use save-match-data, save-restriction
and widen when removing whitespace.
(ada-font-lock-keywords-1): Add 'pragma' as keyword.
(ada-font-lock-keywords-2): Allow *qualified* idents after 'end'.
1995-07-18 20:48:04 +00:00
Tom Tromey
9bad6296ad (inferior-tcl-mode): Use modeline-process if it exists. 1995-07-17 19:59:49 +00:00
Tom Tromey
c1dc1e4ec5 XEmacs currently must use tcl-internal-end-of-defun 1995-07-17 19:55:25 +00:00
Tom Tromey
c803d3a7e2 Changes to make menus work in XEmacs.
From Mike Scheidler <c23mts@kocrsv01.delcoelect.com>
1995-07-14 21:54:56 +00:00
Tom Tromey
68734e7b47 (tcl-mode): Customize for new dabbrev. 1995-07-11 03:13:15 +00:00
Tom Tromey
370d8fcccf (tcl-do-fill-paragraph): New function.
(tcl-mode): Set up for paragraph filling.
1995-07-09 21:58:03 +00:00
Tom Tromey
fdacefbd18 (tcl-mode): Fixes to 19.29 paragraph variables. 1995-07-09 21:30:32 +00:00
Tom Tromey
1975984577 (tcl-do-auto-fill): Set fill-prefix. 1995-07-09 18:52:16 +00:00
Tom Tromey
8ebb39c016 (tcl-imenu-create-index-function): Work with imenu from Emacs 19.29 1995-07-09 01:07:57 +00:00
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
58a4ff0405 Initial revision 1995-07-07 19:41:57 +00:00
Richard M. Stallman
3a8a46f183 (calculate-c-indent-after-brace): New function.
(calculate-c-indent, indent-c-exp): Use it.
1995-07-07 13:29:18 +00:00
Richard M. Stallman
e2b1cb7427 (electric-c++-terminator): Fix logic for handling colon. 1995-06-28 21:25:06 +00:00
Tom Tromey
fe8fa72dad (tcl-type-alist): More itcl changes. 1995-06-27 20:12:00 +00:00
Tom Tromey
a7efef53dc More changes for itcl.
Bug fixes for Emacs 19.29.
1995-06-27 20:06:05 +00:00
Tom Tromey
a0defa814a (tcl-set-proc-regexp): Allow leading spaces.
(tcl-proc-list): Changes for itcl.
(tcl-typeword-list): Ditto.
(tcl-keyword-list): Ditto.
1995-06-27 20:01:29 +00:00
Simon Marshall
f3d4eb7b82 Specify all Font Lock keywords in font-lock-defaults. 1995-06-26 12:35:50 +00:00
Richard M. Stallman
3fc9add97b (makefile-define-tab-face): New function.
(makefile-tab-face): Don't create face here.
(makefile-mode): Call makefile-define-tab-face.
1995-06-24 07:34:27 +00:00
Simon Marshall
c6b3c155c9 ditto for c-backslash-region. 1995-06-16 12:45:12 +00:00
Simon Marshall
d73ecf45ad Put menu-enable mark-active on relevant items. 1995-06-16 12:30:26 +00:00
Richard M. Stallman
09843b4a11 (grep-null-device): Defined.
(grep): Use grep-null-device.
1995-06-16 04:36:55 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Roland McGrath
cd494de497 (compilation-find-file): If FILENAME is absolute, apply
abbreviate-file-name to it and then use its directory part as the first
search path element, searching for its nondirectory part.
Fix prompting code not to use a free variable.
(compilation-parse-errors, compile-abbreviate-directory): Use
abbreviate-file-name on directories.
1995-06-14 15:47:10 +00:00
Karl Heuer
30ffd6211a Remove version information. 1995-06-02 00:14:33 +00:00
Karl Heuer
f139ce8762 (initial comments): Copyright 1995; don't speak
about setup; correct history for a file that actually IS in
Emacs 19.29; update list of known bugs.
(all functions): inititialize all local variables explicitely to 'nil'.
(ada-font-lock-keywords): initialized according to new user option
`font-lock-maximum-decoration'.

(ada-ident-re): new regexp for Ada identifiers.
(ada-block-start-re): "record" may be preceded by one or more
occurencies of "limited", "abstract", or "tagged".
(ada-end-stmt-re): added "separate" body parts, "else", and
"package <Id> is".
(ada-subprogram-start-re): added "entry", "protected" and
"package body"
(ada-indent-function): handle "elsif" the same way as "if", added
"separate" for no indent.
(ada-get-indent-type): if "type ... is .." is followed by code on
the same line, it is a broken statement. Test it.
(ada-check-defun-name): check for "protected" records.
(ada-goto-matching-decl-start): use of ada-ident-re.
(ada-goto-matching-start): extend regexp for "protected" record.
(ada-in-limit-line): renamed from in-limit-line. Don't use
count-lines, but test if beginning-of-line/end-of-line puts us
to bob/eob.
(ada-goto-previous-nonblank-line): save a beginning-of-line
statement, as we already are there.
(ada-complete-type): removed.
(ada-tabsize): removed.
(keymap): use C-M-a and C-M-e for proc/func movement.  No
keybinding anymore for next/prev-package.
(ada-font-lock-keywords-[1|2]): add protected records. "when" removed
from 'reference'-face.
(initial comments): updated CREDITS list.
(ada-add-ada-menu): capitalized menu entries.  Added menu statement
needed for XEmacs.

changed all Ada94 to Ada95.

(ada-xemacs): new function, detect if we are
running on XEmacs. Ada keymap definition and menus use it.
(ada-create-syntax-table): corrected comments explaining use of 2nd
syntax table.  Added creation of ada-mode-symbol-syntax-table
with '_' as word constituent.
(ada-adjust-case): add test, if symbol is preceeded by a "'".
If true, change case according to ada-case-attribute.
(ada-which-function-are-we-in): new routine. Save name of the current
function in the old buffer; we can place cursor now at the same
function in the new buffer using find-file.
(ada-make-body): new function.  Generates body stubs if the body
did not exist yet and you switch to it by find-file.
(ada-gen-treat-proc): complete rewrite for ada-make-body.
(ada-mode): two doc lines about the above extension.
(keymap definition): remove 4th parameter in call to
`substitute-key-definition' to make XEmacs happy.

(ada-adjust-case-region, ada-move-to-start, ada-move-to-end,
ada-indent-newline-indent, ada-format-paramlist): switch syntax
tables, protect switching of syntax tables with unwind-protect.
(ada-in-open-paren-p): replace user option
`ada-search-paren-line-count-limit' by
`ada-search-paren-char-count-limit'.
(ada-case-attribute): new user option, but not yet the functionality.
(ada-krunch-args): initialized to 0 exploiting the new capability of
'gnatk8' as of gnat-2.0.
(ada-make-filename-from-adaname): remove downcasing and replacement
of dots. This is done in external program gnatk8 (gnat-2.0).
(ada-in-open-paren-p): complete rewrite for speed-up.
(ada-search-ignore-string-comment): ignore # as a string terminator
in all searches.
(ada-add-ada-menu): use real variables instead of t for invoking
'easymenu'
(require 'easymenu).
(imenu-create-ada-index): we accept forward definitions again.
(ada-indent-region): catch errors, simplified code.
1995-05-31 19:30:32 +00:00
Karl Heuer
11b137a743 (sh-mode-map): Fix capitalization in menu bar. 1995-05-30 23:06:00 +00:00
Karl Heuer
0e520d74eb Fix capitalization in menu bar. 1995-05-30 23:05:08 +00:00
Karl Heuer
658e4ee5f1 Fix capitalization and punctuation in menu bar. 1995-05-30 22:48:05 +00:00
Karl Heuer
0949ba2b07 (compilation-mode-map): Fix capitalization in menu bar. 1995-05-30 22:42:32 +00:00
Roland McGrath
19ae9cb06f (compilation-error-regexp-alist): In "Cray C" regexp, don't allow newlines. 1995-05-30 19:35:59 +00:00
Roland McGrath
54de3248dc (compilation-error-regexp-alist): In "IBM C/C++ Tools" regexp, disallow
leading spaces and disallow whitespace chars within the file name.
1995-05-26 16:24:57 +00:00