From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; on Windows, M-x display-time-world shows the same, incorrect, time for all cities Date: Tue, 30 Oct 2007 22:01:01 +0000 Message-ID: <4727A99D.80302@gnu.org> References: <878x6165pn.fsf@offby1.atm01.sea.blarg.net> <47169ECD.8090401@gnu.org> <471A6B16.8060406@gnu.org> <47234687.3050500@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193784104 29328 80.91.229.12 (30 Oct 2007 22:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 22:41:44 +0000 (UTC) Cc: offby1@blarg.net, emacs-pretest-bug@gnu.org, apple@kanis.eu To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 23:41:45 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImzmF-0003A3-3e for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 23:41:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imzm5-0005xs-HK for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 18:41:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Imzkd-0005Ca-R6 for emacs-devel@gnu.org; Tue, 30 Oct 2007 18:39:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Imzkc-0005CE-E4 for emacs-devel@gnu.org; Tue, 30 Oct 2007 18:39:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imzkc-0005C4-13 for emacs-devel@gnu.org; Tue, 30 Oct 2007 18:39:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Imzkb-00083D-Ou for emacs-devel@gnu.org; Tue, 30 Oct 2007 18:39:57 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Imzkb-0003ug-GY for emacs-pretest-bug@gnu.org; Tue, 30 Oct 2007 18:39:57 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Imz9B-0000kg-CI for emacs-pretest-bug@gnu.org; Tue, 30 Oct 2007 18:01:20 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Imz91-0000fY-UT; Tue, 30 Oct 2007 18:01:08 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 829FA50385; Tue, 30 Oct 2007 22:01:06 +0000 (GMT) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82173 gmane.emacs.pretest.bugs:20211 Archived-At: Eli Zaretskii wrote: >> Date: Sat, 27 Oct 2007 15:09:11 +0100 >> From: Jason Rumney >> >> Also, I think enabling the zoneinfo style names only on GNU/Linux and MS >> DOS is too conservative. > It strikes me that the best would be to test the support at run time, > and do TRT accordingly. If someone knows how to test this, maybe such > a test should be part of `set-time-zone-rule', and then > `display-time-world' could use it. > I added such a test to the initialization of display-time-world-list; comparing the results of setting the timezone to "America/New York" and "Europe/London". If these both give the same result, then we know that zoneinfo style is not supported.