1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

180 Commits

Author SHA1 Message Date
Richard M. Stallman
81b2711286 (define-hide-ifdef-mode-map): Don't bind C-c LETTER.
Use C-c ESC LETTER instead.
Handle case where where-is-internal returns nil.
1993-06-03 19:35:54 +00:00
Richard M. Stallman
b56eb7c9d5 (fortran-mode): Replace comment-indent-hook with
comment-indent-function.

(fortran-is-in-string-p): Replaced with new version
that uses the syntax table.

(calculate-fortran-indent): Lines that have a # after
whitespace are interpreted as cpp directives and outdented back to
column zero.
1993-06-01 19:03:52 +00:00
Richard M. Stallman
1e2d7ccea0 (c-up-conditional): Handle commented-out #-cmds properly. 1993-05-29 18:14:34 +00:00
Richard M. Stallman
d973d76918 Make C-x ` binding just once. 1993-05-26 22:36:32 +00:00
Richard M. Stallman
069b6ce323 (mark-c-function): Activate the mark. 1993-05-16 17:43:36 +00:00
Roland McGrath
41e7816ac5 (tags-table-including): Take new third arg CORE-ONLY. If non-nil,
ignore files without extant buffers.
(visit-tags-table-buffer): Call tags-table-including first with
CORE-ONLY set, and then afterwards with it clear.
1993-05-13 05:28:14 +00:00
Richard M. Stallman
4f6e4ad6cd (Setting minor-mode-map-alist):
Put the map directly in the alist, not a variable name.
1993-05-13 03:14:07 +00:00
Richard M. Stallman
74416836f8 Comment changes. 1993-05-06 01:30:26 +00:00
Richard M. Stallman
1d928d6939 Doc fix. 1993-05-05 22:47:54 +00:00
Roland McGrath
0b18a8f6e1 Add compilation-minor-mode to minor-mode-alist and minor-mode-map-alist.
(compilation-minor-mode): New defvar.
(compilation-minor-mode-map): New defvar; keymap with the bindings
from compilation-mode-map except SPC and DEL.
(compilation-mode-map): Construct this keymap to inherit from
compilation-minor-mode-map.
(compilation-setup): New function, code broken out of compilation-mode.
(compilation-mode): Call it.
(compilation-minor-mode): New function to toggle
compilation-minor-mode; if setting it, call compilation-setup.
1993-04-28 22:44:29 +00:00
Roland McGrath
d74e816f04 (find-tag-interactive): New function to read args for find-tag et al.
(find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame,
find-tag-regexp): Use it.
(find-tag, find-tag-other-window): Take new arg REGEXP-P, pass to
find-tag-noselect.
(find-tag-regexp): Call either find-tag-other-window or find-tag, rather
than find-tag-noselect and switch-to-buffer[-other-window].
(tags-location-stack): New defvar.
(find-tag-noselect): If NEXT-P is '-, pop location off tags-location-stack.
1993-04-26 19:21:01 +00:00
Eric S. Raymond
9e9bf716c4 Rewritten and simplified, commentary added. It now will usually
detect when the makefile target or macro lists need to be rebuilt and do it
automatically; in particular, this means you no longer have to deal
with an annoying wait at find-time.
1993-04-21 03:47:05 +00:00
Richard M. Stallman
5c2946c73b (makefile-mode): Fix typo in autoload cookie. 1993-04-14 19:47:05 +00:00
Roland McGrath
0e8ec8d0cc (compile-internal): Initialize the process-mark. 1993-04-07 20:58:20 +00:00
Roland McGrath
f34a4d8dcc (compilation-error-regexp-alist): Tighten first regexp so that it
requires a colon or open-paren before the line number, not just
whitespace.
1993-04-07 20:14:29 +00:00
Roland McGrath
e0446ff70d (compilation-parse-errors): Remove debugging setq. 1993-04-07 19:57:10 +00:00
Roland McGrath
ad62b7f198 (compilation-filter): New function.
(compile-internal): Make it the process's filter.
1993-04-07 18:34:17 +00:00
Roland McGrath
d4035a267d (compilation-error-regexp-alist): Fixed MIPS CC regexp to match file
names longer than one char.
(compilation-parse-errors): Error if compilation-error-regexp-alist is nil.
1993-04-07 18:26:27 +00:00
Roland McGrath
7ee790acbd (compilation-error-regexp-alist): Merged HP-UX 7.0 fc regexp with the
GNU format regexp: just allowing blanks to terminate the line number
makes that one handle the HP case.  Merged MIPS RISC CC regexp with
Apollo cc regexp: make "s optional, and don't anchor to bol.
1993-04-05 22:35:50 +00:00
Roland McGrath
7e8d262512 (compilation-error-regexp-alist): Changed MIPS RISC CC regexp (last one) to
be anchored at bol, and to never match multiple lines.
1993-04-05 21:13:43 +00:00
Roland McGrath
4a92b718e0 (etags-tags-completion-table): Rewritten with a mondo regexp. 1993-04-01 02:11:02 +00:00
Roland McGrath
17276ed336 (etags-tags-completion-table): Use skip-syntax-backward instead of
skip-chars-backward.
1993-03-31 23:30:25 +00:00
Eric S. Raymond
909c95d0df : Added autoload cookie for entry point. 1993-03-28 06:24:54 +00:00
Eric S. Raymond
5cc5784116 Fix library headers. 1993-03-23 18:27:03 +00:00
Eric S. Raymond
d9ecc911ff Added or corrected Commentary headers 1993-03-22 16:53:22 +00:00
Eric S. Raymond
edbd2f74bc Added or corrected Commentary sections 1993-03-22 05:42:35 +00:00
Eric S. Raymond
e41b2db1da Added or corrected Commentary sections 1993-03-22 03:27:18 +00:00
Eric S. Raymond
e9571d2a21 Add or correct keywords 1993-03-18 21:29:42 +00:00
Eric S. Raymond
c84729481b Added standard library headers. 1993-03-17 15:20:58 +00:00
Richard M. Stallman
17f0e88a1b (c-beginning-of-statement): If next to a comment, use sentence motion. 1993-03-09 22:14:36 +00:00
Richard M. Stallman
d654e8ce59 (fortran-abbrev-start): Handle any kind of event.
(fortran-window-create-momentarily): Likewise.
1993-03-06 06:08:40 +00:00
Richard M. Stallman
ae20cac8ea (simula-electric-label): Handle any event when flushing the display. 1993-03-06 06:01:29 +00:00
Jim Blandy
4969329862 * etags.el (find-tag-other-window): If another window is already
displaying the tag's buffer, explicitly set that window's point to
	the tag's position.
1993-03-02 07:22:33 +00:00
Jim Blandy
4632a8938a * fortran.el (fortran-prepare-abbrev-list-buffer): Put quote in
front of first argument to `insert-abbrev-table-description'.

	* fortran.el (fortran-is-in-string-p): Fixed incorrect behaviour
	when in first statement of a buffer.
