From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Un-setting HGRCPATH in vc-hg.el problematic Date: Wed, 04 Aug 2010 19:26:10 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280943415 27132 80.91.229.12 (4 Aug 2010 17:36:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 17:36:55 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 04 19:36:54 2010 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 1Oghtb-0002wV-1A for ged-emacs-devel@m.gmane.org; Wed, 04 Aug 2010 19:36:51 +0200 Original-Received: from localhost ([127.0.0.1]:59685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oghta-0004fy-1J for ged-emacs-devel@m.gmane.org; Wed, 04 Aug 2010 13:36:50 -0400 Original-Received: from [140.186.70.92] (port=54160 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OghjY-0003ui-HO for emacs-devel@gnu.org; Wed, 04 Aug 2010 13:26:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OghjS-0002om-2k for emacs-devel@gnu.org; Wed, 04 Aug 2010 13:26:26 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:53625 helo=mail.sha-bang.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OghjI-0002nA-Ni; Wed, 04 Aug 2010 13:26:12 -0400 Original-Received: from kenny.lan.sha-bang.de (xdslu148.osnanet.de [82.149.184.148]) by mail.sha-bang.de (Postfix) with ESMTPSA id 47838565; Wed, 4 Aug 2010 19:26:11 +0200 (CEST) Original-Received: from wilde by kenny.lan.sha-bang.de with local (Sha Bang MUA v.0711184.68) ID 1OghjG-00082M-T7; Wed, 04 Aug 2010 19:26:10 +0200 In-Reply-To: (Dan Nicolaescu's message of "Wed, 04 Aug 2010 12:58:11 -0400") 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:128257 Archived-At: Dan Nicolaescu wrote: > Sascha Wilde writes: [...] >> So here is my patch, I successfully tested it with an "evil" hgrc >> redefining 'log' and 'parents'. > > How about testing with an hgrc that changes the defaults for log and parents? Sorry, I should have been more precise about the tests I made, but I did test this, too. As I wrote (and one can see from my patch) both: redefined (alias) commands and changed defaults for commands are reseted to the expected defaults by my proposed change. I successfully tested both cases. cheers sascha -- Sascha Wilde : "I heard that if you play the Windows CD backward, you : get a satanic message. But that's nothing compared to : when you play it forward: It installs Windows...." : -- G. R. Gaudreau