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

28 Commits

Author SHA1 Message Date
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