all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Chong Yidong <cyd@gnu.org>
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 01:26:39 +0400	[thread overview]
Message-ID: <50B9248F.2050608@yandex.ru> (raw)
In-Reply-To: <87hao7aez6.fsf@gnu.org>

Hi Chong,

On 30.11.2012 8:31, Chong Yidong wrote:
> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>> +Default to the current buffer's file name if it's under version control."
>
>> +OLD defaults to the current buffer's file name if it's under version
>>   control."
>
> These seem to imply that the current buffer's name is always used if
> it's under version control, rather than simply being the default for
> reading the file name.  It should instead say something like "If called
> interactively, read FILE, defaulting to ..."
>
> Otherwise the patch looks OK for the trunk.  Thanks.

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.





  reply	other threads:[~2012-11-30 21:26 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 [this message]
2012-12-01  6:05     ` Chong Yidong
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

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

  git send-email \
    --in-reply-to=50B9248F.2050608@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=12488@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    /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 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.