1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

461 commits

Author SHA1 Message Date
Richard M. Stallman
a681b2a1c5 Add autoload cookie.
(ada-mode-map): Don't define C-m, M-a, M-e, M-q.
Don't define M-q.
(ada-mode): Set fill-paragraph-function locally.
(ada-fill-comment-paragraph): Return t.
(ada-gen-make-bodyfile): Add missing backslash.
1995-02-09 00:17:31 +00:00
Richard M. Stallman
972579f9fe Initial revision 1995-02-09 00:01:34 +00:00
Richard M. Stallman
aa27fbb477 (etags-file-of-tag): Handle file name used as tag. 1995-02-07 21:00:28 +00:00
Richard M. Stallman
5e882a6a22 Changes to support filenames as tags too and provided
a drop-in replacement for list-tags.
(find-tag-noselect): Recognize filenames as valid tags too.
(find-tag-file-order): New variable holds function to check for match
for a file name used as a tag.
(last-tag-file): New variable; stores the filename looked for via
find-tag family of functions.
(find-tag-in-order): If the tag is a file name, position at file beg.
(etags-recognize-tags-table): Added new var find-tag-file-order to
tags-table-format variables.  Added tag-filename-match-p to the
list for find-tag-tag-order.
(tag-filename-match-p): New function.
(list-tags): Rewritten for speed.
(tags-list-functions-in-file): New subroutine for list-tags.
(tags-locate-file-in-tags-table): New function locates a
file in `tags-table-list'.
1995-02-05 00:25:16 +00:00
Richard M. Stallman
c04f7d65eb (f90-mode-version): Variable deleted.
(f90-mode): Don't use f90-mode-version.
1995-02-03 20:56:33 +00:00
Richard M. Stallman
fcf9745f68 (c-mode-map): No binding for c-fill-paragraph
(c-fill-paragraph): Return t.
(c-mode): Put c-fill-paragraph in fill-paragraph-function.
1995-02-02 09:48:01 +00:00
Richard M. Stallman
db97b8725e Comment changes. 1995-01-31 06:24:07 +00:00
Richard M. Stallman
034a9d409f Initial revision 1995-01-31 06:13:47 +00:00
Richard M. Stallman
29869734a5 (c-forward-conditional):
If an apparent conditional is not really a conditional, skip past it.

(c-fill-paragraph): If comment terminator is on a
separate line, don't include that line in the filling.
1995-01-25 00:41:22 +00:00
Richard M. Stallman
9566dc1547 (pascal-*-completion, pascal-comp-defun)
(pascal-complete-word, pascal-completion-response, pascal-completion)
(pascal-get-completion-decl): Rename some internal variables
to start with 'pascal-'.
(pascal-str, pascal-all, pascal-pred, pascal-flag)
(pascal-buffer-to use): New dummy variables.
1995-01-24 03:27:54 +00:00
Richard M. Stallman
4dba7b41a4 (compile-internal): Force redisplay on compilation
buffer before executing compile process.
1995-01-20 23:45:34 +00:00
Karl Heuer
389817fd6c (set-c-style): Ignore case in completion. 1995-01-20 03:20:35 +00:00
Roland McGrath
8e8f2c4a3c (etags-file-of-tag): Use a regexp search to find the file name,
allowing it to contain any char but a newline.
1995-01-18 21:57:03 +00:00
Richard M. Stallman
9f51be8988 (pascal-mode-map, pascal-outline-map):
C-c C-b now inserts block.  C-c C-d does goto-defun.
`#' calls on electric-pascal-hash.
(pascal-calculate-indent, pascal-indent-alist)
(electric-pascal-tab, pascal-indent-case):
Better handling of indent within case.  Support for CPP.
The `;' in the last statement of a subblock may be omitted.
(electric-pascal-hash): New function.
1995-01-17 20:53:31 +00:00
Roland McGrath
230c8b48c8 (etags-tags-completion-table): Don't let match string contain a \177. 1995-01-15 09:43:29 +00:00
Richard M. Stallman
73dae9a9d5 (indent-c-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:50 +00:00
Richard M. Stallman
1103950c98 (indent-c++-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:24 +00:00
Richard M. Stallman
08b894ab8b (etags-goto-tag-location): Add 1 to char positions in TAGS. 1995-01-12 05:50:13 +00:00
Roland McGrath
9f051ac24d (find-tag-in-order): Don't set buffer-local value of tags-file-name. 1994-12-28 08:12:25 +00:00
Thien-Thi Nguyen
6da7653c6b Initial revision 1994-12-27 23:28:51 +00:00
Richard M. Stallman
4e7ce12e67 (compilation-minor-mode-map): Bind C-m to compilation-goto-error. 1994-12-27 03:47:06 +00:00
Richard M. Stallman
c5af0a1823 (fortran-end-if, fortran-end-do,
fortran-beginning-if, fortran-beginning-do): New subroutines.
(fortran-blink-matching-if, fortran-blink-matching-do): Use them.
(fortran-mark-do, fortran-mark-if): New user functions.
(fortran-blink-matching-if, fortran-mode): Doc mod.
1994-12-18 21:20:07 +00:00
Richard M. Stallman
401662cb4b (indent-c-exp): Don't be fooled by else_ or while_.
(c-indent-line): Likewise.
(c-backward-to-start-of-if): Don't be fooled by if_ or else_.
1994-12-17 00:40:24 +00:00
Roland McGrath
2d325322c1 (compilation-next-error-locus): Finish last change. 1994-11-30 21:48:37 +00:00
Roland McGrath
4ad26d84e1 (compilation-next-error-locus): Parsed column numbers are 1-origin. 1994-11-30 19:37:48 +00:00
Richard M. Stallman
caeb79ef07 (calculate-c-indent): Handle a top-level decl with multiple paren groups. 1994-11-28 16:53:54 +00:00
Roland McGrath
9c833060e3 (tags-query-replace): Use query-replace-read-args in interactive spec. 1994-11-15 21:03:22 +00:00
Roland McGrath
82f75ccadb (tags-table-including): Don't gratuitously cons (what was I thinking?).
Properly skip t elements of tags-table-computed-list.
1994-11-15 02:38:03 +00:00
Karl Heuer
446e6a1462 (scheme-mode-variables): Set parse-sexp-ignore-comments to t. 1994-11-14 18:52:51 +00:00
Roland McGrath
08b1edf49f (compile): With prefix arg, prompt even if (not compilation-read-command).
(compilation-error-regexp-alist): Make first regexp match column numbers too.
Remove regexp for "prog:file:line: error".
Replace GNAT 1.82 regexp with "prog: file:line\(:col\)?: error".
(compilation-parse-errors): If spec has a column subexpr, but it was
optional and didn't match, ignore it.
1994-11-10 23:01:15 +00:00
Richard M. Stallman
4cd90f206f (compilation-error-regexp-alist): Add an element for Irix 5.2 warnings. 1994-11-09 12:46:54 +00:00
Richard M. Stallman
308a286030 Changed almost every doc string.
(makefile-macroassign-regex): Don't include space and tab in macro names.

(makefile-backslash-column): New variable.
(makefile-backslash-region): New function.
(makefile-backslashify-current-line): New function.
(makefile-mode-map): Bind C-c C-\ to makefile-backslash-region.

(makefile-tab-face): New variable.
(makefile-font-lock-keywords): Use makefile-tab-face.
(makefile-font-lock-keywords): Use defvar, not defconst.
1994-10-30 21:20:42 +00:00
Roland McGrath
5c9e49a953 (next-file): Initialize next-file-list all at once from all tables.
Never call visit-tags-table-buffer when INITIALIZE is not t.
1994-10-20 21:17:44 +00:00
Richard M. Stallman
610c25c1bf (etags-tags-table-files, etags-tags-included-tables):
Search backwards for the comma in case the file name contains one.
1994-10-18 02:19:25 +00:00
Roland McGrath
c6987f0b90 (tags-reset-tags-tables): New function. 1994-10-14 03:26:31 +00:00
Richard M. Stallman
991c70f894 (compilation-filter): Do nothing if buffer is dead. 1994-10-13 07:40:50 +00:00
Simon Marshall
c4ca8d660f Removed setting of font-lock-keywords inadvertently left after last patch. 1994-10-12 16:03:28 +00:00
Simon Marshall
0ffb818c8f * sh-script.el: (sh-set-shell): Set font-lock-defaults. 1994-10-12 09:15:14 +00:00
Simon Marshall
cad69fcd2b * perl-mode.el: (perl-mode): Set font-lock-defaults. 1994-10-12 09:04:05 +00:00
Simon Marshall
7fa28db0ca * pascal.el: (pascal-mode): Set font-lock-defaults. 1994-10-12 09:02:43 +00:00
Simon Marshall
af4b1991f9 * makefile.el: (makefile-mode-syntax-table): Made '' and `' be
strings, and `#' be a comment.
	(makefile-font-lock-keywords): Add variable reference regexp.
	(makefile-mode): Set font-lock-defaults.
1994-10-12 08:55:27 +00:00
Simon Marshall
563f09b541 * fortran.el: (fortran-mode-syntax-table): Made `!' be a comment.
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2,
	fortran-font-lock-keywords): New variables.
	(fortran-mode): Set font-lock-defaults.
