From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master e6fe301: Another longstanding to-do: bind vc-delete-file. Date: Tue, 02 Dec 2014 09:11:45 -0500 Message-ID: References: <20141202103201.17400.71550@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417529531 8010 80.91.229.3 (2 Dec 2014 14:12:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2014 14:12:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 02 15:12:04 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XvoBQ-0002Xz-NQ for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2014 15:12:04 +0100 Original-Received: from localhost ([::1]:37043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvoBQ-0007p8-9H for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2014 09:12:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvoBG-0007oE-8v for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:12:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvoB8-0001ZW-PW for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:11:54 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvoB8-0001ZA-MD for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:11:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUIAGA2ZVRMCqTq/2dsb2JhbABbgw6KYssMBAICgRwXAQEBAQEBfIQDAQEDAVYoCws0EhQYDYhvCdEEAQEIAiCRGxaENQWMC5Nag0+NWoIUgXaCNoFkH4J7AQEB X-IPAS-Result: AsUIAGA2ZVRMCqTq/2dsb2JhbABbgw6KYssMBAICgRwXAQEBAQEBfIQDAQEDAVYoCws0EhQYDYhvCdEEAQEIAiCRGxaENQWMC5Nag0+NWoIUgXaCNoFkH4J7AQEB X-IronPort-AV: E=Sophos;i="5.07,380,1413259200"; d="scan'208";a="99356927" Original-Received: from 76-10-164-234.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.234]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Dec 2014 09:11:45 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6861143C3; Tue, 2 Dec 2014 09:11:45 -0500 (EST) In-Reply-To: (Eric S. Raymond's message of "Tue, 02 Dec 2014 10:32:01 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178681 Archived-At: > Another longstanding to-do: bind vc-delete-file. Please, *again*, include a ChangeLog-format description of your change in *every* commit message. This is usually a simple copy of the text you wrote for the ChangeLog file, and C-c C-a from the *VC-Log* buffer should even grab that text and copy it for you (and you can config VC so that it does this copy automatically without you even hitting C-c C-a). > + * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete. ^^^^^^ C-x > + * vc.el (vc-expand-dirs): Now takes a second BACKEND argument, While it's a second argument, it's not a second backend argument. We usually just say "Add BACKEND argument" ;-) > + (define-key map "[delete]" 'vc-delete-file) This binds the command to the key sequence [ d e l e t e ] Stefan