1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 13:10:37 -08:00
Commit graph

677 commits

Author SHA1 Message Date
Richard M. Stallman
74cf365d66 (inferior-lisp-mode-map): Use copy-keymap. 1994-03-02 16:51:20 +00:00
Richard M. Stallman
b8ca7cc378 (makefile-mode): Set local-write-file-hooks, not write-file-hooks.
Version 1.16.
(makefile-mode): Correct `make-variable-buffer-local' to
`make-local-variable'.  Set indent-tabs-mode to t.

(makefile-insert-macro-ref): Do not append a space
to the inserted macro reference.
(makefile-insert-macro-ref): Likewise if the reference is to
one of makefile-runtime-macros-list.
(makefile-format-macro-ref): If the name of the macro ref
starts with a '(' or '{' then the enclosing parentheses are not added.

(makefile-warn-suspicious-lines): New function.

Changed mode name to "Makefile" instead of "makefile".
1994-03-02 07:57:04 +00:00
Roland McGrath
33633b2810 (tags-add-tables): Change default value to 'ask-user; update doc.
(visit-tags-table-buffer): If tags-add-tables is nil, never add to current
list; if t, always; if non-nil, non-t, ask user.
1994-03-02 05:24:33 +00:00
Richard M. Stallman
7e0dd87e24 (pascal-sub-block-re): Recognize for and with. 1994-03-01 22:28:47 +00:00
Richard M. Stallman
1dc5112cb7 (c-macro-display-buffer): Delete special view-mode hack.
(c-macro-expansion): Parse from 1 to START just once.
Avoid counting lines.  Use ???!!!???!!! to mark start of
the region we want to look at.
1994-02-25 06:27:24 +00:00
Richard M. Stallman
bd13332096 (c-mode): Set outline-regexp and outline-level.
(c-outline-level): New function.
1994-02-24 22:34:24 +00:00
Roland McGrath
9481474b9d (copmilation-error-regexp-alist): Tighten up Ultrix 3.0 f77 regexp to
exclude : from file names; avoids lossage when : appears in error text.
1994-02-17 00:11:28 +00:00
Richard M. Stallman
069511c0a2 (c++-mode): Set parse-sexp-ignore-comments to t. 1994-02-16 18:20:13 +00:00
Richard M. Stallman
7ac7f4c200 (perl-mode): Set parse-sexp-ignore-comments. 1994-02-12 02:17:58 +00:00
Roland McGrath
b00f856bc3 (etags-goto-tag-location): First go directly to STARTPOS and see if PAT is
right there.
1994-02-11 05:54:37 +00:00
Richard M. Stallman
c72344c70d (makefile-browser-fill, makefile-browser-toggle):
Bind inhibit-read-only; don't set buffer-read-only.
1994-02-07 05:54:34 +00:00
Richard M. Stallman
6c61e6a9bc (c-macro-expand): Check inhibit-read-only. 1994-02-07 05:40:46 +00:00
Richard M. Stallman
4af1f50975 Properly check in the total rewrite installed months ago. 1994-02-07 05:39:56 +00:00
Richard M. Stallman
f1ff664544 (indent-c-exp): If line starts with }, ignore what
the previous line ends with.
1994-02-07 00:55:58 +00:00
Richard M. Stallman
410e491707 Comment change. 1994-02-06 01:39:23 +00:00
Karl Heuer
c9a73a9be7 (c-fill-paragraph): Delete extraneous close paren. 1994-02-03 19:18:21 +00:00
Richard M. Stallman
da4ce263a3 Many doc fixes.
(pascal-get-beg-of-line, pascal-get-end-of-line):
Use defsubst.  Renamed from get-...
(pascal-within-string): Use defsubst.
(delete-whitespaces): Function deleted;
callers use delete-horizontal-space instead.
(pascal-string-diff): Renamed from string-diff.

