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: Customization of VC commands Date: Thu, 06 Jan 2011 22:41:44 -0500 Message-ID: References: <87lj311o7p.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294373361 15490 80.91.229.12 (7 Jan 2011 04:09:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 04:09:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 07 05:09:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pb3db-0005NM-FX for ged-emacs-devel@m.gmane.org; Fri, 07 Jan 2011 05:09:15 +0100 Original-Received: from localhost ([127.0.0.1]:41343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3De-00082K-QF for ged-emacs-devel@m.gmane.org; Thu, 06 Jan 2011 22:42:26 -0500 Original-Received: from [140.186.70.92] (port=49430 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb3Da-0007sp-0R for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:42:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb3Cz-0005Cd-7Y for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:41:46 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:15852 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb3Cz-0005CZ-3g for emacs-devel@gnu.org; Thu, 06 Jan 2011 22:41:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEABoaJk1MCpdc/2dsb2JhbACkHnS9CIVMBIRnjiA X-IronPort-AV: E=Sophos;i="4.60,286,1291611600"; d="scan'208";a="87277320" Original-Received: from 76-10-151-92.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.92]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2011 22:41:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 367A458B92; Thu, 6 Jan 2011 22:41:44 -0500 (EST) In-Reply-To: <87lj311o7p.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Tue, 04 Jan 2011 01:56:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134340 Archived-At: > I don't see too much provision on VC for customizing commands. Just > today I missed the possibility of setting a variable that would be used > for telling vc-print-log to work across file copies and renames (for > git). Something like vc-git-print-log-extra-options. VC has the `vc-switches' macro which backends are supposed to use for that, which provides the user with variables like vc-git-print-log-switches (which would be just what you asked for). It's better than nothing, but we'd want to be able to provide/change such arguments dynamically. > Is this intentional or work in progress? Any plans about how to do it? Check existing uses of `vc-switches', and then change the remaining code to use it as well. Stefan