# HG changeset patch # User Sam Steingold # Date 1209582234 0 # Node ID c7dd1427c429f77d1d39d2dbca72d4e38c966827 # Parent 5f57377d1eff85cfe0be30ee1ded69f4ea95d8ae (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS. diff -r 5f57377d1eff -r c7dd1427c429 lisp/ChangeLog --- a/lisp/ChangeLog Wed Apr 30 16:58:15 2008 +0000 +++ b/lisp/ChangeLog Wed Apr 30 19:03:54 2008 +0000 @@ -1,7 +1,7 @@ 2008-04-30 Sam Steingold - * vc.el (vc-dir-mode-map): Bind "d" to vc-dir-delete-file. - (vc-dir-delete-file): Add. + * vc.el (vc-dir-delete-file): Add. + (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS. (vc-delete-file): Do not barf when the file has been already deleted. 2008-04-30 Dan Nicolaescu diff -r 5f57377d1eff -r c7dd1427c429 lisp/vc.el --- a/lisp/vc.el Wed Apr 30 16:58:15 2008 +0000 +++ b/lisp/vc.el Wed Apr 30 19:03:54 2008 +0000 @@ -2985,7 +2985,7 @@ (define-key map "x" 'vc-dir-hide-up-to-date) (define-key map "q" 'quit-window) (define-key map "g" 'vc-dir-refresh) - (define-key map "d" 'vc-dir-delete-file) + (define-key map "r" 'vc-dir-delete-file) ; like in PCL-CVS (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process) ;; Does not work unless mouse sets point. Functions like vc-dir-find-file ;; need to find the file from the mouse position, not `point'. @@ -3054,12 +3054,12 @@ (defun vc-dir-mode () "Major mode for showing the VC status for a directory. Marking/Unmarking key bindings and actions: -m - marks a file/directory or ff the region is active, mark all the files +m - marks a file/directory or ff the region is active, mark all the files in region. Restrictions: - a file cannot be marked if any parent directory is marked - - a directory cannot be marked if any child file or + - a directory cannot be marked if any child file or directory is marked -u - marks a file/directory or if the region is active, unmark all the files +u - marks a file/directory or if the region is active, unmark all the files in region. M - if the cursor is on a file: mark all the files with the same VC state as the current file