1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
Commit Graph

874 Commits

Author SHA1 Message Date
Richard M. Stallman
2fe16d3bc0 (hif-token-regexp): Move ! after !=. 1996-09-13 21:53:55 +00:00
Tom Tromey
9a0fc2087f (tcl-indent-command): Use insert-tab, not self-insert-command. 1996-09-12 17:02:52 +00:00
Richard M. Stallman
8d4e82b502 (executable-insert): Doc fix.
(executable-query): Doc fix.
1996-09-04 17:02:12 +00:00
Richard M. Stallman
d353f8febf (save-match-data): Definition deleted. 1996-09-02 17:03:33 +00:00
Richard M. Stallman
4cc36b1786 (compilation-finish-functions): New variable.
(compilation-handle-exit): Run compilation-finish-functions.
1996-09-01 20:23:30 +00:00
Richard M. Stallman
6dd4407cdc (sh-alias-alist): Use gnu/linux, not lignux. 1996-08-28 20:09:51 +00:00
Richard M. Stallman
d6749f8f3d (makefile-font-lock-keywords): Catch variable
references that use substitutions.
1996-08-20 20:42:52 +00:00
Richard M. Stallman
4252d80c6c Comment change. 1996-08-15 21:18:04 +00:00
Erik Naggum
b974df0a9f new version from Torbj�Einarsson. 1996-08-14 01:59:41 +00:00
Erik Naggum
46b3fc26d9 (tag-exact-file-name-match-p): Fix previous change. 1996-07-23 22:32:48 +00:00
Roland McGrath
a0f09378bb (etags-goto-tag-location): New local variable LINE; use it.
Fix typo in direct-file-tag case: position -> startpos.
(tag-word-match-p, tag-exact-file-name-match-p): Fix off-by-one errors.
1996-07-23 16:17:33 +00:00
Richard M. Stallman
77a039e27b (executable-find): Doc fix. 1996-07-21 19:49:45 +00:00
Karl Heuer
6ddc496fa7 (executable-find): Doc fix. 1996-07-21 17:53:08 +00:00
Karl Heuer
3fbe47598e (executable-set-magic): Don't put a space at end
if user says no.
1996-07-15 20:18:18 +00:00
Karl Heuer
c14c7a0511 (sh-mode): Call sh-set-shell only for a writable
empty buffer.
1996-07-15 20:17:53 +00:00
Miles Bader
a24c42f7ff (scheme-mode-variables): Set comment-start-skip to ignore backslash-quoted
semicolons.
1996-07-04 05:45:55 +00:00
Richard M. Stallman
77f76e3e1b (executable-set-magic): Add space at end of line
if user says no to adding the shell's usual arguments.
Don't clear the buffer's modified-flag.
1996-06-29 00:57:36 +00:00
Richard M. Stallman
e1775344cd (makefile-gnumake-functions-alist): Add `addprefix'. 1996-06-27 07:48:39 +00:00
Erik Naggum
16bba9cabc (asm-mode-map): Fix typo. 1996-06-22 02:14:01 +00:00
Richard M. Stallman
6c58b173c9 (asm-mode-map): Bind C-c ; to comment-region. 1996-06-21 20:58:52 +00:00
Roland McGrath
da3b3a7815 (etags-list-tags): When there is an explicit tag name, skip the \177 before
it.
1996-06-08 14:24:21 +00:00
Richard M. Stallman
b4ec679c1e (c-macro-preprocessor): New clause for Solaris. 1996-06-07 22:59:27 +00:00
Roland McGrath
b7089f3c83 Fri Jun 7 13:06:53 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* etags.el (tag-lines-already-matched): Remove defvar.
	(initialize-new-tags-table): Don't make that var local.
	(tag-lines-already-matched): Add docless defvar near find-tag-in-order
 	defun; this is a global state variable for that one function.
	(find-tag-in-order): Move clearing of tag-lines-already-matched out of
 	loop.  Make it a list of markers and search it with member; it is now
 	global, not buffer-local in the tags table, and records all matches in
 	any tags table during a single find-tag loop.  When we run out of
 	matches, clear it and null out the markers.
1996-06-07 17:31:33 +00:00
Karl Heuer
32cdf3f63e (c-macro-expansion): Delete ??! trigraph in uniquestring.
Use same syntax table in outbuf as in inbuf.
Insert newline instead of space at end, for
proprocessors which don't like truncated lines.
1996-05-21 15:42:13 +00:00
Karl Heuer
9e9094f771 (c-macro-expansion): Correct bug in creating tempname. 1996-05-21 14:51:17 +00:00
Karl Heuer
4337739c5d Delete the hilit19 support--it doesn't work.
(f90-face-*, f90-auto-hilit19, f90-hilit-patterns): Vars deleted.
(f90-mode, f90-update-line): Delete the hilit19 support code.
1996-05-17 21:02:41 +00:00
Richard M. Stallman
a0bd2457ad (pascal-end-of-statement, pascal-calculate-indent):
Set parse-sexp-ignore-comments to t before parsing.
(pascal-indent-case): Save position of cursor, and restores it
after reindenting the code.
1996-05-13 16:25:13 +00:00
Richard M. Stallman
f885e95c76 (f90-hilit-patterns): Avoid using undefined variables. 1996-05-11 00:29:46 +00:00
Richard M. Stallman
46b9324699 (hide-ifdef-mode): Doc fix. 1996-05-05 17:27:24 +00:00
Richard M. Stallman
0c43cc8912 (compilation-error-regexp-alist): Add regexp
for Microsoft VC++ error messages containing drive letters.
1996-04-26 19:45:16 +00:00
Richard M. Stallman
8b09046c08 (simula-submit-bug-report): Use emacs-version.
(simula-version): Function and variable deleted.
1996-04-21 01:40:33 +00:00
Richard M. Stallman
8ca3cd4462 (simula-tab-always-indent, simula-indent-level)
(simula-substatement-offset, simula-continued-statement-offset)
(simula-label-offset, simula-if-indent, simula-inspect-indent)
(simula-electric-indent, simula-abbrev-keyword, simula-abbrev-stdproc):
Added default constants.
(simula-emacs-features): new constant to hold information
on which flavor if emacs is running (from cc-mode.el).
(simula-mode-menu): Menu definition for Lucid Emacs
(simula-mode-map): Bound new command simula-indent-exp to C-M-q
and added lots of commands to [menu-bar].
(simula-popup-menu): New function for Lucid menus.
(simula-keep-region-active): New function for Lucid menus.
(simula-indent-exp): New command that indents a whole expression.
(simula-indent-line): New strategies for finding the right amount to indent.
(simula-skip-comment-backward): Added optional parameter stop-at-end
to stop at the first END statement.
(simula-expand-stdproc): Added abbrev expansion to verbatim copy
of abbrev table, same for function simula-expand-keyword.
(simula-search-backward): Added Doc string, and lots of error checking.
(simula-search-forward): Added Doc string, and lots of error checking.
Added hilit19 config code.
(simula-version): New variable and function to report value.
(simula-submit-bug-report): New function to submit bug report.
1996-04-21 01:39:51 +00:00
Karl Heuer
c80718ccb9 (f90-keywords-re): Added operator and result.
(f90-keywords-level-3-re): Added operator and result.
(f90-match-end, f90-looking-at-program-block-start): Fixed bug
with false matching in comments/strings.
(f90-looking-at-program-block-start, f90-imenu-generic-expression):
Added knowledge of pure and extrinsic subroutines.
(f90-abbrev-start): Fixed bug using next-command-event.
(f90-keywords-level-3-re): Added keyword "nullify".
(f90-else-like-re): Fixed indentation of case() statements.
(f90-font-lock-keywords-2): Changed highlighting of case() statements.
1996-04-19 20:07:47 +00:00
Richard M. Stallman
c898fb2821 (sh-while-getopts): Punctuate help message better. 1996-04-15 21:17:59 +00:00
Richard M. Stallman
a124b2795d (sh-alias-alist): Recognize lignux. 1996-03-27 02:39:09 +00:00
Richard M. Stallman
8d31ff153a (sh-shell-arg): Add no options for bash, ksh, or wksh. 1996-03-27 00:09:54 +00:00
Richard M. Stallman
8e46e26749 (sh-shell-arg): Don't add any options for bash, ksh. 1996-03-25 01:42:05 +00:00
Tom Tromey
fcb51016d2 (tcl-using-emacs-19): Work with XEmacs 20.0. From Ben Wing. 1996-03-23 05:14:50 +00:00
Richard M. Stallman
dd4d27ca9e (switch-to-lisp): Sometimes turn on pop-up-frames. 1996-03-22 14:13:07 +00:00
Richard M. Stallman
b23c9e46bd (indent-c++-exp): Use calculate-c-indent-after-brace.
(c++-mode): Require c-mode.
1996-03-21 14:16:06 +00:00
Richard M. Stallman
b48a16d28d (sh-font-lock-keywords): Highlight \ only with non-alphanumeric char. 1996-03-20 16:18:23 +00:00
Roland McGrath
95d219b53e (compilation-find-buffer): Only choose compilation-last-buffer if it is
compilation-buffer-p.
1996-03-14 15:32:38 +00:00
Richard M. Stallman
2e952aac2f (pascal-declaration-end): Now locates the end of a parameterlist correctly.
(electric-pascal-tab): Never indented a line when
pascal-tab-always-indent was set to nil.
(pascal-indent-case): Now locates the end of a case-statement correctly.
1996-03-07 05:53:10 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
f50adf13bd (compilation-parse-errors):
Collapse //'s using command-line-normalize-file-name.
1996-03-01 20:13:42 +00:00
Richard M. Stallman
252ed27682 Comment change. 1996-03-01 05:26:29 +00:00
Richard M. Stallman
1f35e35975 (makefile-runtime-macros-list): Add + to the list. 1996-02-26 19:33:15 +00:00
Erik Naggum
b90a00f27f (compilation-minor-mode): Add missing `)'. 1996-02-22 02:45:43 +00:00
Karl Heuer
4d23eb4bd3 (perl-imenu-generic-expression): Recognize packages. 1996-02-21 21:29:14 +00:00
Karl Heuer
f5ddf99a40 (c++-mode-syntax-table): Don't use c-mode-syntax-table. 1996-02-21 21:28:23 +00:00
Roland McGrath
fee3f63a1c (compilation-minor-mode): Run compilation-minor-mode-hook. 1996-02-21 16:32:37 +00:00
Roland McGrath
f95f9d2b33 Added provide. 1996-02-21 07:29:19 +00:00
Roland McGrath
6014138c23 (compilation-parse-errors): Detect doubled slashes in file names matched
and fix them up in the buffer.
1996-02-13 03:05:14 +00:00
Karl Heuer
2a74bdc1b5 (f90-indent-subprogram): Fix message. 1996-02-09 23:19:02 +00:00
Richard M. Stallman
7f03b2b5db (f90-indent-subprogram, f90-match-end): Pass proper format string to message.
(f90-face-*): Reinstalled code deleted on Sep 22.
(f90-hilit-patterns): New variable.
(f90-mode): Call hilit-set-mode-patterns if defined.
(f90-auto-hilit19): New variable.
(f90-fill-region): Bind f90-auto-hilit19 to nil.
(f90-update-line): Rehilight if appropriate.
1996-02-09 02:54:26 +00:00
Richard M. Stallman
d89793b7b8 (compilation-filter): Run compilation-filter-hook. 1996-02-01 07:22:14 +00:00
Karl Heuer
b0b3cce2dd (visit-tags-table-buffer, tags-loop-scan, complete-tag): Fix error format
string.
1996-01-29 23:14:52 +00:00
Richard M. Stallman
5d73ac6685 (sh-shell-variables-initialized): New variable.
(sh-mode): Make sh-shell-variables and
sh-shell-variables-initialized local.
(sh-set-shell): Don't scan the buffer for variable assignments.
Set sh-shell-variables-initialized to nil.
(sh-shell-initialize-variables): New function.
(sh-add-completer): New function.  Initialize sh-shell-variables
here if not yet done.
(sh-add): Use sh-add-completer for completion.
1996-01-29 23:11:40 +00:00
Karl Heuer
8995e09e9b (cpp-parse-error): Fix error format string. 1996-01-29 23:11:17 +00:00
Karl Heuer
4dd3b39642 (ada-indent-region, ada-check-matching-start, ada-check-defun-name): Fix error
format string.
1996-01-29 23:09:15 +00:00
Richard M. Stallman
68dff3ca9c (c-macro-preprocessor): Define a preprocessor name
which is valid on MS-DOS.

