From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18991 invoked by alias); 26 Apr 2010 08:57:27 -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: 27918 Received: (qmail 18375 invoked from network); 26 Apr 2010 08:57:22 -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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at free.fr does not designate permitted sender hosts) Date: Mon, 26 Apr 2010 10:56:55 +0200 From: =?UTF-8?B?RnJhbsOnb2lz?= Gannaz To: zsh-workers@zsh.org Subject: Re: vcs_info and locales Message-ID: <20100426105655.305bfd47@coriolan> In-Reply-To: <87ljcan2ji.fsf@ft.bewatermyfriend.org> References: <20100424234017.776ae0ea@coriolan> <87aassncyk.fsf@ft.bewatermyfriend.org> <20100425131944.GA55789@redoubt.spodhuis.org> <20100425210922.13596c4f@coriolan> <20100426002937.GA67488@redoubt.spodhuis.org> <87ljcan2ji.fsf@ft.bewatermyfriend.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le 2010-04-26, Frank Terbeck a =C3=A9crit : > 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 necess= ary > >> > 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 = "svn > >> 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. >=20 > Indeed, LANG is a fallback value used for everything that's > unset. LC_ALL forces every value to its value. My mistake, I misread Phil and I didn't understand LC_ALL's role (it's not documented on locale's man page). > My patch from workers-27908=C2=B9 should do what Phil proposed. Could you= try > if that works for you, Fran=C3=A7ois? This would give all backends C-loc= ale > messages, which would avoid bugs like this for all of them now and in > the future. Works for me. Regards -- Fran=C3=A7ois