1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Stefan Monnier
7ae1e293e5 (cvs-sentinel): More verbose completion message. 2002-12-05 15:23:37 +00:00
Markus Rost
0082111598 (cvs-minor-mode, cvs-mode-commit-hook): Add group. 2002-11-18 20:56:45 +00:00
Stefan Monnier
30c91af19b (cvs-mode-run): Don't pass "." if not needed. 2002-11-13 20:19:38 +00:00
Kim F. Storm
2c05f7adc5 (cvs-checkout): Use read-directory-name.
(cvs-query-directory): Likewise.
2002-10-26 22:27:39 +00:00
Stefan Monnier
3dcdb054a0 (cvs-mode-find-file): Look up font-lock-face so it also
works when font-lock is turned off.
2002-10-01 18:48:35 +00:00
Stefan Monnier
3f1045d53f (cvs-do-removal): Bind inhibit-read-only while modifying the buffer. 2002-09-13 19:09:45 +00:00
Stefan Monnier
595015bbf8 (cvs-mode-find-file): Work even if point is at beg-of-line. 2002-09-13 18:25:26 +00:00
Stefan Monnier
6b2e4334c9 (cvs-run-process): Use a pty rather than a pipe to work
around the cvs/ssh/libc bug.
(cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
(defun-cvs-mode): Use the new `declare' thingy.
(cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
(cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
(cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
2002-09-03 01:40:29 +00:00
Stefan Monnier
498ecddeee (cvs-parse-process): Don't save/restore point.
Fix last change not to introduce spurious dir FIs.
(cvs-move-to-goal-column): New function extracted from
cvs-mode-previous-line.
(cvs-mode-previous-line, cvs-mode-next-line): Use it.
(cvs-addto-collection): Use it to preserve point.
(cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
2002-06-25 00:11:28 +00:00
Stefan Monnier
a399e814e1 (cvs-fileinfo-kill): Remove.
(cvs-parse-process): Add `old-fis' argument.
(cvs-mode-run): Use it instead of cvs-fileinfo-kill.
2002-06-24 22:49:38 +00:00
Stefan Monnier
db750be704 (cvs-vc-command-advice): Handle the case where args
are passed to `cvs' before the command name.
(cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
2002-06-18 21:50:30 +00:00
Stefan Monnier
883e7198fb (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
(cvs-mode-add-change-log-entry-other-window): Work on multiple files.
(cvs-mode-set-flags): Don't cons unnecessarily.
2002-05-16 20:03:52 +00:00
Kai Großjohann
6efa25a1d5 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
spot indicated by text property `cvs-goal-column', if present.

* pcvs-info.el (cvs-fileinfo-pp): Use text property
`cvs-goal-column' to indicate position of file name (if present).
2002-04-03 16:56:36 +00:00
Stefan Monnier
843e5edd21 (cvs-reread-cvsrc): Distinguish between an empty list of
args and the absence of an entry.  Don't add -f each time.
2002-01-25 22:41:28 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Stefan Monnier
ca0a7168b2 (cvs-reread-cvsrc): Don't use cvs-file-to-string. 2001-12-02 07:40:43 +00:00
Stefan Monnier
98a68b08df (cvs-mode-commit-hook): New hook.
(cvs-mode-commit): Run it.
2001-10-30 04:41:28 +00:00
Stefan Monnier
7682957658 *** empty log message *** 2001-09-22 20:23:16 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Stefan Monnier
be0add3033 (cvs-addto-collection): Don't merge MESSAGE fileinfos.
(cvs-update-filter): Only advertise `cvs-mode-delete-lock' if the
lock file appears to be reachable from Emacs.
(cvs-mode-mark-on-state, cvs-mode-display-file): New functions.
(cvs-mode-find-file): Look for cvs-header-face rather than
cvs-dirname-face (which doesn't exist).
(cvs-mode-find-file): Allow `other' to be set to `dont-select'.
2001-04-13 15:18:11 +00:00
Stefan Monnier
b47e511692 (cvs-ignore-marks-modif): Use rassoc' rather than member*'.
(cvs-mode-add-change-log-entry-other-window):
Don't presume change-log-default-name is defined.
2001-03-07 00:20:30 +00:00
Stefan Monnier
274d02f77c (cvs-mark-fis-dead): New function.
(cvs-mode-add): Use it.
(cvs-mode-add-change-log-entry-other-window):
Rebind change-log-default-name to itself rather than to nil.
2001-01-29 20:23:47 +00:00
Dave Love
f3d73dc932 (cvs-mode-revert-buffer): Doc fix. 2001-01-26 20:46:42 +00:00
Stefan Monnier
73eff59992 (cvs-diff-backup-extractor): Return full-path for file.
(cvs-execute-single-file): Don't change directory.
Patch from Per Cederqvist.
2000-12-18 03:17:46 +00:00
Stefan Monnier
802cf66c54 (cvs-mode-marked): Set up the default for CMD manually. 2000-12-11 03:20:29 +00:00
Stefan Monnier
ca98cd3791 Update references to CVS-Edit (now Log-Edit).
(cvs-mode-diff-help): Remove.
(cvs-mode-commit): Use the new `log-edit' BUFFER argument.
2000-12-10 21:20:56 +00:00
Stefan Monnier
ee8d23ee92 * pcvs.el (cvs-menu): Use cvs-menu' rather than cvs-menu-map'.
(cvs-mode-quit): Turn it back into a plain function.
2000-12-08 16:58:57 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Stefan Monnier
f5438f0c79 * pcvs.el (uniquify-buffer-file-name): Remove advice.
* uniquify.el (uniquify-list-buffers-directory-modes): New var.
(uniquify-buffer-file-name): Use it.
2000-11-21 20:47:49 +00:00
Stefan Monnier
598dd5ff74 (cvs-enabledp): Ignore errors.
(cvs-commit-filelist): Never query.
(cvs-mode-insert): Always add a terminating / in the initial prompt.
(cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
(cvs-do-removal): Use cvs-partition rather than delete-if.
Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
cvs-bury-buffer.
2000-11-09 23:55:05 +00:00
Dave Love
ddc7ec4fd6 (uniquify-buffer-file-name): Wrap advice in
eval-after-load.
2000-11-09 12:07:39 +00:00
Stefan Monnier
316e1d5b1c (cvs-mode-marked): New arg `noquery'.
Prompt user for a file rather than raising an error.
(cvs-enabledp): Fix call to cvs-mode-marked.
(cvs-insert-file): New function (extracted from cvs-mode-insert).
(cvs-mode-insert): Use it.  Change the init prompt' value.
(cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
2000-11-06 07:17:33 +00:00
Stefan Monnier
d6cc3d1778 (cvs-mode-add-change-log-entry-other-window):
Bind change-log-default-mode to defeat the caching done on it.
Don't bother saving excursion any more.
2000-11-03 22:34:26 +00:00
Stefan Monnier
3c7fafc7b5 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
Don't need make-local-hook any more.
(cvs-addto-collection): Return the new tin.
(cvs-mode-insert): Jump to the new line.
2000-10-15 05:18:48 +00:00
Stefan Monnier
d15c2aaaf8 (cvs-append-to-ignore, cvs-vc-command-advice)
(vc-post-command-functions): Remove old-VC compatibility code.
2000-10-08 19:11:34 +00:00
Stefan Monnier
eed914afdd (cvs-ediff-exit-hook): Expect delete-window to fail.
(cvs-retrieve-revision): Reuse a pre-existing buffer.
(cvs-dired-action): Change the default to quickdir.
2000-10-05 22:45:59 +00:00
Stefan Monnier
a7996e05f0 (cvs-ediff-exit-hook): Kill buffer before window.
(cvs-ediff-diff): Fix typo.
(cvs-revert-if-needed): Don't bother preserving read-only.
2000-09-29 03:14:36 +00:00
Stefan Monnier
44946a4c9e * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
(ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
Allow going past the last element.
* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
(cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
(cvs-mouse-toggle-mark): Don't move point.
(cvs-revert-if-needed): Avoid re-eval of local variables and modes.
2000-08-16 20:27:39 +00:00
Stefan Monnier
96190aa1cb (cvs-menu): Don't move point. Use popup-menu.
Set cvs-minor-current-files to the selected fileinfo.
(cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
(cvs-mode-insert): Manually macroexpand `ignore-errors'.
2000-08-09 15:28:06 +00:00
Gerd Moellmann
dedffa6a6b Use nth' instead of first', second', and third'. 2000-08-06 09:18:02 +00:00
Gerd Moellmann
3db3a13fe3 (require): Require `cl' during compilation, only. 2000-08-05 20:08:49 +00:00
Sam Steingold
027b73ac1b * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
instead of `buffer-string'.
(require 'cl): Always, not just when compiling.
`ignore-errors' in `interactive', `list*', `defun*' &c make this necessary.
2000-08-03 18:11:47 +00:00
Stefan Monnier
6dc7d3d547 (cvs-parse-process): Don't blindly refresh all cookies.
(cvs-cleanup-removed): New function.
(cvs-cleanup-functions): New var.
(cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
some flexibility in specifying additional entries to auto-cleanup.
(cvs-quickdir): New function.
(cvs-mode-insert): Use cvs-fileinfo-from-entries.
(cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
(cvs-mode-find-file): Check that we are on a filename or dirname
when invoked through a mouse-click.
(cvs-full-path): Remove.
(cvs-dired-action): Re-introduced.
(cvs-dired-noselect): Use it.
(vc-post-command-functions): use this new hook if available.
2000-06-12 04:53:34 +00:00
Stefan Monnier
b15b5618c8 (cvs-cleanup-collection): Remove obsolete code for
HEADER/FOOTER and fix bug with trailing empty directory.
(cvs-append-to-ignore): Use vc-editable-p if available.
(cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
(vc-do-command): Tweak advice to handle the new VC.
2000-05-10 22:28:36 +00:00
Stefan Monnier
cb3430a1f7 * pcvs.el: Add a minimal leading commentary.
(cvs-make-cvs-buffer): Change the header part by removing the startup
message and adding a `Module' entry.  Also replace the FOOTER and
HEADER special fileinfos with the new support in ewoc for updating
its own footer and header.
(cvs-update-header): Update to use the header/footer of the ewoc.
(cvs-mode): Use define-derived-mode and set truncate-lines to t.
(cvs-is-within-p): New function.
(cvs-mode-run): Take advantage of `save-some-buffers's new ability
to only examine some subset of the buffers.
* pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
`format' instead of our own ad-hoc functions.
Remove HEADER and FOOTER cases, now handled in the EWOC.
(cvs-fileinfo<): Remove HEADER and FOOTER cases.
* pcvs-parse.el (cvs-parse-run-table): Change message for unknown
output to avoid scaring the user.
(cvs-parse-table): Catch message for non-up-to-date commits.
* pcvs-defs.el (cvs-startup-message): Remove.
(cvs-global-menu): New autoloaded menu.
* pcvs-util.el (cvs-string-fill): Remove.
* emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
(ewoc--refresh-node): Don't take the whole EWOC but only the relevant
PP part of it and also make it work for footers and headers.
(ewoc-create): Drop POS and BUFFER arguments.
Use the DLL's dummy node to store the end-of-footer position.
(ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
(ewoc-refresh): Remove unused `header' variable.
(ewoc-(get|set)-hf): New functions.
2000-03-22 02:57:23 +00:00
Stefan Monnier
5b467bf4e2 *** empty log message *** 2000-03-11 03:51:31 +00:00