Complete rewrite.  Added an outline- minor-mode and completion.
1994-02-01 18:14:56 +00:00
Richard M. Stallman
5a8d870ba9 (calculate-fortran-indent): Handle
Fortran 90 INTERFACE and SELECT/CASE blocks.
1994-02-01 17:25:41 +00:00
Roland McGrath
20783a2b0d (visit-tags-table-buffer): Don't change VISIT-TAGS-TABLE-BUFFER-CONT when
it is 'same.  Do list verification frobbing for it being either 'same or
nil; but only set tags-table-list-started-at and tags-table-list-pointer
when it's nil.
1994-01-31 23:05:32 +00:00
Richard M. Stallman
0fef40c099 (c-fill-paragraph): Handle C++ mode. 1994-01-29 01:27:32 +00:00
Richard M. Stallman
dfb8966419 (compilation-error-regexp-alist): Handle DEC AXP OSF/1. 1994-01-19 14:21:20 +00:00
Roland McGrath
533304f86f (copmilation-error-list): Doc fix. 1994-01-16 09:34:46 +00:00
Roland McGrath
72244beaa0 (compilation-error-regexp-alist): Add regexp for Lucid lcc.
Element lists can now contain a 4th elt giving subexpr for the column.
(next-error): Handle error records with column numbers.
(compilation-parse-errors): Parse column numbers when the alist elt
specifies it.  Use string-to-int instead of read for numbers from buffer
text.
1994-01-16 09:10:58 +00:00
Richard M. Stallman
10e6ca88b1 Change defconsts to defvars. Doc fixes. 1994-01-14 20:54:08 +00:00
Richard M. Stallman
ae34566ab4 (hif-tokenize): Handle // comments after #if. 1994-01-11 05:47:14 +00:00
Richard M. Stallman
d52fd67cd1 (c-indent-region): Keep looping till reach endmark.
Treat #-lines specially.
1994-01-09 21:27:07 +00:00
Richard M. Stallman
0481133773 Comment fix. 1994-01-09 15:03:01 +00:00
Roland McGrath
1e0e614d5e (compilation-parse-errors): Prepend comint-file-name-prefix (if boundp) to
absolute file names culled from error msgs.
(compile-abbreviate-directory): Prepend comint-file-name-prefix (if boundp)
to DIR before other processing.
1994-01-06 17:21:32 +00:00
Roland McGrath
51ba27e7ac (compilation-buffer-p): Move defsubst before all callers.
(compilation-forget-errors): Reset compilation-parsing-end to 1 here.
(compile-reinitialize-errors): Don't reset compilation-parsing-end after
calling compilation-forget-errors.
Comment out gratuitous switch-to-buffer call; what was the rationale for it?
Don't check compilation-parsing-end (removed local AT-START); instead
always append to compilation-old-error-list, it will be nil if at start.
If compilation-error-list is non-nil before calling the parser, restore its
previous value afterwards; it still indicates the current error position.
Subtract the length of the existing compilation-error-list from
FIND-AT-LEAST when calling the parser.
(compilation-parse-errors): Don't check LIMIT-SEARCH at end of loop.
Inside check it inside each case of the cond; in error case we must discard
the last new error before stopping (just as for FIND-AT-LEAST).
Use floating-point in buffer percentage calculation, to avoid integer
overflow.
1994-01-06 15:25:19 +00:00
Richard M. Stallman
531b2a2817 (makefile-mode): Make comment-start, comment-end,
and comment-start-skip buffer-local.
1994-01-06 09:59:12 +00:00
Richard M. Stallman
35f7e85bda (compile-internal): Extended to work without asynchronous subprocesses. 1994-01-06 04:33:55 +00:00
Richard M. Stallman
9a474b25f8 Fix typo in previous change. 1994-01-03 10:43:37 +00:00
Richard M. Stallman
1a2ac38862 More menu bar commands. 1994-01-03 07:41:23 +00:00
Richard M. Stallman
885020c535 (c-mode-map): Add menu bar menu. 1994-01-02 21:51:47 +00:00
Richard M. Stallman
900162957b (compilation-read-command, compilation-ask-about-save): New variables.
(compile): Obey them.
1994-01-01 16:32:44 +00:00
Richard M. Stallman
6c0457176c (awk-mode-syntax-table): Was mistakenly changing
emacs-lisp-mode-syntax-table.
1993-12-24 03:34:11 +00:00
Richard M. Stallman
0c5b5a13c9 (makefile-ignored-files-in-pickup-regex): Supply missing \\.
(makefile-insert-target-ref): Fix typo.
1993-12-23 04:57:18 +00:00
Richard M. Stallman
7620dcc5bb (c-delete-backslash): Do nothing if empty line. 1993-12-23 04:46:18 +00:00
Richard M. Stallman
50e268ea77 (inferior-lisp-prompt): Don't match more than one line. 1993-12-23 04:43:53 +00:00
Richard M. Stallman
4c980cfae1 (c++-indent-line, calculate-c++-indent):
(indent-c++-exp): Recognize `friend' without `class'.
1993-12-23 04:41:41 +00:00
Richard M. Stallman
f9b1c0b224 (visit-tags-table-buffer): Change "Add to list" question.
(etags-goto-tag-location): Improve not-found error msg.
1993-12-23 03:31:03 +00:00
Richard M. Stallman
8a68f868d1 (asm-mode): Don't mess with auto-fill mode. 1993-12-23 03:16:25 +00:00
Richard M. Stallman
3591cb551b (awk-mode): Use c-indent-line. 1993-12-23 03:06:30 +00:00
Richard M. Stallman
98b63c412b (grep-command): New variable.
(grep): Use it.

Don't repeat at load time any bindings that are autoloaded.
1993-12-23 02:43:28 +00:00
Roland McGrath
a0c567b516 (compilation-error-regexp-alist): Generalize `"foo.c", line 13:' regexp to
also match `"foo.c", line 13 pos 1...".
1993-12-09 01:12:13 +00:00
Richard M. Stallman
5f8cdaf226 (tags-add-tables): New variable.
(visit-tags-table-buffer): Use it.
(default-tags-table-function): No longer user var, no longer autoload.
1993-11-25 08:12:35 +00:00
Richard M. Stallman
988e2aa66b (c-indent-region): As first thing, advance to a nonblank line. 1993-11-23 11:20:27 +00:00
Richard M. Stallman
0b1716286b (c-indent-region): Don't goto-char sexpend if it's nil. 1993-11-23 08:35:46 +00:00
Richard M. Stallman
593232e32c (inferior-lisp-proc): Clean up error message. 1993-11-22 00:42:30 +00:00
Richard M. Stallman
34d51d087d (tags-complete-tag): Bind enable-recursive-minibuffers to t. 1993-11-20 05:50:01 +00:00