From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs 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 Message-ID: <50BBC567.1010902@yandex.ru> References: <505DFCD8.9010805@yandex.ru> <87hao7aez6.fsf@gnu.org> <50B9248F.2050608@yandex.ru> <87boee71du.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354483071 18663 80.91.229.3 (2 Dec 2012 21:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 21:17:51 +0000 (UTC) Cc: 12488-done@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 02 22:18:00 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TfGvH-0007Vw-Nd for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Dec 2012 22:17:59 +0100 Original-Received: from localhost ([::1]:50243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfGv6-0003qy-22 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Dec 2012 16:17:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfGv3-0003qY-Nc for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 16:17:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfGv2-00087F-MD for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 16:17:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfGv2-000877-IT for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 16:17:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TfGxG-0001aX-Kx for bug-gnu-emacs@gnu.org; Sun, 02 Dec 2012 16:20:02 -0500 Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Dec 2012 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 12488 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 12488@debbugs.gnu.org, dgutov@yandex.ru, dgutov@yandex.ru Original-Received: via spool by 12488-done@debbugs.gnu.org id=D12488.13544831916083 (code D ref 12488); Sun, 02 Dec 2012 21:20:02 +0000 Original-Received: (at 12488-done) by debbugs.gnu.org; 2 Dec 2012 21:19:51 +0000 Original-Received: from localhost ([127.0.0.1]:50489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfGx4-0001a3-OG for submit@debbugs.gnu.org; Sun, 02 Dec 2012 16:19:51 -0500 Original-Received: from mail-la0-f44.google.com ([209.85.215.44]:33872) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfGx2-0001Zx-8q for 12488-done@debbugs.gnu.org; Sun, 02 Dec 2012 16:19:49 -0500 Original-Received: by mail-la0-f44.google.com with SMTP id d3so1849174lah.3 for <12488-done@debbugs.gnu.org>; Sun, 02 Dec 2012 13:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rUnrMU6c1wGYEDajfbXTfqtIKgY6yHMQ3wXcj7DaJbk=; b=EPmCyZCK4yE31Z+SU/D2pxEudRazUgSEPZQ/ttBASIYRZAPSLZADJl4sK1sFVrRPG2 fJHU42vWgQAXWdzv2dJmsWnFQ0EcB3ElOvq56fbGmkWpTsaUjnWm34x1wc48KNpRYGJ+ Ajt4jlALfug3WqhaO08Jnods3fQkI74sT9LkrZrTKwzjElUgJiAvJlkf6ThUWX5ykmLL Kk9/ac9adEBrfw/M4CbZuDfUnCrBqKx3HZt8Xd5GmpFp2vAtd9UlvaAGPy29HAxTHCjX uLKUJicv2CrTFAZ+HeeD5sjEgqA3RtcM25RGBF4Po+YBZVooeU4U5ICTp6LL2tg+BkCW uXXw== Original-Received: by 10.112.42.233 with SMTP id r9mr3289879lbl.76.1354483048475; Sun, 02 Dec 2012 13:17:28 -0800 (PST) Original-Received: from [192.168.1.5] ([178.252.98.87]) by mx.google.com with ESMTPS id sq2sm4389062lab.14.2012.12.02.13.17.26 (version=SSLv3 cipher=OTHER); Sun, 02 Dec 2012 13:17:27 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <87boee71du.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67808 Archived-At: On 01.12.2012 10:05, Chong Yidong wrote: > Dmitry Gutov 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.