1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

351 commits

Author SHA1 Message Date
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
Eric S. Raymond
ce4b7b0246 * c-mode.el (c-style-alist): Add quotes around C++ style name. 1992-12-06 22:32:20 +00:00
Jim Blandy
23029d77d1 * fortran.el: New version of version 1.30 (!) from Stephen A. Wood
<saw@hallc1.cebaf.gov>

	* fortran.el: New version (1.30) from "Stephen A. Wood"
	<saw@hallc1.cebaf.gov>
1992-11-20 17:22:24 +00:00
Jim Blandy
ca3e10c715 * bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
	vip-prefix-arg-com): Use unread-command-event instead of
	unread-command-char; respect its new semantics.
	* simula.el (simula-electric-label): Same.

	* simula.el (simula-calculate-indent): Call backward-word with the
	appropriate argument.
1992-11-16 01:42:04 +00:00
Jim Blandy
b8ec3aa307 * bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
	vip-prefix-arg-com): Use unread-command-event instead of
	unread-command-char; respect its new semantics.
	* fortran.el (fortran-abbrev-start, fortran-window-create-momentarily):
	Same.
1992-11-16 01:34:30 +00:00
Jim Blandy
f90a6155a9 * etags.el (find-tag-noselect): Doc fix. 1992-11-07 06:12:42 +00:00
Jim Blandy
bea1d57a78 * compile.el (compile-internal): Use NAME-OF-MODE in the prompt
when offering to kill an existing process.
1992-11-07 06:12:11 +00:00
Richard M. Stallman
b8cbdf43f9 version 1.28.8
(fortran-indent-to-column): Make turning of lines that begin with
`fortran-continuation-string' into properly formated continuation
lines work for fortran TAB mode.

Cleaned up some doc strings.

(fortran-abbrev-help, fortran-prepare-abbrev-list-buffer): Use
`insert-abbrev-table-description' and make buffer in abbrevs-mode.

Many changes since version 1.28.3.   Added auto-fill-mode, support
for some Fortran 90 statements.  Adjust comments to conform to new
gnu conventions.

(fortran-mode): Fix `comment-line-start-skip' by changing \\1 to
\\2 and include cpp statements in matching.  Changes for auto fill.

(fortran-auto-fill-mode, fortran-do-auto-fill,
fortran-break-line): New functions to implement auto fill.

(fortran-indent-line, fortran-reindent-then-newline-and-indent):
Added auto fill support.

(find-comment-start-skip, is-in-fortran-string-p): New functions.

(fortran-electric-line-number): Works better in overwrite mode.

(fortran-indent-comment, fortran-indent-line,
fortran-indent-to-column):  Use find-comment-start-skip instead of
searching for `comment-start-skip'.

(fortran-mode, calculate-fortran-indent): Added indentation
for fortran 90 statements.

(fortran-next-statement, fortran-previous-statement): Bug fixes.

(fortran-mode, calculate-fortran-indent,
fortran-setup-tab-format-style, fortran-setup-fixed-format-style):
`fortran-comment-line-column' meaning changed.  Now defaults to 0.
1992-11-05 20:25:10 +00:00
Richard M. Stallman
c6cf2c1e4f (fortran-window-create): Use screen-width, not frame-width. 1992-10-27 20:19:00 +00:00
Richard M. Stallman
1c3c9e649f (fortran-prepare-abbrev-list-buffer): Fix typo. 1992-10-27 20:11:05 +00:00
Richard M. Stallman
e80f214737 (fortran-tab-mode): Add defvar.
(fortran-analyze-file-format): Bind i.
(fortran-tab-mode-string): Add defvar.
(fortran-tab-mode): Use `arg' as variable, not as function.
(fortran-prepare-abbrev-list-buffer): New function.
(fortran-abbrev-help): Call that.
1992-10-27 10:21:22 +00:00
Christopher Zaborsky
579e495a70 Doc fix. 1992-10-25 21:05:35 +00:00
Christopher Zaborsky
fe66851582 Doc fix. 1992-10-25 19:44:06 +00:00
Roland McGrath
a128c7a004 (visit-tags-table-buffer): When trying to pick table, call
tags-expand-table-name on alternatives that might be nil.
(tags-table-files): Don't call visit-tags-table-buffer; assume we are there.
1992-10-12 17:18:22 +00:00
Roland McGrath
1f82d0e4d0 (compilation-parse-errors): Save (match-beginning 0) in a variable, so the
looking-at call doesn't clobber its value when we want to use it to back up
before the error we discard.
Make sure compilation-error-list is at least two elts long before checking
its first two elts for being in the same file.
1992-10-01 02:00:41 +00:00
Roland McGrath
41acdfa97a (compilation-parse-errors): After we get enough errors to stop early, toss
the last one (which is for a different file), so we don't lose
the same way on the next run.
1992-09-30 01:45:47 +00:00
Roland McGrath
3f9e2e5121 (compilation-parse-errors): When we reach FIND-AT-LEAST errors, keep going
until we have seen all the consecutive errors in the same file.
1992-09-29 23:59:26 +00:00
Richard M. Stallman
791cc57dfa (calculate-c-indent): When testing for function-start line,
always match the first paren if have more than one.
1992-09-23 04:21:23 +00:00
Richard M. Stallman
35a4d1439f entered into RCS 1992-09-21 08:28:43 +00:00
Richard M. Stallman
f37dc9fbe5 *** empty log message *** 1992-09-20 22:45:13 +00:00
Richard M. Stallman
f5e16d96be *** empty log message *** 1992-09-20 19:06:51 +00:00
Jim Blandy
5852d14562 *** empty log message *** 1992-09-17 21:54:44 +00:00
Roland McGrath
614517afd8 entered into RCS 1992-09-17 01:12:50 +00:00
Roland McGrath
974f8dd6da *** empty log message *** 1992-09-15 22:52:46 +00:00
Roland McGrath
a32a25f400 *** empty log message *** 1992-09-15 21:35:53 +00:00
Roland McGrath
47f3c45980 *** empty log message *** 1992-09-15 21:04:44 +00:00
Roland McGrath
9806213d68 *** empty log message *** 1992-09-14 20:19:24 +00:00
Jim Blandy
9508896e1d *** empty log message *** 1992-09-14 18:41:47 +00:00
Richard M. Stallman
6c43f2f9e9 entered into RCS 1992-09-14 01:33:12 +00:00
Richard M. Stallman
6cf420725b *** empty log message *** 1992-09-05 23:19:22 +00:00