bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12488: 24.2.50; vc-delete-file and vc-rename-file should default to


From: Dmitry Gutov
Subject: bug#12488: 24.2.50; vc-delete-file and vc-rename-file should default to the current buffer's file
Date: Mon, 03 Dec 2012 01:17:27 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 01.12.2012 10:05, Chong Yidong wrote:
Dmitry Gutov <dgutov@yandex.ru> writes:

Do you think I can add commands like `vc-rename-this-file' and
vc-delete-this-file' instead? And then replace `vc-rename-file' in VC
menu with the first one and add the second one below it?

Because `vc-rename-file' is likely the only command in that menu that
acts on a single file, but does't automatically use the one the
current buffer visits.

I'd rather not have this kind of duplication of commands.  It's more
consistent with other Emacs commands to offer the current file as the
minibuffer default.

Ok, I installed the original patch with updated docstrings.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]