1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
Commit Graph

557 Commits

Author SHA1 Message Date
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
Karl Heuer
98e05fae58 (ada-add-ada-menu): Fix args to easy-menu-define. 1995-05-22 21:42:13 +00:00
Karl Heuer
58ac467ee7 (c-fill-paragraph): Don't alter point
when deciding to narrow at the end for the sake of a comment ender.
1995-05-17 20:44:36 +00:00
Roland McGrath
eae2c972e7 (compilation-next-error-locus): Ignore zero column number.
(compilation-parse-errors): Don't store the beginning of the line
containing the end of the error-regexp match.  Instead, store the beginning
of the line containing the start of the match, unless the match starts
with a newline, in which case the beginning of the next line.
1995-05-12 17:26:59 +00:00
Simon Marshall
e3889f8470 Added entry' to fortran-font-lock-keywords-1' highlight of declarations. 1995-05-12 07:23:19 +00:00
Tom Tromey
303f8496cb (tcl-type-alist): Include entry for "proc". 1995-05-11 22:12:49 +00:00
Roland McGrath
78809db739 (tags-loop-continue): Doc fix.
Reset NEW after visiting for real, so we don't clobber the buffer again.
1995-05-11 03:30:10 +00:00
Roland McGrath
4dbf8a2c70 (compilation-error-regexp-alist): Add regexps for IBM and Cray compilers.
(compilation-next-error-locus): Ignore a column number that is zero.
1995-05-11 00:44:51 +00:00
Tom Tromey
1305021dea (tcl-add-fsf-menu): Use make-lucid-menu-keymap, not
"make-xemacs-menu-keymap".
1995-05-10 23:38:12 +00:00
Tom Tromey
60da020d00 Bug fix in menu code for XEmacs. 1995-05-10 18:22:21 +00:00
Tom Tromey
e9e7f5f226 Changed "Lucid Emacs" to "XEmacs".
Tcl's popup menu now added to existing one, courtesy
dfarmer@evolving.com (Doug Farmer)
1995-05-09 21:36:53 +00:00
Richard M. Stallman
0f21f770b2 (hide-ifdef-mode-prefix-key): Change to C-c @.
(hide-ifdef-mode-submap): Get rid of \e from all bindings.
1995-05-02 03:57:27 +00:00
Richard M. Stallman
3b11420577 (makefile-mode): Set dabbrev-abbrev-skip-leading-regexp. 1995-05-01 17:16:40 +00:00
Richard M. Stallman
5d5ab7ac50 (compile-internal): Disable undo before erasing
the buffer, then enable again afterward.
(compilation-sentinel): Use force-mode-line-update.
1995-04-29 16:37:06 +00:00
Karl Heuer
a716ac738a (fortran-auto-fill-mode): Use force-mode-line-update. 1995-04-25 22:30:13 +00:00
Karl Heuer
c63e0f9a7d (hide-ifdef-toggle-read-only): Use force-mode-line-update.
(hide-ifdef-toggle-outside-read-only): Use force-mode-line-update.
1995-04-25 22:29:17 +00:00
Karl Heuer
3d93ac2871 (f90-auto-fill-mode): Use force-mode-line-update. 1995-04-25 22:17:55 +00:00
Simon Marshall
f022dd8915 Use new fortran-match-!-comment to do !-style fontification; do rest in regexps 1995-04-24 10:51:17 +00:00
Karl Heuer
72e80cad6f (f90-keywords): "only" added to keyword list.
(f90-font-lock-keywords-1): Type may now have attributes private
and public.
(f90-font-lock-keywords-2): Fixed difference between type and type().
(hilit-set-mode-patterns): Type may now have attributes private.
and public, fixed difference between type and type().
(f90-p-type-re): New regular-expression constant for type commands.
(f90-mode): indent-tabs-mode put to nil by default.
(f90-looking-at-type-like): Now uses f90-p-type-re.
(f90-no-block-limit): Now uses f90-p-type-re.
(f90-change-keywords): Don't change preprocessor lines.
1995-04-20 17:23:29 +00:00
Richard M. Stallman
dfc4f59b16 (cpp-edit-reset): Fix typo.
(cpp-signal-read-only, cpp-grow-overlay): Update to new calling conventions.
(cpp-make-overlay-hidden): Don't allow insertion before a read-only overlay.
1995-04-19 06:37:49 +00:00
Roland McGrath
a2416e212f (tags-search, tags-query-replace): Put (quote ...) around args inserted
into forms to be evalled.
1995-04-18 18:29:05 +00:00