From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22392: Emacs OS X GUI doesn't set locale Date: Fri, 05 Feb 2016 11:21:53 +0200 Message-ID: <83k2mjv7f2.fsf@gnu.org> References: <83twm01ju1.fsf@gnu.org> <83lh7c1igo.fsf@gnu.org> <56A90735.7090508@cs.ucla.edu> <838u341cny.fsf__25231.4954218038$1454353164$gmane$org@gnu.org> <83r3grvcgy.fsf@gnu.org> <1454657792.67174.512690498.78EA5AE6@webmail.messagingengine.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454664202 1253 80.91.229.3 (5 Feb 2016 09:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 09:23:22 +0000 (UTC) Cc: 22392@debbugs.gnu.org To: Random832 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 10:23:11 2016 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 1aRcbe-0002m5-JT for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 10:23:10 +0100 Original-Received: from localhost ([::1]:46991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRcbd-0002nO-S0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 04:23:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRcba-0002mV-2f for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 04:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRcbW-0007Qo-SL for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 04:23:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRcbW-0007Qk-Oi for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 04:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRcbW-0004eE-IW for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 04:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2016 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22392-submit@debbugs.gnu.org id=B22392.145466412917777 (code B ref 22392); Fri, 05 Feb 2016 09:23:02 +0000 Original-Received: (at 22392) by debbugs.gnu.org; 5 Feb 2016 09:22:09 +0000 Original-Received: from localhost ([127.0.0.1]:32817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRcae-0004ce-Sb for submit@debbugs.gnu.org; Fri, 05 Feb 2016 04:22:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35546) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRcae-0004cR-5u for 22392@debbugs.gnu.org; Fri, 05 Feb 2016 04:22:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRcaV-0007Ez-Tv for 22392@debbugs.gnu.org; Fri, 05 Feb 2016 04:22:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRcaV-0007Ev-Qh; Fri, 05 Feb 2016 04:21:59 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1317 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRcaU-0007XK-Gl; Fri, 05 Feb 2016 04:21:59 -0500 In-reply-to: <1454657792.67174.512690498.78EA5AE6@webmail.messagingengine.com> (message from Random832 on Fri, 05 Feb 2016 02:36:32 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.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@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112480 Archived-At: > From: Random832 > Cc: 22392@debbugs.gnu.org > Date: Fri, 05 Feb 2016 02:36:32 -0500 > > On Fri, Feb 5, 2016, at 02:32, Eli Zaretskii wrote: > > I don't know. Why don't those programs do that today? > > Why don't which programs The ones you alluded to. > do what? Set LANG for themselves. > Terminal emulators *do* set LANG, as is being proposed here to have > Emacs do likewise. Other programs do not, in general, execute > subprocesses that care about LANG, so the fact that they don't set > LANG doesn't matter any more than that Windows programs don't set > it. You can set LANG in the program's environment even if you don't launch subprocesses, just to have the relevant libc routines adjust their defaults. In fact, that's why Emacs does that in the first place. I'm asking why don't the programs you allude to do that already. If they do, then setting LANG in Emacs, and passing that to those programs as result, might interfere with what those programs already do.