From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51321: 29.0.50; date in modelines Date: Sat, 23 Oct 2021 15:23:52 +0300 Message-ID: <837de453qg.fsf@gnu.org> References: <83sfwu8g9s.fsf@gnu.org> <05BFC277-0845-40E6-B10C-4582B9BCAB82@algon.dk> <83a6j28cnu.fsf@gnu.org> <13198AFD-F4C9-4DF3-91FF-4D71248DFAF4@algon.dk> <83sfwt7el8.fsf@gnu.org> <6C80587E-2E20-43AB-9B1E-15936BDB0797@algon.dk> <83cznx6teq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nisoni@algon.dk, 51321@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 14:25:56 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meG60-0005o4-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 14:25:56 +0200 Original-Received: from localhost ([::1]:36360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meG5z-0001VG-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 08:25:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meG58-0001Ti-E9 for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meG57-0008Jb-TI for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meG57-0008HQ-OR for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2021 08:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 12:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51321 X-GNU-PR-Package: emacs Original-Received: via spool by 51321-submit@debbugs.gnu.org id=B51321.163499185531765 (code B ref 51321); Sat, 23 Oct 2021 12:25:01 +0000 Original-Received: (at 51321) by debbugs.gnu.org; 23 Oct 2021 12:24:15 +0000 Original-Received: from localhost ([127.0.0.1]:34594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meG4M-0008GH-QT for submit@debbugs.gnu.org; Sat, 23 Oct 2021 08:24:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meG4K-0008G4-In for 51321@debbugs.gnu.org; Sat, 23 Oct 2021 08:24:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59684) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meG4D-0007s1-AS; Sat, 23 Oct 2021 08:24:06 -0400 Original-Received: from [87.69.77.57] (port=4835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meG4C-0003Z2-Jr; Sat, 23 Oct 2021 08:24:05 -0400 In-Reply-To: (message from Daniel =?UTF-8?Q?Mart=C3=ADn?= on Sat, 23 Oct 2021 14:16:28 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217979 Archived-At: > From: Daniel Martín > Cc: Niels Søndergaard , > 51321@debbugs.gnu.org > Date: Sat, 23 Oct 2021 14:16:28 +0200 > > Eli Zaretskii writes: > > > > > I don't know what this means in terms of LC_* locale settings that > > Emacs sees. can some macOS expert please chime in and help me > > understand where is the problem here? > > It depends on how you start Emacs. The common case on macOS is that > people start Emacs from the GUI, and in that case the OS doesn't > configure the locale environment variables. What the NS port does is it > uses the OS API to get the locale and applies the environment variables > manually (see ns_init_locale in nsterm.m). Thanks, I think that explains the issue. > I see that ns_init_locale only sets LANG, which seems insufficient for > this use case. Perhaps we need to extend ns_init_locale to set other > LC_ variables as well (LC_TIME is the key here). Why not LC_ALL?