From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: L10N & LC variables Date: Sat, 27 May 2017 09:34:06 +0900 Message-ID: <6F65C4B8-67D9-45DA-A77A-9D5A5C641B3F@gmail.com> References: <2F438BC0-4073-4D29-8504-1909EE1762DD@gmail.com> <58516957-5971-7a1f-a4e2-d276f2881046@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495845266 20815 195.159.176.226 (27 May 2017 00:34:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 May 2017 00:34:26 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 27 02:34:21 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEPgS-0005DJ-Up for ged-emacs-devel@m.gmane.org; Sat, 27 May 2017 02:34:21 +0200 Original-Received: from localhost ([::1]:39008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEPgV-0008Ck-0v for ged-emacs-devel@m.gmane.org; Fri, 26 May 2017 20:34:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEPgM-0008Cf-Kv for emacs-devel@gnu.org; Fri, 26 May 2017 20:34:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEPgI-0006Rk-FT for emacs-devel@gnu.org; Fri, 26 May 2017 20:34:14 -0400 Original-Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]:36333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEPgI-0006RM-8A for emacs-devel@gnu.org; Fri, 26 May 2017 20:34:10 -0400 Original-Received: by mail-pg0-x22b.google.com with SMTP id x64so500810pgd.3 for ; Fri, 26 May 2017 17:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=7yQvYbKhT/ocKOT7jjlc/pISemTRzZ0f7phSu2aJwd4=; b=HEp7lSvXA9fUoVeLvCpF0Y33k4tbZoJz3iVSUEXLEi6BhKgl2KXZQbyGnHUATDLlvH 5MP3Uyxbcu5rH4cgSiA4tyoas34B0GSozb3y3z33M8CnaILEXqDAgH73XJv9DjxCbJu9 1/b6/qxOr28Gez66tBLXHl3uFKOME+lbV+uZ5NQoV1V95YhxJvRgVtjiWYETQvgTpyTW f59KyARwgsGDr5NdgQrfQMwWyy+Lb7w1/73NguFRpyB/N3JegieiCAkN/YsfQHm15Mhi TUR09NPK2wByL0+2nCKIgSZbaP1xC3EmnbhC88u8xYL6zh2o23dhDvVH2RBqM8mIsnvT RIEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=7yQvYbKhT/ocKOT7jjlc/pISemTRzZ0f7phSu2aJwd4=; b=PV0LbDrzhMFEelz9QbqtIVSeA0nT7aY4EcMCpV+zZRbmQP8lWg4KpbgD+GkRsr6lCS eYVXbW0jEOOwFKIQVBSqET7f//Vfh4LJERKcUZd0e3WSKwDBIXUWhUcHLB7Y/y5C06X6 3yibW+55U28q+1BitvXZCO57v1AD17htBZ6H6Uk9gyogVh5hDnUByczBowlekXIcX9e0 T26foCqR6LfneTQ0MCjMRvqp+Zv4afjWM1qF1np1f81kroFt+SmQnxVJTMNi/kpYdDCr o6569C0FFiIyWPJ8UbZhqVurwoHKPvCuf84jxfdzQW3gaNGXs1BbVlX+4N8qrIqZO1Lh H7kA== X-Gm-Message-State: AODbwcAjBw57ceniuQuBrBukeWRHpBi8JYcs4O/RWJvvANfpL8tFREAb iCWkA51RpgTLlOeQlq0= X-Received: by 10.84.216.10 with SMTP id m10mr60661980pli.4.1495845249205; Fri, 26 May 2017 17:34:09 -0700 (PDT) Original-Received: from [192.168.24.63] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id c23sm3138782pfh.131.2017.05.26.17.34.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 May 2017 17:34:08 -0700 (PDT) In-Reply-To: <58516957-5971-7a1f-a4e2-d276f2881046@cs.ucla.edu> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215247 Archived-At: > On May 27, 2017, at 3:42, Paul Eggert wrote: >=20 > On 05/26/2017 07:41 AM, Jean-Christophe Helary wrote: >> 2005-04-14 YAMAMOTO Mitsuharu >>=20 >> * international/mule-cmds.el (set-locale-environment): On Mac = OS, >> use preferences AppleLocale and AppleLanguages, and variable >> mac-system-locale for default locale. On Mac OS Classic, use >> mac-system-coding-system for default coding systems. >> But there is no further references to mac-system-locale in the other = changelogs >=20 > That code was removed here: >=20 > = http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D9e2a2647758db83b49= 0e2993aa31cd4607305a82 >=20 > in a commit dated 2008-07-27 that removed support for Carbon. =46rom = what you say, that part of the 2008 change is making life for macOS = users more difficult, Interesting. It looks like the whole macOS preference settings = acquisition code was taken from Emacs in that commit, including a lisp = function written in C: mac-get-preference. That was quite a radical = commit... > Presumably there is a non-Carbon way to do the equivalent of the old = code, and if you or some other macOS expert would write it, that would = remove this minor glitch in the default Emacs configuration on macOS. (shell-command "defaults read -g AppleLocale") seems to do the job well, = although it may not be considered super elegant. (side note: le Elisp Reference index does not seem to have an entry for = "shell-command" although "read-shell-command" that is also defined in = simple.el is there.) Jean-Christophe=20=