From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9794: 24.0.90; `format-time-string' no good for %Z Date: Wed, 19 Oct 2011 17:26:45 +0200 Message-ID: <83sjmpt32i.fsf@gnu.org> References: <68A313A7DDAA4912A255DAFE495606F9@us.oracle.com> <24FDB65B0E784E978085D30A7CBF9FAF@us.oracle.com> <8362jlv0rq.fsf@gnu.org> <87fwipgltl.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1319038033 17873 80.91.229.12 (19 Oct 2011 15:27:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 15:27:13 +0000 (UTC) Cc: 9794@debbugs.gnu.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 17:27:09 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 1RGY2u-00029M-0y for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 17:27:08 +0200 Original-Received: from localhost ([::1]:57373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGY2s-0007cD-GD for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 11:27:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGY2m-0007ax-Np for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 11:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGY2l-0004ZZ-Fn for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 11:27:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGY2l-0004ZP-E8 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 11:26:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGY3m-0004DM-7I for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 11:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9794 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 9794-submit@debbugs.gnu.org id=B9794.131903807816191 (code B ref 9794); Wed, 19 Oct 2011 15:28:02 +0000 Original-Received: (at 9794) by debbugs.gnu.org; 19 Oct 2011 15:27:58 +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 1RGY3i-0004D6-90 for submit@debbugs.gnu.org; Wed, 19 Oct 2011 11:27:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGY3e-0004Cp-4I for 9794@debbugs.gnu.org; Wed, 19 Oct 2011 11:27:57 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LTB00200K37RG00@a-mtaout22.012.net.il> for 9794@debbugs.gnu.org; Wed, 19 Oct 2011 17:26:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTB002MOK8JNZ40@a-mtaout22.012.net.il>; Wed, 19 Oct 2011 17:26:44 +0200 (IST) In-reply-to: <87fwipgltl.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 11:28:02 -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:52859 Archived-At: > From: Jason Rumney > Cc: Drew Adams , 9794@debbugs.gnu.org > Date: Wed, 19 Oct 2011 21:20:06 +0800 > > Eli Zaretskii writes: > > > No, it's because a _Windows_ developer found out that the Windows > > time-zone names violate international standards for what %Z should > > produce, which breaks other Emacs features that use the results. > > The international standards alone aren't a problem - GNU software in > general does not follow standards slavishly. The real problem is that > for many uses of time format strings (which correctly check for an empty > %Z string and use %z as a backup), in mail, news, HTTP headers, XML > documents and similar uses which rely on the strings being standards > compliant, the non-compliant long forms returned by Windows tzname() > cause real problems which are much more severe than the inconveniences > that this change has caused. Isn't that what I said: that _using_ the non-standard results of %Z caused trouble to other Emacs features? > One proposal in that thread was to introduce a new format specifier to > print the long names (on non-Windows platforms it could output the > commonly used "Continent/City" format). Another proposal was that %EZ > could be used, which is especially fitting, for the Windows timezone > names, which are apparently locale sensitive (which was one of the > reported problems that led to them being removed in the first place). Are there any problems to produce localized (i.e. non-ASCII) timezone names in strftime? Don't Posix systems do that in some locales?