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: Mon, 28 Jun 2010 13:21:13 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277724092 7840 80.91.229.12 (28 Jun 2010 11:21:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 11:21:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu ,Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 28 13:21:30 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 1OTCP4-000372-A8 for ged-emacs-devel@m.gmane.org; Mon, 28 Jun 2010 13:21:30 +0200 Original-Received: from localhost ([127.0.0.1]:41983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTCP3-0006hB-Ez for ged-emacs-devel@m.gmane.org; Mon, 28 Jun 2010 07:21:29 -0400 Original-Received: from [140.186.70.92] (port=41192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTCOt-0006eF-8M for emacs-devel@gnu.org; Mon, 28 Jun 2010 07:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTCOs-0001Gj-5R for emacs-devel@gnu.org; Mon, 28 Jun 2010 07:21:19 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:60777 helo=mail.sha-bang.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTCOq-0001Fw-N0; Mon, 28 Jun 2010 07:21:16 -0400 Original-Received: from kenny.lan.sha-bang.de (xdsldf091.osnanet.de [89.166.159.91]) by mail.sha-bang.de (Postfix) with ESMTPSA id 6BD3D565; Mon, 28 Jun 2010 13:21:14 +0200 (CEST) Original-Received: from wilde by kenny.lan.sha-bang.de with local (Sha Bang MUA v.0711184.68) ID 1OTCOn-0000Yc-NQ; Mon, 28 Jun 2010 13:21:13 +0200 In-Reply-To: (Dan Nicolaescu's message of "Mon, 28 Jun 2010 00:23:10 -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:126473 Archived-At: Dan Nicolaescu wrote: > Sascha Wilde writes: >> HGRCPATH set to an empty string in its environment. What is the >> rational of doing so? The comment states "Avoid localization of >> messages so we can parse the output." but to my best knowledge the hgrc >> files are not used to set the localization... [...] > This message is probably better sent to bug-gnu-emacs@gnu.org As I intended to discuss the rational behind the code and find a more correct solution I thought the developer list would fit... >> I'd suggest removing the HGRCPATH=3D'' from the environment. If there >> are really configuration options that should be disabled for good >> reasons in this functions, I'd suggest using the --config option of hg >> to set them specifically. > > If you can suggest exactly what --config options to use, it would be > very easy to make that change. I can't make a suggestion like this as long as I don't know what the intention of setting HGRCPATH=3D'' was in the first place. As stated above the comment is misleading as hgrc is not used for any kind of localization (I wrote "to my best knowledge" but I double checked with an core Mercurial developer in the meantime). So at the moment it looks as if the HGRCPATH=3D'' can be simply removed! But there might be some other reasons (Bug#5846 seems to indicate that) besides the localization issue for trying to deactivate .hgrc files... Maybe Chong Yidong knows some details, as he made the last changes to the code in question? cheers ssacha --=20 Sascha Wilde Nota bene: wenn Word f=C3=BCr L=C3=A4ngeres geeignet w=C3=A4re, w=C3=BCrde = es schlie=C3=9Flich nicht Word, sondern Sentence, Page oder Article hei=C3=9Fen -- Matthias M=C3=BChlich in dctt