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

6838 commits

Author SHA1 Message Date
André Spiegel
d270fe6e2d (vc-fetch-master-properties): Count cvs status "Needs Patch" as
`needs-checkout'.
(vc-after-save): Clear the cvs status.
1995-08-25 18:35:32 +00:00
André Spiegel
b0c9bc8c21 (vc-directory): Kill existing vc-dired buffers for this directory.
Provide a better header.  Corrected the check whether any files were
found at all (don't display a listing in this case).  Under CVS,
display cvs-status rather than vc-locking-user.
(vc-next-action-on-file): When doing a check-in in vc-dired-mode, find
the file in another window.
(vc-next-action-dired): Update dired listing while processing the
files.
(vc-next-action): Check whether a check-in comment is really needed
for this mass operation.
(vc-checkout): Resynch the buffer, even if it's not current.
(vc-dired-state-info, vc-dired-update-line): New functions.
(vc-dired-prefix-map): Added local definition for `g' and `='.
(vc-dired-reformat-line): Simplified.  Erase the hardlink count from
the listing, because it doesn't relate to version control.
(vc-rcs-release, vc-cvs-release, vc-sccs-release): New variables, may
be set by the user.
(vc-backend-release, vc-release-greater-or-equal, vc-backend-release-p):
New Functions.
(vc-do-command): Allow FILE to be nil.
(vc-backend-checkin): When creating a branch, don't bother to unlock
the old version if this is RCS 5.6.2 or higher.
(vc-next-action-on-file): Allow lock-stealing only if RCS 5.6.2 or
higher.
(vc-backend-admin, vc-backend-checkin): If available, use ci -i and -j.
Updated Developer's Notes.
1995-08-25 18:30:11 +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
ad3ec2527c (describe-function): Show file name for autoloaded fns. 1995-08-25 15:35:37 +00:00
Richard M. Stallman
cf329c9536 (mouse-avoidance-mode): Use post-command-idle-hook. Use remove-hook. 1995-08-25 15:14:03 +00:00
Richard M. Stallman
2578be7619 (what-line): Print narrowed linenum with full buffer num. 1995-08-25 14:16:26 +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
Richard M. Stallman
5181be3a88 (2C-mode): Use make-local-hook and add-hook. 1995-08-22 20:55:36 +00:00
Richard M. Stallman
d183f322f9 (icomplete-minibuffer-setup): Use make-local-hook
and add and remove hooks locally.
1995-08-22 20:30:57 +00:00
Richard M. Stallman
c2bf3f2e59 (ediff-profile): Use make-local-hook and add and remove hooks locally. 1995-08-22 20:27:05 +00:00
Richard M. Stallman
4953086242 (basic-save-buffer): Call vc-after-save. 1995-08-22 19:06:19 +00:00
Richard M. Stallman
6cf85938f4 (auto-mode-alist): Turn on use of makefile-mode. 1995-08-22 19:03:41 +00:00
Richard M. Stallman
2140206e1c (byte-compiler-base-file-name): New function.
(byte-compile-dest-file): Call byte-compiler-base-file-name.
1995-08-22 18:52:47 +00:00
Richard M. Stallman
bd0c916883 (Info-suffix-list): For MS-DOS, use gunzip as the only uncompressor,
and don't include .info as suffix.
(info-insert-file-contents-1): New function.
(info-insert-file-contents): Use info-insert-file-contents-1.
1995-08-22 18:51:46 +00:00
André Spiegel
6b9d0764ce Removed the comment that said we assume strict locking.
(vc-next-action-dired): Don't switch to vc-parent-buffer, because that
was already done.
1995-08-22 17:53:14 +00:00
André Spiegel
7064821ce7 (vc-simple-command): New function.
(vc-fetch-master-properties): CVS case: Use it.
(vc-lock-from-permissions, vc-file-owner, vc-rcs-lock-from-diff):
New functions.
(vc-locking-user): Largely rewritten.  Uses the above, handles RCS
non-strict locking.  Under CVS in CVSREAD-mode, learn the locking state
from the permissions.
(vc-find-cvs-master): Use vc-insert-file, rather than
find-file-noselect. Greatly speeds up things.
(vc-consult-rcs-headers): Bug fix, return status in all cases.
1995-08-22 17:52:42 +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
Richard M. Stallman
07d1e73a74 (insert-kbd-macro): Express vector char modifiers with
escape prefixes.  Express big basic char codes in octal.
1995-08-22 16:47:19 +00:00
Richard M. Stallman
3068998dc3 (jka-compr-byte-compiler-base-file-name): New function.
Use it to handle byte-compiler-base-file-name operation.
1995-08-22 16:46: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
26ee1a5dd0 Use post-command-idle-hook.
(show-paren-command-hook): No need to test for idleness.
1995-08-21 22:00:21 +00:00
André Spiegel
8e7eda1a73 (vc-latest-on-branch-p): Under CVS, handle the case when the file is
added, but not yet committed.
(vc-backend-checkout): RCS case: In non-strict locking mode, force to
overwrite the writable workfile. CVS case: Do the right thing in
CVSREAD-mode.
1995-08-21 19:27:05 +00:00
André Spiegel
e66eac08b5 (vc-fetch-master-properties): RCS case: get locking mode.
CVS case: new state `locally-added'.
(vc-locking-user): Under RCS with non-strict locking, don't trust
the file permissions.  CVS case: change which states count as
"locked".
(vc-consult-rcs-headers): Streamlined. Don't set vc-locking-user if
this is called under CVS.  Under RCS, use a heuristic to find the
value of vc-checkout-model without examining the master file.
(vc-parse-locks): Set vc-checkout-model.
(vc-status): Comment change.
(vc-after-save-hook, vc-after-save): The former renamed to the
latter. Now unconditionally called by `basic-save-buffer', determines
whether the buffer should be "locked" or not.
(vc-mode-line): No longer use dynamic after-save-hook. Changed
references to `automatic' into `implicit'.
(vc-checkout-model): Values are now `manual' and `implicit'.  Derive
the property on a per-file basis, supporting all possible modes.
1995-08-21 19:25:52 +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
6e626f7e5b Require rmail.
(rmail-new-summary): Specify size in split-window.
Call rmail-select-summary to force size to specified amount.
1995-08-21 14:48:49 +00:00
Richard M. Stallman
33069f5829 Define user options with defvar, not defconst. 1995-08-21 14:30:34 +00:00
Simon Marshall
ebdee0a0df New version 3.07. Made fast-lock-mode use buffer-file-truename, not buffer-file-name. 1995-08-21 12:02:23 +00:00
Richard M. Stallman
9a1221bc9c Doc fixes. 1995-08-21 05:19:39 +00:00
Richard M. Stallman
856321e221 (dired-string-replace-match): Simplify using replace-match. 1995-08-21 01:15:25 +00:00
Richard M. Stallman
0b1c32a15f (dired-expand-newtext): Function deleted. 1995-08-21 01:12:12 +00:00
Michael Kifer
d695b31839 * viper.el (vip-set-hooks): Use view-mode-hook in emacs and view hook in xemacs.
(vip-read-string-with-history): minibuffer-setup-hook no longer
waits for the user to type, if there are unread events.
Harnessed view-minor-mode.
Added (vip-leave-region-active) to all simple movement commands.
1995-08-20 04:32:54 +00:00
Michael Kifer
dd7c19d492 (vip-leave-region-active): new function. 1995-08-20 04:31:46 +00:00
Michael Kifer
c9dd7f74f6 (vip-surrounding-word): modified to understand tripple clicks. 1995-08-20 04:30:48 +00:00
Richard M. Stallman
4040437e1f (file-regular-p-18): Fix test for whether to use this. 1995-08-20 01:45:13 +00:00
Richard M. Stallman
182891ef3d (basic-save-buffer): Confirm for overwriting old file
when a file name is specified.
1995-08-19 17:01:27 +00:00
Richard M. Stallman
903b7f655c (blink-matching-paren-dont-ignore-comments): New var.
(blink-matching-open): Use it.
Also, if the matching char hasn't paren syntax, call that mismatch.
1995-08-19 16:59:43 +00:00
Richard M. Stallman
f57b2cd858 (Info-find-emacs-command-nodes): Fix previous change. 1995-08-19 16:54:27 +00:00
Karl Heuer
67cbfd2ab8 (hilit-submit-feedback): New ftp site. 1995-08-19 06:35:38 +00:00
Richard M. Stallman
f88ab1c917 (Info-file-list-for-emacs): New variable.
(Info-find-emacs-command-nodes): Look in those files, if appropriate.
1995-08-19 05:03:12 +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
Karl Heuer
4bfd70e96b (skeleton-newline-indent-rigidly): New variable.
(skeleton-internal-1): Use it for indenting after \n because previous
behaviour was only useful for `sh-script.el' and old `ada.el'.  Other
modes now get their own indentation.
(skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New'
variables for passing between the mutually recursive functions of
the skeleton engine.  Introduced to remove compiler warnings.
(skeleton-proxy): New argument `str' to make this settable when calling
a skeleton as a function.
(skeleton-insert): New argument `str' to pass down.  Element `\n'
now usually indents according to mode.  Subskeletons may also have
a list of strings as iterator.  Earlier modification also removed
meaning of `quit' -- I did not put it back in since it's useless.
When quitting out of a subskeleton while still wrapping around text
don't duplicate first line of that text.
(skeleton-end-hook): New hook useful say for modes that leave a `;' on
an empty line to indent right and then want to clean it up when doing
a skeleton there.
1995-08-19 00:30:38 +00:00
André Spiegel
61dee1e7cf (vc-next-action-on-file): Changed doc string, CVS case.
(vc-backend-checkin): Clear master properties before doing the
check-in.  In the CVS case, catch error and display an appropriate
message in the echo area.
(vc-backend-revert): Clear master properties, because some might get
outdated by the operation.
(vc-backend-merge-news): Scan the output of "cvs update" and find out
whether conflicts have occurred.
(vc-finish-logentry): Delete the *VC-log* buffer *before* doing the
actual check-in. That leads to a better display in case the check-in
fails.
(vc-latest-on-branch-p): Defined it for CVS in the obvious way.
(vc-next-action-on-file): Removed special CVS cases. At this level,
CVS is now mostly handled like the other backends.
(vc-backend-checkout): CVS case: Clear sticky tag as default when
doing a verbose checkout. (This used to be done in
vc-next-action-on-file.)
1995-08-18 20:29:14 +00:00
André Spiegel
04446ed0c2 (vc-fetch-master-properties): Recognize cvs status "Unresolved Conflict".
(vc-locking-user): Count cvs status `unresolved-conflict' as "locked".
(vc-checkout-model): New property and access function (still simplistic).
(vc-after-save-hook): New function.
(vc-mode-line): When the file is locked by somebody else, make the
buffer read-only.  (Formerly this was only done for root.)  Don't
write-protect the buffer if the file is unlocked.  Instead, install
vc-after-save-hook, which "locks" the file when modifications are
saved.
1995-08-18 20:22:53 +00:00
Richard M. Stallman
105ad0da85 (pascal-mode): Set comment-start.
(pascal-toggle-completions): Doc fix.
1995-08-17 22:08:36 +00:00
Karl Heuer
6267bd25bc (hilit-submit-feedback): New bug-reporting address. 1995-08-17 19:40:54 +00:00
Karl Heuer
2b9118484e Update address in comment. 1995-08-17 19:37:52 +00:00
Richard M. Stallman
88aabab394 (rmail-new-summary): Enable the Input/output menu. 1995-08-17 16:51:57 +00:00
André Spiegel
e163b283fe (vc-next-action-on-file): Moved the setting of the default branch to
vc-backend-checkout, where it belongs.
(vc-backend-checkout): If an explicit version was specified, adjust
the default branch accordingly.
1995-08-17 14:10:09 +00:00