Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Gnus in Emacs 25 changes language for format-time-string
Date: Fri, 30 Sep 2016 09:19:02 +0900	[thread overview]
Message-ID: <b4mponmxmrt.fsf@jpl.org> (raw)
In-Reply-To: <m1lgybrl9d.fsf@nobis-it.eu>

On Thu, 29 Sep 2016 13:35:58 +0200, Stefan Nobis wrote:
> Recently I switched from Emacs 24 to Emacs 25.1 with Gnus v5.13
> (running on a german MacOS 10.11.6; compiled via Homebrew). I found a
> strange change in behaviour that seems to be caused by Gnus.

> Before the update the call (format-time-string "%a") gives me english
> abbreviated day names - as I set my Emacs environment to english
> (terminal LANG is en_US.UTF-8 and my Emacs init.el contains the call
> (set-language-environment "English")).

> After the update to Emacs 25, I still get the english day names
> straight after starting Emacs (either with full config or with "emacs
> -Q").

I can't think Gnus does do it.  But the value of the variable
`system-time-locale' gets changed to that of German, doesn't it?
If so, though I don't know what causes it, this would help:

(setq system-time-locale nil)

The value may be "C" or "en_US.UTF-8", etc. instead of nil.
If the `system-messages-locale' variable is changed also to what
is not your taste, you can set both of them by:

(set-locale-environment "C") ;; or "en_US.UTF-8", etc.

Regards,



  reply	other threads:[~2016-09-30  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 11:35 Stefan Nobis
2016-09-30  0:19 ` Katsumi Yamaoka [this message]
2016-09-30  7:29   ` Stefan Nobis
2016-09-30  9:17     ` Katsumi Yamaoka

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mponmxmrt.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).