From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Weigand via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#42921: 27.1; Setting (setq system-time-locale =?UTF-8?Q?=E2=80=9CC=E2=80=9D?=) in daemon ineffective Date: Mon, 30 Nov 2020 07:59:11 +0000 Message-ID: References: <878sebg1i4.fsf@protonmail.com> <87eely43no.fsf@gnus.org> Reply-To: Matthias Weigand , Matthias Weigand Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="---------------------12de03c8c10dcbae0335b8c9cb57749c"; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "42921@debbugs.gnu.org" <42921@debbugs.gnu.org> To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 16:45:14 2020 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 1kjlMX-0005jh-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 16:45:13 +0100 Original-Received: from localhost ([::1]:49844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjlMW-00041q-NN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 10:45:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjlMN-00041a-4C for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 10:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjlMM-0000Qr-TO for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 10:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjlMM-0002h8-SC for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 10:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Weigand Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 42921-submit@debbugs.gnu.org id=B42921.160675104810255 (code B ref 42921); Mon, 30 Nov 2020 15:45:02 +0000 Original-Received: (at 42921) by debbugs.gnu.org; 30 Nov 2020 15:44:08 +0000 Original-Received: from localhost ([127.0.0.1]:56304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjlLT-0002fK-51 for submit@debbugs.gnu.org; Mon, 30 Nov 2020 10:44:07 -0500 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]:13400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kje5j-0001kH-7k for 42921@debbugs.gnu.org; Mon, 30 Nov 2020 02:59:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1606723156; bh=ZvFJL5UwNsOFwmTvvoe77v//Jmz3gz1RJqeN9YJ7L0g=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=Un7uP1ki1jKzBesVKUky6KxAkkVW9N4NER0+4eWh5lvz79/uLJCjkBiPKNXvK9Tg7 exHfpG7xJufg0gUbT42hN/djTGvHuA2XUsTcT6LVU8u1Fxqtc7SM9sd8Tl+VSRuONu HrUrvTAt721SQ5cPMp+sBECAjKL3q1/VKtcz4DL4= In-Reply-To: <87eely43no.fsf@gnus.org> X-Mailman-Approved-At: Mon, 30 Nov 2020 10:44:05 -0500 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:194644 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) -----------------------12de03c8c10dcbae0335b8c9cb57749c Content-Type: multipart/mixed;boundary=---------------------f97e6ddd7790cd0919fa0a9acbe57d2c -----------------------f97e6ddd7790cd0919fa0a9acbe57d2c Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 It turned out, that although my zsh showed the correct locale, en_US.UTF-8= that is, my bash did still rock the wrong de_DE.UTF-8. = Changing it solve the issue, for me at least. It does not explain why sett= ing the locale in your init.el/config.org would not be accepted when runni= ng in daemon as opposed to individually instanced sessions. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original M= essage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Friday, October 16, 2020 5:00 PM, Lars Ingebrigtsen wr= ote: > Matthias Weigand matthias.weigand@protonmail.com writes: > > > I try to set the time locale to "C" in my config via (setq > > system-time-locale "C"). However, when using the emacs --daemon,= it is > > not set properly and I end up with non-english date formats and = weekday > > abbreviations when the system locale is different. > > Discussion over at stackexchange pointed to the time variable no= t being > > used directly but as a terminal-local variable. > > https://emacs.stackexchange.com/q/60134 > > Unfortunately, I am not very literate in elisp so I am not able = to > > provide more information. Let me know if I should test something= . > > I'm unable to reproduce this error. Could you provide a recipe for > reproducing this? In particular, what are the LC_* language environme= nt > variables? > > ---------------------------------------------------------------------= --------------------------------------------------------------------------= --------- > > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -----------------------f97e6ddd7790cd0919fa0a9acbe57d2c-- -----------------------12de03c8c10dcbae0335b8c9cb57749c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJfxKZDACEJEMKh2niMKifPFiEEoQ1dVc9L3SIutG6DwqHa eIwqJ89g3Qf+ItYK33hgaV3OlGexggjlL6AAbMYUy01bR/mt+/C7o5gPbg68 DGDlkpEDgzvOu064fY2g09wA5EZLdIeUYeK//ofv2MgxHkdLwgHlQtRW+w/T 3D1ciZPsBv/j/7YtLaebROqM6idoLu9rEQwofxe6AL2P+Zwcbzy5hmbViU6f +m0LHRpoIpYxmijebb1cU3skn3wVXSaR5nHBmLYYExxsD/WS+Dybdn11sfsO RpjHw0y5h4GhEMzhRJRH6LOlNB3ywfSb9O6QZHiGbUur+98ktqhP378xHDTV eoKp/nrejwBfgLl9QhLWTTFawndtVYMEYJHTaJdnV+w8EmQIWa8w/Q== =00ED -----END PGP SIGNATURE----- -----------------------12de03c8c10dcbae0335b8c9cb57749c--