From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9794: 24.0.90; `format-time-string' no good for %Z Date: Tue, 18 Oct 2011 23:44:15 -0700 Message-ID: <68A313A7DDAA4912A255DAFE495606F9@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319006712 18140 80.91.229.12 (19 Oct 2011 06:45:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 06:45:12 +0000 (UTC) To: 9794@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 08:45:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGPtk-0005W6-9J for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 08:45:08 +0200 Original-Received: from localhost ([::1]:45622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPtj-0006Mk-81 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 02:45:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPtg-0006LT-7l for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:45:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGPtf-0005cs-20 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:45:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPte-0005ch-VX for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGPud-0005xM-39 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 06:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.131900673722859 (code B ref -1); Wed, 19 Oct 2011 06:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2011 06:45:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGPuB-0005wc-AF for submit@debbugs.gnu.org; Wed, 19 Oct 2011 02:45:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGPu6-0005wO-LJ for submit@debbugs.gnu.org; Wed, 19 Oct 2011 02:45:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGPt0-0005Xy-Tv for submit@debbugs.gnu.org; Wed, 19 Oct 2011 02:44:24 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:60300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPt0-0005Xt-NR for submit@debbugs.gnu.org; Wed, 19 Oct 2011 02:44:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPsy-0006KV-QP for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:44:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGPsx-0005XM-2N for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:44:20 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:34287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGPsw-0005XB-Rb for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 02:44:18 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9J6iF41016597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Oct 2011 06:44:17 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p9J6aETZ019706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 19 Oct 2011 06:36:15 GMT Original-Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p9J6i93v021862 for ; Wed, 19 Oct 2011 01:44:10 -0500 Original-Received: from dradamslap1 (/10.159.62.115) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 18 Oct 2011 23:44:09 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcyOKoR2rozwKyJrQyK+4CSzdH0BDw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090206.4E9E71C1.00F5,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 02:46:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52831 Archived-At: emacs -Q M-: (format-time-string "Started: %a %b %e %T %Y (%Z)" (current-time)) For me that produces this: "Started: Tue Oct 18 23:40:28 2011 ()" The %Z doesn't work at all. This is a regression that started in Emacs 22. In Emacs 20 and 21 (emacs -Q) it works correctly, displaying this: "Started: Tue Oct 18 23:40:28 2011 (Pacific Daylight Time)" If Emacs 20 can pick up the name Pacific Daylight Time correctly, from wherever it gets it, then so should Emacs 24 be able to do so. No user config (e.g. setting env vars) should be necessary. (That doesn't preclude user config - the point is that even without it %Z should DTRT.) In GNU Emacs 24.0.90.1 (i386-mingw-nt5.1.2600) of 2011-10-18 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.6) --no-opt --cflags -I"C:/Program Files (x86)/GnuWin32/include" -ID:/devel/emacs/libXpm-3.5.8/include -ID:/devel/emacs/libXpm-3.5.8/src -ID:/devel/emacs/gnutls-2.10.5-x86/include --ldflags -LD:/devel/emacs/gnutls-2.10.5-x86/lib' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t