* your vc-dir-mode-map change
@ 2008-04-30 18:50 Dan Nicolaescu
2008-04-30 19:01 ` Sam Steingold
0 siblings, 1 reply; 5+ messages in thread
From: Dan Nicolaescu @ 2008-04-30 18:50 UTC (permalink / raw)
To: Sam Steingold; +Cc: emacs-devel
Hi,
Can you please undo your vc-dir-mode-map change?
"d" would be more useful if it followed what PCL-CVS does, provide
better diff functionality.
Deletion is not a very frequent action, so it does not seem like a good
idea to waste an easily accessible key for it. Also it's better to make
it harder to delete files, so that users don't do it accidentally.
It doesn't seem such a big imposition to force the use of a menu or
M-x vc-delete-file when trying to remove files.
More, vc-delete-file does not have any key binding by default, and we
haven't gotten any complaints about this...
Thanks
--dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: your vc-dir-mode-map change
2008-04-30 18:50 your vc-dir-mode-map change Dan Nicolaescu
@ 2008-04-30 19:01 ` Sam Steingold
2008-04-30 20:26 ` Dan Nicolaescu
0 siblings, 1 reply; 5+ messages in thread
From: Sam Steingold @ 2008-04-30 19:01 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan Nicolaescu wrote:
|
| Can you please undo your vc-dir-mode-map change?
|
| "d" would be more useful if it followed what PCL-CVS does, provide
| better diff functionality.
would "r" be OK with you?
PCL-CVS binds that to remove.
| Deletion is not a very frequent action, so it does not seem like a good
| idea to waste an easily accessible key for it. Also it's better to make
| it harder to delete files, so that users don't do it accidentally.
| It doesn't seem such a big imposition to force the use of a menu or
| M-x vc-delete-file when trying to remove files.
There is no menu item.
I find file deletion to be a fairly common operation.
Accidental deletion of a VC file can be easily undone (as opposed to
deletion of non-VC files, and there _is_ a dired binding for deletion)
| More, vc-delete-file does not have any key binding by default, and we
| haven't gotten any complaints about this...
consider my patch to be such a complaint :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIGMInPp1Qsf2qnMcRAh1fAKCP89wqjeX4/J2PUXb1790l5pa8tgCdGCKY
FzV+tFYRz26avSj/5lvOdtI=
=tKs+
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: your vc-dir-mode-map change
2008-04-30 19:01 ` Sam Steingold
@ 2008-04-30 20:26 ` Dan Nicolaescu
2008-04-30 21:08 ` Alexandre Julliard
0 siblings, 1 reply; 5+ messages in thread
From: Dan Nicolaescu @ 2008-04-30 20:26 UTC (permalink / raw)
To: Emacs Devel
Sam Steingold <sds@podval.org> writes:
> Dan Nicolaescu wrote:
> |
> | Can you please undo your vc-dir-mode-map change?
> |
> | "d" would be more useful if it followed what PCL-CVS does, provide
> | better diff functionality.
>
> would "r" be OK with you?
I'd rather keep that one for "rename".
> | Deletion is not a very frequent action, so it does not seem like a good
> | idea to waste an easily accessible key for it. Also it's better to make
> | it harder to delete files, so that users don't do it accidentally.
> | It doesn't seem such a big imposition to force the use of a menu or
> | M-x vc-delete-file when trying to remove files.
>
> There is no menu item.
It should be there first.
> I find file deletion to be a fairly common operation.
That is not the same thing as deleting files from the VC system, which
is not that common.
> | More, vc-delete-file does not have any key binding by default, and we
> | haven't gotten any complaints about this...
>
> consider my patch to be such a complaint :-)
Well, VC has been around for many years, so this does not count much.
We can reconsider this when there's a key binding in the C-x v keymap.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: your vc-dir-mode-map change
2008-04-30 20:26 ` Dan Nicolaescu
@ 2008-04-30 21:08 ` Alexandre Julliard
2008-04-30 21:43 ` Dan Nicolaescu
0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Julliard @ 2008-04-30 21:08 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: Emacs Devel
Dan Nicolaescu <dann@ics.uci.edu> writes:
> > I find file deletion to be a fairly common operation.
>
> That is not the same thing as deleting files from the VC system, which
> is not that common.
Deleting unregistered files from the vc-dir buffer is a very convenient
way to clean things up in a project tree. It would be a shame not to
have a simple key binding for this.
--
Alexandre Julliard
julliard@winehq.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: your vc-dir-mode-map change
2008-04-30 21:08 ` Alexandre Julliard
@ 2008-04-30 21:43 ` Dan Nicolaescu
0 siblings, 0 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2008-04-30 21:43 UTC (permalink / raw)
To: Alexandre Julliard; +Cc: Emacs Devel
Alexandre Julliard <julliard@winehq.org> writes:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > > I find file deletion to be a fairly common operation.
> >
> > That is not the same thing as deleting files from the VC system, which
> > is not that common.
>
> Deleting unregistered files from the vc-dir buffer is a very convenient
That is not what the key binding under discussion does, it only deletes
registered files. It barks at unregistered files. And it also asks too
many questions when deleting multiple files...
> way to clean things up in a project tree. It would be a shame not to
> have a simple key binding for this.
Sure, but such a "simple key binding" should not be a lower case letter
that is too easy to type by mistake.
BTW vc-delete-files needs fixing, it is unsafe, it can delete files that are in the
'edited state, so it is possible to lose data...
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-30 21:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 18:50 your vc-dir-mode-map change Dan Nicolaescu
2008-04-30 19:01 ` Sam Steingold
2008-04-30 20:26 ` Dan Nicolaescu
2008-04-30 21:08 ` Alexandre Julliard
2008-04-30 21:43 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.