unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11807@debbugs.gnu.org
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	[thread overview]
Message-ID: <81sjdewjt9.fsf_-_@gmail.com> (raw)
In-Reply-To: <m2bok35txp.fsf@igel.home> (Andreas Schwab's message of "Thu, 28 Jun 2012 17:37:22 +0200")

Andreas Schwab <schwab@linux-m68k.org> writes:

> Jambunathan K <kjambunathan@gmail.com> 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?  





  reply	other threads:[~2012-06-29  9:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28  8:05 bug#11807: M-x display-time-world & EDT/DST Jambunathan K
2002-01-01  0:30 ` Jambunathan K
2012-06-28  8:54 ` Andreas Schwab
2012-06-28  9:02   ` Jambunathan K
2012-06-28  9:39     ` Andreas Schwab
2012-06-28 10:00       ` Jambunathan K
2012-06-28 10:34         ` Andreas Schwab
2012-06-28 10:50           ` Jambunathan K
2012-06-28 12:18             ` Andreas Schwab
2012-06-28 13:54               ` Jambunathan K
2012-06-28 14:38                 ` Andreas Schwab
2012-06-28 14:54                   ` Jambunathan K
2012-06-28 15:37                     ` Andreas Schwab
2012-06-29  9:26                       ` Jambunathan K [this message]
2012-06-29 10:31                         ` bug#11807: (Windows XP issue?) " Eli Zaretskii
2012-06-29 10:40                           ` Jambunathan K
2012-06-30  3:37                           ` Jason Rumney
2012-06-30  5:43                             ` Jambunathan K
2012-06-30  6:13                               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81sjdewjt9.fsf_-_@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=11807@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).