1993-02-14 14:27:24 +00:00
Roland McGrath
bd3910fef2 (compilation-forget-errors): Just set
compilation-directory-stack to nil; no need to loop through it.
(next-error): For a non-numeric prefix arg, pass nil for
compile-reinitialize-errors's FIND-AT-LEAST arg.
(next-error): When getting marker for error source location, be
sure to examine buffer local value of compilation-old-error-list
before switching to source file buffer.
1993-02-08 20:46:10 +00:00
Richard M. Stallman
c584550897 (c-macro-expand): Use expanded name to write or delete.
Send two eofs.
1993-01-30 03:43:24 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Roland McGrath
312f637b70 (tags-query-replace): C-t 1993-01-25 23:30:39 +00:00
Roland McGrath
0f6b9c324b (tags-loop-scan): Set default value to an error form. 1993-01-21 22:43:16 +00:00
Roland McGrath
2ae6a918b9 (visit-tags-table-buffer): When propagating a change of name after
file-find-noselect, refer to tags-file-name, not the undefined var FILE.
1993-01-21 22:36:48 +00:00
Roland McGrath
bf349f3687 (visit-tags-table-buffer): Error if called with 'same and no current table. 1993-01-19 21:05:15 +00:00
Jim Blandy
3a65941e41 * c-mode.el (c-switch-label-regexp): New constant.
(electric-c-terminator, c-indent-line, indent-c-exp): Use it to
	correctly recognize default labels in switch statements.
1993-01-16 06:04:16 +00:00
Richard M. Stallman
fdcba502fa (compilation-sentinel): Change buffer-read-only with let. 1993-01-02 21:21:14 +00:00
Roland McGrath
21ccfb5cf1 (visit-tags-table-buffer): When picking a table and using tags-table-list,
skip over nonexistent files in the list.
1992-12-24 22:42:05 +00:00
Roland McGrath
e4fc4f587d (etags-verify-tags-table): Use eq instead of = in case char-after returns
nil.
1992-12-24 22:33:11 +00:00
Jim Blandy
57c8389c3d * compile.el (compilation-error-regexp-alist): Tightened up
BSD/GNU regexp to insist that line number end with a colon or
	close-paren.

	* compile.el (compilation-error-regexp-alist): Add regexp for the
	MIPS CC distributed with Ultrix.
1992-12-24 06:00:03 +00:00
Jim Blandy
8931ecc028 * c-mode.el (c-fill-paragraph): Calculating the proper fill-prefix
shouldn't change the buffer text.  Make it not.  If we're in the
	blank space before another comment, fill that one as a comment,
	not as normal text.

	* c-mode.el (c-fill-paragraph): When guessing the fill prefix,
	don't ever grab any actual text.
1992-12-24 05:59:00 +00:00
Roland McGrath
4d997d08f1 (visit-tags-table-buffer): Don't look in list for tags-file-name if nil. 1992-12-21 19:13:11 +00:00
Roland McGrath
b6176f6493 Many comments added and docstrings fixed.
(tags-table-list): Elt of nil is not special.
(tags-expand-table-name): Value of nil is not special.
(tags-next-table): Removed arg RESET; no caller used it.
(visit-tags-table-buffer): Don't need to do tags-expand-table-name in or form.
When table is invalid, only set tags-file-name to nil globally if its
global value contained the losing table file name.
(find-tag-tag): Return a string, not a list.
(find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame):
Changed callers.
(etags-recognize-tags-table): Call etags-verify-tags-table, rather than
duplicating its functionality.
(visit-tags-table-buffer): When CONT is 'same, set it to nil after the
cond.  We want the normal list frobbing to take place in this case.
(find-tag-other-window): Save and restore window-point around call to
find-tag-noselect.
1992-12-21 19:08:50 +00:00
Jim Blandy
bc254115cc Fri Dec 4 00:31:30 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* c-mode.el (c-fill-paragraph): When trying to make sure that the
	comment ender isn't on its own line, don't signal an error if
	there is no comment ender.
1992-12-06 22:40:25 +00:00