unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 12488@debbugs.gnu.org
Subject: bug#12488: 24.2.50; vc-delete-file and vc-rename-file should default to the current buffer's file
Date: Sat, 01 Dec 2012 14:05:49 +0800	[thread overview]
Message-ID: <87boee71du.fsf@gnu.org> (raw)
In-Reply-To: <50B9248F.2050608@yandex.ru> (Dmitry Gutov's message of "Sat, 01 Dec 2012 01:26:39 +0400")

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.





  reply	other threads:[~2012-12-01  6:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 18:00 bug#12488: 24.2.50; vc-delete-file and vc-rename-file should default to the current buffer's file Dmitry Gutov
2012-11-30  4:31 ` Chong Yidong
2012-11-30 21:26   ` Dmitry Gutov
2012-12-01  6:05     ` Chong Yidong [this message]
2012-12-02 21:17       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boee71du.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=12488@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).