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 18:17:22 +0900	[thread overview]
Message-ID: <b4mlgy9wxul.fsf@jpl.org> (raw)
In-Reply-To: <m1intdj16m.fsf@nobis-it.eu>

On Fri, 30 Sep 2016 09:29:05 +0200, Stefan Nobis wrote:
> But this hint really helped. I now use

> (set-locale-environment "en_US.UTF-8")

> in my init and this seems to fix my problem. Now I get english day
> names everywhere. Thank you very much for your help!

You are welcome.  After your reply I learned that the nil value
for `system-time-locale' will be overridden by the value of
the LC_TIME environment variable.  For example:

$ export LC_TIME=ja_JP.UTF-8
$ emacs -batch -Q -eval '(message (format-time-string "%a"))'
 => 金

So, what you should do might be to set LC_TIME to C in the shell.
Here is the locale command output in my system:

$ locale
LANG=C
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

Regards,



      reply	other threads:[~2016-09-30  9:17 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
2016-09-30  7:29   ` Stefan Nobis
2016-09-30  9:17     ` Katsumi Yamaoka [this message]

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=b4mlgy9wxul.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).