From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5470 invoked by alias); 26 Apr 2010 06:42:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27917 Received: (qmail 5129 invoked from network); 26 Apr 2010 06:42:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_PASS autolearn=no version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: =?utf-8?Q?Fran=C3=A7ois?= Gannaz Cc: zsh-workers@zsh.org, Phil Pennock Subject: Re: vcs_info and locales In-Reply-To: <20100426002937.GA67488@redoubt.spodhuis.org> (Phil Pennock's message of "Sun, 25 Apr 2010 17:29:37 -0700") References: <20100424234017.776ae0ea@coriolan> <87aassncyk.fsf@ft.bewatermyfriend.org> <20100425131944.GA55789@redoubt.spodhuis.org> <20100425210922.13596c4f@coriolan> <20100426002937.GA67488@redoubt.spodhuis.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Date: Mon, 26 Apr 2010 08:36:17 +0200 Message-ID: <87ljcan2ji.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: 430444 Phil Pennock wrote: > On 2010-04-25 at 21:09 +0200, Fran=C3=A7ois Gannaz wrote: >> Le 2010-04-25, Phil Pennock a = =C3=A9crit : >> > On 2010-04-25 at 10:38 +0200, Frank Terbeck wrote: >> > > Anyway, could you try the following patch for the locale problem? I >> > > think it should solve the issue once and for all. >> >=20 >> > I have one concern, which leads to the question: is it really necessary >> > to set LC_ALL instead of LC_MESSAGES? >>=20 >> Yes it is. I used LC_ALL here because that was the only one that made "s= vn >> info" switch to English when default locale is set to "fr_FR.utf8". > > In that case, you already had LC_ALL set, which is why part of my > proposed solution was to unset it. > > I've just tested, and svn behaves as I expect for a locale-aware app: > LANG is a default, which provides implicit values for LC_ where foo > is not ALL. It's overriden by each LC_ if set. All of those are > overriden by LC_ALL. Indeed, LANG is a fallback value used for everything that's unset. LC_ALL forces every value to its value. My patch from workers-27908=C2=B9 should do what Phil proposed. Could you t= ry if that works for you, Fran=C3=A7ois? This would give all backends C-locale messages, which would avoid bugs like this for all of them now and in the future. Regards, Frank =C2=B9 -