From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#11807: (Windows XP issue?) Re: bug#11807: M-x display-time-world & EDT/DST Date: Fri, 29 Jun 2012 14:56:10 +0530 Message-ID: <81sjdewjt9.fsf_-_@gmail.com> References: <81lij7lv4b.fsf@gmail.com> <814npvkdwo.fsf@gmail.com> <81k3yrn4cx.fsf@gmail.com> <81a9znn20v.fsf@gmail.com> <81pq8jbkzr.fsf@gmail.com> <81hatvbi7i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340962021 31039 80.91.229.3 (29 Jun 2012 09:27:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2012 09:27:01 +0000 (UTC) Cc: 11807@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 11:27:00 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SkXTe-0007KB-Sl for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 11:26:59 +0200 Original-Received: from localhost ([::1]:37948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkXTe-0007E6-NE for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 05:26:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkXTb-0007Cj-2F for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 05:26:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkXTR-00062h-T1 for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 05:26:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkXTR-00062d-MT for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 05:26:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SkXXZ-0006q0-TD for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jun 2012 09:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11807 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11807-submit@debbugs.gnu.org id=B11807.134096224926266 (code B ref 11807); Fri, 29 Jun 2012 09:31:01 +0000 Original-Received: (at 11807) by debbugs.gnu.org; 29 Jun 2012 09:30:49 +0000 Original-Received: from localhost ([127.0.0.1]:36371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkXXM-0006pZ-3U for submit@debbugs.gnu.org; Fri, 29 Jun 2012 05:30:49 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:33867) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkXXK-0006pR-Oh for 11807@debbugs.gnu.org; Fri, 29 Jun 2012 05:30:47 -0400 Original-Received: by pbcwy7 with SMTP id wy7so4125988pbc.3 for <11807@debbugs.gnu.org>; Fri, 29 Jun 2012 02:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=xtdJxh9QOcop9oZBfYWo+ooxysZelZZZ2+XvAG/ddpQ=; b=eWqURyQ7xQUCuuXSTU88VzpNhVCF5vlS7R0jIVqfv17fiSImcZRNO8xHl/Acl9MyJN IWB30kr5bxbvWkR9/LCoxsIgICTmCD8bW6NH6n9bxo2CREdiyYwHmRNWx5usGh83hL5p h961EjK+N5N1RHRhuU6qvzSgqEzwPoS/hnoUtpDoX6CZqkSFPEaykt/sZgnsGhTfTvNN Guvb5dG/AYxo2hSnhVmlH2+BdmIESPtMe1oiihTm/GqLx1IWhGmjwAiusZz3qPVE7oPu 9FxX80X7Cdsuaq3LQUf3gQjiXaI5i86eduZOdwVIZ5T6+1u5dsyUbhPFyjlodgE3Nsjz 6Y0w== Original-Received: by 10.66.75.201 with SMTP id e9mr251533paw.54.1340961989173; Fri, 29 Jun 2012 02:26:29 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.241.244.199]) by mx.google.com with ESMTPS id ph1sm4919526pbb.45.2012.06.29.02.26.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jun 2012 02:26:28 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Thu, 28 Jun 2012 17:37:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:61402 Archived-At: Andreas Schwab writes: > Jambunathan K writes: > >>> What about (progn (setenv "TZ" "CET-1CEST") (calendar-dst-find-data))? >> >> (60 0 "CES" "CES" nil nil 0 0) > > That's your problem. You have a faulty timezone implementation. Let me replay the same questions and collect data from your system. What do the below forms report for you. I assume the TZ works right on your system. (format-time-string "%H:%M" nil t) (progn (require 'cal-dst) (calendar-dst-find-data)) (progn (setenv "TZ" "CET-1CEST") (calendar-dst-find-data)) With my machine re-configured to use a remote timezone (as below) ,---- (Windows XP/Cygwin) Control Panel->"Date and Time" | | (GMT-5:00) Eastern Time (US and Canada) and | Automatically adjust clock for daylight saving changes turned ON | | I also have my "Internet Time" automatically synchronize with | time.windows.com time server. `---- I see that the correct remote time is reported. It is difficult to digest an argument that a widely used enterprise system such as Windows XP has an obviously buggy implementation. It is quite possible that Emacs is using the platform APIs in wrong manner. What library call (dll library) that Emacs uses to fetch time info?