(c-macro-expansion): Do not rely on ``/tmp/'' being present; use
environment variables as alternatives (MSDOS).  Use
`shell-file-name' rather than ``sh''.  Redirect `stderr' with
`call-process-region' option, not from the shell.  Handle shells
which don't return exit code from `cpp' (MSDOS).  Put messages
from `cpp' inside a comment, to avoid messing up syntax highlighting.
1996-01-29 05:26:21 +00:00
Richard M. Stallman
abdcf1fb2c (makefile-font-lock-keywords): Improve highlighting
of variable references inside other highlighted regions.
1996-01-26 19:30:42 +00:00
Simon Marshall
3e7fc8bd9f Support for Font Lock mode. 1996-01-25 10:27:31 +00:00
Karl Heuer
5fb0f713c5 (ada-adjust-case-region, ada-indent-region): Delete format call inside message. 1996-01-25 00:59:05 +00:00
Karl Heuer
23161c61c4 (simula-electric-keyword): Pass proper format string to message. 1996-01-25 00:57:23 +00:00
Richard M. Stallman
8d3a793498 (makefile-browser-toggle): Use delete-region, not kill-line. 1996-01-24 20:06:06 +00:00
Karl Heuer
52f8462227 (compilation-handle-exit): Undo previous change.
Don't reference `proc' object.
Pass current buffer to `compilation-finish-function'.
1996-01-23 17:51:09 +00:00
Karl Heuer
d91cddc27a (compilation-handle-exit): If process-status doesn't
exist (e.g. on MSDOS), use an empty string.
1996-01-21 03:55:57 +00:00
Erik Naggum
fc8318f6c8 (sh-mode): Add autoload cookie. 1996-01-19 00:10:34 +00:00
Richard M. Stallman
b46c06dea5 (sh-indent-line): Cope if no previous noncomment line. 1996-01-17 22:41:21 +00:00
Richard M. Stallman
c183f0dad4 (makefile-mode): Fix criterion for calling makefile-define-space-face. 1996-01-17 22:26:18 +00:00
Richard M. Stallman
5a989d6ec0 (sh-shell-variables): New variable.
(sh-set-shell, sh-remember-variable):
Set sh-shell-variable, not process-environment.
(sh-mode): Don't make process-environment local.
Add a mode-class property.
(sh-add): Use sh-shell-variable in completion.
Compute alist properly from process-environment.
1996-01-17 00:19:44 +00:00
Erik Naggum
e451cded20 Update comment preamble. 1996-01-15 05:56:38 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
d877f24756 Many doc fixes.
(hs-hide-hook): Renamed from hs-hide-hooks.
(hs-show-hook): Renamed from hs-show-hooks.
1996-01-12 05:28:46 +00:00
Richard M. Stallman
616db04b18 (sh-mode): Don't move point.
(sh-set-shell): New args NO-QUERY-FLAG and INSERT-FLAG.
Pass them to executable-set-magic.
Really set font-lock-syntax-table.  Slight cleanups.
1996-01-11 17:11:39 +00:00
Karl Heuer
aafd074a3e (sh-alias-alist): Don't map sh to bash.
(sh-canonicalize-shell): New function.
(sh-shell-file): Renamed from sh-shell-path.
(sh-set-shell): Don't set local-abbrev-table.
(sh-abbrevs): Variable and function definition commented out.
1996-01-09 23:19:53 +00:00
Karl Heuer
5f55e1592e (makefile-space-face): Don't work on
facemenu-unlisted-faces if it isn't bound.
1996-01-09 23:19:17 +00:00
Karl Heuer
291c92b777 (executable-find): Renamed from `executable'.
(executable-set-magic): Use new name `executable'.  Fix messages.
Add save-excursion.  Don't test this-command--use interactive
to get the information.  Simplify considerably.
1996-01-09 23:17:18 +00:00
Roland McGrath
3e8258e7f5 (compilation-error-regexp-alist, grep-regexp-alist
compilation-mode-font-lock-keywords): Allow leading "[a-zA-Z]:" in file
name regexps, for DOS drive letters.
1996-01-06 21:20:51 +00:00
Roland McGrath
369d3cdc63 Mon Nov 6 18:01:01 1995 Dave Love <d.love@dl.ac.uk>
* compile.el (compilation-error-regexp-alist): Add MIPS lint
        regexps.
1996-01-06 21:11:08 +00:00
Roland McGrath
b1707ae465 (compilation-error-regexp-alist): Broaden GNAT regexp to match column numbers. 1996-01-06 21:09:40 +00:00
Roland McGrath
21f47958e4 (compilation-error-regexp-alist): Add regexp for IBM AIX xlc compiler. 1996-01-06 21:03:47 +00:00
Roland McGrath
fd5e58d78d (compilation-handle-exit): New function, broken out of compilation-sentinel.
(compilation-sentinel, compile-internal): Use it.
(compilation-exit-message-function): Doc fix for protocol change: take
process status and exit-code args instead of process object.
(grep): Use new protocol for compilation-exit-message-function.
1996-01-06 20:54:19 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
6cfd21c904 (interpreter-mode-alist, auto-mode-alist): Don't alter this here. 1996-01-05 02:36:06 +00:00
Richard M. Stallman
fc30803c6d (interpreter-mode-alist): Modification deleted. 1996-01-05 02:25:26 +00:00
Karl Heuer
46c63acf93 Comment fix. 1996-01-05 00:05:12 +00:00
Karl Heuer
f29601ad4d (sh-mode-syntax-table): Doc fix. 1996-01-04 23:48:07 +00:00
Karl Heuer
4a6fd75f1d (pascal-auto-newline, pascal-mode, electric-pascal-hash):
Doc fix.
1996-01-04 23:46:19 +00:00
Karl Heuer
f951869d02 (m2-case, m2-for, m2-if): Doc fix. 1996-01-04 23:45:36 +00:00
Karl Heuer
ac282af805 (makefile-insert-special-target,
makefile-backslash-region): Doc fix.
1996-01-04 23:44:52 +00:00
Karl Heuer
44fb78c092 (cpp-unknown-face, cpp-face-mono-list, cpp-face-all-list):
Doc fix.
1996-01-04 23:31:45 +00:00
Karl Heuer
863f75313b (c++-mode): Doc fix. 1996-01-04 23:31:24 +00:00
Karl Heuer
9c09c0080c (compilation-error-list): Doc fix. 1996-01-04 23:30:53 +00:00
Karl Heuer
3746aa5590 (ada-case-keyword, ada-auto-case, ada-krunch-args,
ada-call-pretty-printer): Doc fix.
1996-01-04 23:25:15 +00:00
Karl Heuer
ebfa69444d (hs-hide-block): Fix message spelling. 1996-01-04 23:18:48 +00:00
Richard M. Stallman
21590f63ea (cpp-config-file): New variable.
(cpp-edit-load): Use `cpp-config-file'.
(cpp-edit-save): Use `cpp-config-file'.
1996-01-01 23:47:49 +00:00
Richard M. Stallman
3edc14ae84 (hide-ifdefs): Set hif-outside-read-only here. 1995-12-25 21:03:10 +00:00
Richard M. Stallman
f5356416e9 Many doc fixes.
(hide-ifdefs): New arg NOMSG.
(hif-before-revert-function): New function.  Put on after-revert-hook.
1995-12-25 20:44:18 +00:00
Richard M. Stallman
32b558fad3 (makefile-add-log-defun): Rewrite to scan back
checking one line at a time.  Notice blank lines and comments.
1995-12-25 01:43:07 +00:00
Richard M. Stallman
d3e5689115 (compile-internal): On systems with no asynchronous
processes: do relevant parts of compilation-sentinel after the
process exits; make modeline during and after compilation be
similar to what compilation-sentinel displays.
1995-12-23 07:13:31 +00:00
Karl Heuer
34bb441e23 (makefile-font-lock-keywords): Fix bad structure
for the "^\t+#" element.

Add faces to menu only if window-system.
(makefile-mode): Do not check if makefile-define-space-face is
defined.  Call it only if window-system.
1995-12-21 17:56:09 +00:00
Roland McGrath
501cf4283f (compilation-mode): Add autoload cookie. 1995-12-20 19:41:30 +00:00
Roland McGrath
83287e5be3 Fix completely broken changes of 4 Feb 95 by brat@htilbom.ernet.in,
which were obviously never tested or even examined closely before
being installed.
(find-tag-file-order): Variable removed.
(find-tag-noselect): Remove gratuitously added variable SEARCH-TAG and
bogus clobbering of find-tag-order for patterns ending in dot (serious
braindamage here).
(find-tag-in-order): Remove gratuitously added variable TAGS-TABLE-FILE.
Remove variable MATCH-TYPE and code testing it for stupid special case.
(etags-recognize-tags-table): Put tag-exact-file-name-match-p first in
find-tag-tag-order list.  Don't set bogus find-tag-file-order variable.
(etags-snarf-tag): Notice file name match and return tag info with t
in place of tag text.
(etags-goto-tag-location): If (car TAG-INFO) is t, go directly to
the specified location.
(tag-exact-file-name-match-p): Renamed from tag-filename-match-p, and fixed.
(tags-table-files): Doc fix: names are returned unexpanded.
(etags-tags-table-files): Don't expand file names.
(tags-table-including, next-file): Expand result of (tags-table-files).
(tags-complete-tags-table-file): New function, helper for interactive
spec of list-tags.
(list-tags): Revert to original code, but use that function to lazify
the completion table.
(tags-list-functions-in-file, tags-locate-file-in-tags-table):
Functions removed.
1995-12-14 06:34:54 +00:00
Karl Heuer
f7c7053ea6 Provide sh-script. 1995-12-13 01:37:58 +00:00
Karl Heuer
bfc8e97b47 (sh-mode-map): Make the code more legible.
(sh-font-lock-keywords-1): Allow keyword `in' at eol too.
(sh-font-lock-keywords-only): New variable to prevent an apostrophe
in comment from misfontifying buffer, but to allow users who don't
have such to get strings fontified.
(sh-mode): Use it.
1995-12-13 01:22:05 +00:00
Tom Tromey
150269d560 (add-log-tcl-defun): Don't use tcl-beginning-of-defun; just go to end
of line before searching.
1995-12-07 18:27:47 +00:00
Tom Tromey
5191b75daa (add-log-tcl-defun): Now uses tcl-beginning-of-defun. 1995-12-07 18:18:21 +00:00
Richard M. Stallman
4ea8a34b66 (inferior-lisp-load-command): Doc fix. 1995-11-25 00:28:19 +00:00
Richard M. Stallman
c20032c4e8 (next-file): Make interactive arg t if had any prefix arg. 1995-11-17 22:27:47 +00:00
Richard M. Stallman
55a488bede (c++-mode): Remove autoload cookie. 1995-11-15 18:58:57 +00:00
Richard M. Stallman
256e4874e9 (compilation-sentinel): Use the local value of
compilation-exit-message-function in the process buffer.
1995-11-14 03:48:33 +00:00
Erik Naggum
2cefc54e03 (sh-mode): Remove ! in column 1. 1995-11-11 14:35:47 +00:00
Richard M. Stallman
a91f616d88 (sh-mode): as above. Use page-delimiter rather than literal "^L". 1995-11-11 05:31:11 +00:00
Karl Heuer
f36e4a5ea9 (makefile-space-face): Don't list in facemenu. 1995-11-10 18:58:37 +00:00
Richard M. Stallman
80c1bbc61f (awk-mode): Require cc-mode. 1995-11-10 17:09:45 +00:00
Richard M. Stallman
fd4ea9a214 (sh-mode-map): Put sh-execute-region on C-M-x.
Put executable-interpret on C-c C-x.
1995-11-10 17:06:28 +00:00
Richard M. Stallman
ebeafce6a5 (makefile-mode): Call makefile-define-space-face only if it is defined.
(makefile-define-space-face): Create the face unconditionally;
alter it only if have X.
1995-11-10 04:44:37 +00:00
Simon Marshall
c81b38d300 compilation-mode-font-lock-keywords tweak 1995-11-09 08:20:16 +00:00
Karl Heuer
80e01c1954 (makefile-define-space-face): Don't make face if non-X. 1995-11-05 04:40:19 +00:00
Karl Heuer
84bfbb448d (sh-shells): Eliminated variable redundant with
`interpreter-mode-alist'.
(sh-beginning-of-command): Take into account \quoted newline.
(sh-builtins, sh-leading-keywords, sh-other-keywords): Now three
distinct sets for font-locking.
(sh-font-lock-keywords-1, sh-font-lock-keywords-2): New variables
and functions to give the user finer control over how much to fontify,
including new distinction between keywords and builtins.
(sh-mode): Use new features of `font-lock-defaults' and adaptation
to skeleton changes.
(sh-while): Fix csh, es & rc skeletons.
1995-11-03 03:29:46 +00:00
Karl Heuer
7874dacdaa (sh-remember-variable): Set variable to empty string,
so as not to mess up subprocesses' environment.  Not so nice for
completion.
1995-11-03 03:16:36 +00:00
Richard M. Stallman
9993b5610c (select-tags-table): Don't modify the value of tags-table-list. 1995-10-30 19:25:04 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Simon Marshall
97af036810 Use frame-parameters, not font-lock-background-mode and font-lock-display-type. 1995-10-30 08:31:08 +00:00
Simon Marshall
f408b02745 Fix to fortran-font-lock-keywords-* for new font-lock-keywords structure. 1995-10-26 13:31:26 +00:00
Richard M. Stallman
a9132c1f5f Require cc-mode. 1995-10-26 03:14:40 +00:00
Richard M. Stallman
048fb1b748 Provide hideif; require cc-mode. 1995-10-26 03:13:43 +00:00
Richard M. Stallman
0d48fc0afc (calculate-c++-indent): Skip over paren-group
when looking back to determine context of a top-level line.
Don't treat a line starting with } as a continuation.
1995-10-19 22:04:18 +00:00
Richard M. Stallman
5e1cecee20 All doc strings changed to comply with standard Emacs conventions.
(ada-mode): Support new font-lock-mode.
(ada-format-paramlist): Changed all `accept' to `access'.
(ada-insert-paramlist): Changed all `accept' to `access'.
(ada-in-comment-p): Use standard Emacs way `parse-partial-sexp'.
(ada-font-lock-keywords-1): Change order of some alternatives.
1995-10-17 03:33:46 +00:00
Roland McGrath
b1c7e43439 (tags-table-check-computed-list): Map tags-expand-table-name over lists of
included tables.
1995-10-09 18:00:54 +00:00
Erik Naggum
dcf804a0a9 (ada-gen-treat-proc): Bind procname' and functype'. 1995-10-09 03:11:29 +00:00
Karl Heuer
ee30478d72 Major revision.
Much improved and quicker highlighting using font-lock.
Support for hilit19 removed.
Support for imenu added.
Changed indentation for continue statements.
Added treatment of preprocessor directives.
(f90-directive-comment-re) is now a regular expression.
Many bug fixes.
1995-09-22 21:31:45 +00:00
Richard M. Stallman
fa75f22d59 (executable-set-magic): Use make-local-hook for after-save-hook. 1995-08-28 15:12:57 +00:00
Richard M. Stallman
f067044f47 (makefile-font-lock-keywords): Highlight lines with
tab followed by #, and initial spaces preceding tabs--not all initial spaces.
1995-08-28 15:09:57 +00:00
Richard M. Stallman
539fbabbec (hide-ifdef-hiding): Delete duplicate defvar. 1995-08-27 17:18:05 +00:00
Richard M. Stallman
a4eecfc9a3 (m2-execute-monitor-command): Renamed from execute-monitor-command. 1995-08-27 17:15:57 +00:00
Roland McGrath
f042d38385 (next-file): Advance next-file-list before finding the file named in its
car, in case finding signals an error.
1995-08-25 16:39:34 +00:00
Richard M. Stallman
6a99a3eade (makefile-mode-syntax-table): "]" is a close-paren. 1995-08-24 20:18:58 +00:00
Richard M. Stallman
6728a649bd (makefile-add-log-defun): Avoid error at eob. 1995-08-24 20:16:31 +00:00
Richard M. Stallman
bd0e4eb1cc Doc fixes.
(makefile-font-lock-keywords): Highlight lines of just whitespace.
1995-08-23 23:51:38 +00:00
Tom Tromey
8967cd6efd (tcl-hilit): New function from "Chris Alfeld" <calfeld@math.utah.edu>
(tcl-mode): Call it
1995-08-22 17:49:45 +00:00
Roland McGrath
01f89d1183 (compilation-exit-message-function): New variable.
(compilation-sentinel): If compilation-exit-message-function is non-nil,
call it to produce messages for buffer and mode line.
(grep): Use that variable to produce snazzier messages.
1995-08-21 22:15:58 +00:00
Richard M. Stallman
118a98570e (makefile-space-face): New variable.
(makefile-define-space-face): New function.
(makefile-tab-face): Variable deleted.
(makefile-define-tab-face): Function deleted.
(makefile-font-lock-keywords): Highlight leading spaces, not tabs.
1995-08-21 17:27:04 +00:00
Richard M. Stallman
33069f5829 Define user options with defvar, not defconst. 1995-08-21 14:30:34 +00:00
Karl Heuer
cd76025c78 (sh-newline-and-indent): Don't interpret prefix arg
since `newline-and-indent' doesn't either.  Don't turn a trailing
quoted tab into a space.
(sh-mode): Use new `skeleton-newline-indent-rigidly'.
(sh-set-shell): Make maximum font-locking also hightlight keywords
after ``' and `!'.  (The latter is for ksh '93 but should't hurt other
shells.)
1995-08-19 00:30:56 +00:00
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
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