From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87280 Path: news.gmane.org!.POSTED!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus in Emacs 25 changes language for format-time-string Date: Fri, 30 Sep 2016 18:17:22 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475227111 29381 195.159.176.226 (30 Sep 2016 09:18:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 09:18:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (i686-pc-cygwin) To: ding@gnus.org Original-X-From: ding-owner+M35500@lists.math.uh.edu Fri Sep 30 11:18:26 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bptxQ-0005fW-D1 for ding-account@gmane.org; Fri, 30 Sep 2016 11:18:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86_2) (envelope-from ) id 1bptwn-0007I9-HW; Fri, 30 Sep 2016 04:17:37 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bptwk-0007HS-Pn for ding@lists.math.uh.edu; Fri, 30 Sep 2016 04:17:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_2) (envelope-from ) id 1bptwj-00062v-SU for ding@lists.math.uh.edu; Fri, 30 Sep 2016 04:17:34 -0500 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1bptwi-0000jD-Ck for ding@gnus.org; Fri, 30 Sep 2016 11:17:32 +0200 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bptwZ-000JBo-OD for ding@gnus.org; Fri, 30 Sep 2016 04:17:24 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:ZMWz9KqdrJq1YKbn/9LOJBmkPBo= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87280 Archived-At: 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=3Dja_JP.UTF-8 $ emacs -batch -Q -eval '(message (format-time-string "%a"))' =3D> =E9=87=91 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=3DC LC_CTYPE=3D"ja_JP.UTF-8" LC_NUMERIC=3D"C" LC_TIME=3D"C" LC_COLLATE=3D"C" LC_MONETARY=3D"C" LC_MESSAGES=3D"C" LC_ALL=3D Regards,