all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Sascha Wilde <wilde@sha-bang.de>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: Un-setting HGRCPATH in vc-hg.el problematic
Date: Mon, 28 Jun 2010 11:22:30 -0400	[thread overview]
Message-ID: <yxqfx07dvwp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m28w5z9zdi.fsf@kenny.lan.sha-bang.de> (Sascha Wilde's message of "Mon\, 28 Jun 2010 13\:21\:13 +0200")

Sascha Wilde <wilde@sha-bang.de> writes:

> Dan Nicolaescu <dann@gnu.org> wrote:
>> Sascha Wilde <wilde@sha-bang.de> 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...

Filing a bug will make sure the issue is not forgotten, and it also
implies that more info is needed so that the issue can be
independently reproduced.

>>> I'd suggest removing the HGRCPATH='' 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='' 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).

Setting HGRCPATH was the result of some discussion on the list (here or
the bug list).

We want to be able to reliably parse the results of hg log regardless
of the users .hgrc settings.

> So at the moment it looks as if the HGRCPATH='' can be simply removed!

What happens if the user changes the format of hg log in her .hgrc ? 

> 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
> -- 
> Sascha Wilde
> Nota bene: wenn Word für Längeres geeignet wäre, würde es schließlich
> nicht Word, sondern Sentence, Page oder Article heißen
>  	-- Matthias Mühlich in dctt



  reply	other threads:[~2010-06-28 15:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 11:38 Un-setting HGRCPATH in vc-hg.el problematic Sascha Wilde
2010-06-28  4:23 ` Dan Nicolaescu
2010-06-28 11:21   ` Sascha Wilde
2010-06-28 15:22     ` Dan Nicolaescu [this message]
2010-08-01 15:32       ` Sascha Wilde
2010-08-04 16:58         ` Dan Nicolaescu
2010-08-04 17:26           ` Sascha Wilde
2010-08-05  6:33             ` Dan Nicolaescu
2010-08-06 16:14               ` Sascha Wilde
2010-08-22 13:26                 ` Sascha Wilde
2010-09-11 13:48                   ` Stefan Monnier
2010-09-17  7:35                     ` Sascha Wilde
2010-06-28 19:39     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yxqfx07dvwp.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=wilde@sha-bang.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.