From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.bugs Subject: bug#19251: 24.4; LANG not applied in shell command Date: Tue, 02 Dec 2014 13:22:40 +0100 Organization: Sebastien Vauban Message-ID: <86oarmqm0f.fsf@example.com> References: <867fyatlvi.fsf@example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417523009 25584 80.91.229.3 (2 Dec 2014 12:23:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2014 12:23:29 +0000 (UTC) To: 19251-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Dec 02 13:23:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XvmUB-0000LL-70 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2014 13:23:19 +0100 Original-Received: from localhost ([::1]:36387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvmUA-0002rX-Lg for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2014 07:23:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvmU0-0002qU-RT for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 02 Dec 2014 07:23:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvmTu-0005wX-O3 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 02 Dec 2014 07:23:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvmTu-0005wS-KL for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 02 Dec 2014 07:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XvmTu-0004xu-CF for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Tue, 02 Dec 2014 07:23:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Sebastien Vauban Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Tue, 02 Dec 2014 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 19251 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19251-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B19251.141752297119063 (code B ref 19251); Tue, 02 Dec 2014 12:23:02 +0000 Original-Received: (at 19251) by debbugs.gnu.org; 2 Dec 2014 12:22:51 +0000 Original-Received: from localhost ([127.0.0.1]:51469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvmTj-0004xP-7O for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 02 Dec 2014 07:22:51 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:38651 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvmTh-0004xG-Co for 19251-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Tue, 02 Dec 2014 07:22:50 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id EF8A9500902 for <19251-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org>; Tue, 2 Dec 2014 13:22:47 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Ivan Shmakov's message of "Tue, 02 Dec 2014 10:22:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:96797 Archived-At: Ivan Shmakov wrote: >> Sebastien Vauban writes: > >> This is because my function looks for the string "Already up-to-date" >> in Git's output, and his output is in French =E2=80=93 while I forced LA= NG to >> en_US. >> >> So, why is LANG not respected in `shell-command-to-string'? > > The LC_ALL environment variable takes precedence over LANG (or > any other LC_ variables, for that matter.) Back a decade ago, > I=E2=80=99ve seen RedHat-derived distributions using LC_ALL (instead of > LANG) to set the locale, so that could be the issue. > > My suggestion would be to use LC_ALL=3DC instead of a LANG > override. I first tried LC_ALL=3Den_US. No success. Your suggestion LC_ALL=3DC did work. Thanks! (This can be closed -- and Emacs did the right thing btw) Best regards, Seb --=20 Sebastien Vauban