From: Matthias Weigand via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: "42921@debbugs.gnu.org" <42921@debbugs.gnu.org>
Subject: bug#42921: 27.1; Setting (setq system-time-locale “C”) in daemon ineffective
Date: Mon, 30 Nov 2020 07:59:11 +0000 [thread overview]
Message-ID: <L4eugB-3VTQHToJG9_D4tGY83QPn3-mUiwkkgT64FzAWgvgmVUtYNXj-UvGnlbaWjidIN5am1bm2Qq_iPmBx31-CeMCjRIk7l_J7kUMNZSo=@protonmail.com> (raw)
In-Reply-To: <87eely43no.fsf@gnus.org>
[-- Attachment #1.1: Type: text/plain, Size: 1677 bytes --]
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 setting the locale in your init.el/config.org would not be accepted when running in daemon as opposed to individually instanced sessions.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, October 16, 2020 5:00 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 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 not 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 environment
> variables?
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
</larsi@gnus.org>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
next prev parent reply other threads:[~2020-11-30 7:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 20:08 bug#42921: 27.1; Setting (setq system-time-locale “C”) in daemon ineffective Matthias Weigand via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-16 15:00 ` Lars Ingebrigtsen
2020-11-24 8:50 ` Lars Ingebrigtsen
2020-11-30 7:59 ` Matthias Weigand via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-11-30 10:26 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='L4eugB-3VTQHToJG9_D4tGY83QPn3-mUiwkkgT64FzAWgvgmVUtYNXj-UvGnlbaWjidIN5am1bm2Qq_iPmBx31-CeMCjRIk7l_J7kUMNZSo=@protonmail.com' \
--to=bug-gnu-emacs@gnu.org \
--cc=42921@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=matthias.weigand@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).