1994-10-12 08:24:50 +00:00
Simon Marshall
63a2daf6d0 * compile.el: (compilation-mode): Set font-lock-defaults. 1994-10-12 08:13:56 +00:00
Simon Marshall
788a3a2b22 * asm-mode.el: (asm-mode): Set font-lock-defaults. 1994-10-12 08:06:09 +00:00
Richard M. Stallman
a70332a1c7 (c-mode-map): Capitalize Mode in C Mode menu bar item. 1994-10-12 07:23:06 +00:00
Richard M. Stallman
6783b1ce6f (makefile-mode-name): Removed.
(makefile-mode): Skip any number of "#"s at beginning of comments.
(makefile-electric-keys): New variable.
(makefile-electric-dot): Self insert if not at bol.
(makefile-electric-equal): Really self-insert if not at bol.
(makefile-pickup-everything): Prefix arg means force pickups to be
redone.
(makefile-insert-macro-ref): Don't use format.
(makefile-runtime-macros-list): Added "$" to list.
(makefile-insert-special-target): Don't use format.
(makefile-insert-macro): Don't use format.
(makefile-insert-target): Don't use format.
(makefile-insert-target-ref): Don't use format.
(makefile-electric-colon): Really self-insert if not at bol.
(makefile-complete): New function.  Bound to M-TAB.
(makefile-do-macro-insertion): New function.
(makefile-mode-map): Add menu bar bindings.
(makefile-font-lock-keywords): New constant.
(makefile-mode): Deal with font-lock, add-log, imenu.
(makefile-macroassign-regex): Changed for use with font-lock.
(makefile-dependency-regex): Changed for use with font-lock.
(makefile-add-log-defun): New function.
(makefile-menu-index-function): New function.
1994-10-11 20:42:23 +00:00
Richard M. Stallman
c825792e64 (c-mode-map): Use "C mode" for the menu bar item name. 1994-10-11 02:32:39 +00:00
Tom Tromey
513a650902 (tcl-mode): imenu-create-index-function made buffer local. 1994-10-11 02:01:27 +00:00
Richard M. Stallman
210cf16d31 (pascal-font-lock-keywords): New variable.
(pascal-mode): Set comment-start-skip and comment-end.
Set font-lock-keywords locally.
1994-10-07 10:10:07 +00:00
Richard M. Stallman
9e55147771 (perl-font-lock-keywords): New variable.
(perl-mode): Set font-lock-keywords locally.
1994-10-07 10:08:48 +00:00