From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#22392: Emacs OS X GUI doesn't set locale Date: Wed, 10 Feb 2016 23:57:47 +0000 Message-ID: <20160210235747.GA2223@galloway.idiocy.org> References: <83twm01ju1.fsf@gnu.org> <83lh7c1igo.fsf@gnu.org> <56A90735.7090508@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" X-Trace: ger.gmane.org 1455148704 31744 80.91.229.3 (10 Feb 2016 23:58:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 23:58:24 +0000 (UTC) Cc: 22392@debbugs.gnu.org, Paul Eggert To: Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 00:58:12 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 1aTeeB-0008IE-MN for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2016 00:58:11 +0100 Original-Received: from localhost ([::1]:44484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTeeA-0002Za-NK for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 18:58:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTee6-0002Z9-Po for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 18:58:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTee1-0002Pa-VX for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 18:58:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTee1-0002PW-Qi for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 18:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTee1-0000ws-Lp for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 18:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2016 23:58:01 +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.14551486783638 (code B ref 22392); Wed, 10 Feb 2016 23:58:01 +0000 Original-Received: (at 22392) by debbugs.gnu.org; 10 Feb 2016 23:57:58 +0000 Original-Received: from localhost ([127.0.0.1]:35515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTedy-0000wb-J4 for submit@debbugs.gnu.org; Wed, 10 Feb 2016 18:57:58 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:37994) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTedw-0000wO-Jf for 22392@debbugs.gnu.org; Wed, 10 Feb 2016 18:57:56 -0500 Original-Received: by mail-wm0-f46.google.com with SMTP id p63so47918656wmp.1 for <22392@debbugs.gnu.org>; Wed, 10 Feb 2016 15:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ahAL6eGr/tx3cFFt/JTqjbcDviWOskGnOONzb5YJkuM=; b=wNgXfR65MZ2AAusiuIvuQBte2VdglYRtcfhCn48MmCrYIMIblwRqbMUqibVMHEi3Ba HirmkZ6n3xrMXMduOpA09THfLLS8YYg/G11w2DOdgvaIOtR0fgZ7GbCKL5780xgGQXG3 eGQt/9uf/1ayQAcjmgUzgmwvvDixNh4vsv47ehMrov+XsiANptORrzWrdiZ2yaVl3IpC hhQCM9Y5q8orjOXXFtSF4cO5VvMnTaZb8BzkNhTsbABqJL5WbQPcU+lMR0oL9W+X/OtS H6tM0fHAMKewI44NSJrXlkcU0/D4+V3WpdcaoeY9auo/Ug3pstQFaNO4d1/H95FCQMNl 9R8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=ahAL6eGr/tx3cFFt/JTqjbcDviWOskGnOONzb5YJkuM=; b=PmEISNAtw0SI93wsZMqW+hGye4S5IumizxNcnVh1iOmFCG/gRZs5PGsueUnXaKJIMj rZcmVxOWXmIfYbF+Fvdqrn3oJP/gwKHePtPEhNCsyRmT+54o+8Imp2sUxUuc9WM1vSQV v7pAYLxEtRD0r/ZheI0GrHdwvfv0032kDiQ6DOZw0szsv29Q5qccN+fnpEES6HXfazGX owieuxsY9vTiWsKBOVrGjcojoZow/tblyb1nC0/qBC7ZgG9OLF6YP70JKGv+M7+goT7a is08OHEc6SC5wB7zzeMmyaXiOASXJ0eDUnFsY83NeVyPgXW0khv6ZMXCun7LP0SHRIcI ah3A== X-Gm-Message-State: AG10YOTsHuU9yCgr4gZepxJebqkcTRT9O3VS7MPceS8Pf63iFcPljw2ThZS2fc6TcyJwiw== X-Received: by 10.28.225.8 with SMTP id y8mr15038686wmg.94.1455148670951; Wed, 10 Feb 2016 15:57:50 -0800 (PST) Original-Received: from galloway.idiocy.org (c.f.9.0.5.3.0.e.5.e.a.d.2.7.5.5.9.2.1.8.8.f.3.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:3f8:8129:5572:dae5:e035:9fc]) by smtp.gmail.com with ESMTPSA id x65sm5491520wmg.4.2016.02.10.15.57.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 15:57:49 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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:112876 Archived-At: --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 01, 2016 at 06:03:30AM +0100, Anders Lindgren wrote: > Today, I tested this patch on OS X and GNUstep. From what I can see, it > applies cleanly and work as intended. >=20 > As the LANG variable is set early in the initialisation process, it will = be > propagated to `process-environment' and thus set for all processes started > by Emacs. >=20 > I suggest that we apply this patch, so that it will be included in the ne= xt > Emacs 25 pretest. I received confirmation of my copyright assignment today, so if someone wants to apply the patch, that would be great. Additionally, if it is applied the documentation should probably be updated too. There's a bit under General Variables that should read something like: On MS-Windows and OS X, if LANG is not already set in the environment when Emacs starts, Emacs sets it based on the system-wide default language. This can be set in the 'Regional Settings' Control Panel on some versions of MS-Windows and in the 'Language and Region' System Preference on OS X. Should I recreate the patch with that change in it? --=20 Alan Third --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWu857AAoJECxHyZKmkINrnAsIAI7/c606Z0cOD/XY+UDF93hs bmfHLiP5yCcu7Iu+5B0R1xNibYUdPlqzdVeLM3uM5ECQnWuwYjXioRGiczo0AdJ2 vGYGxT4zWc0aaWfxhmHuvRd9VExB/YRp+VjjArPvvpHnAGrQc83llybQIclTeQqk sN9vJn8TP1x+1vLmwDQioNU0VJt+0Lof5LS+CHBYM1L6iZCxgi8F2zNZwR8nLiw/ 6HwxRhY/qsAWkcsTaXSL6DCYwYP5/Z/vvJASu4Djux3JSC5HoVum2WdNYrdGaTFa kvnmc0q5AXHqKGK1utFm9avnM6tyzM9qt1IVIoyS4cRyh088sQ474ATqyRJf4BU= =hZEC -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--