bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11807: (Windows XP issue?) Re: bug#11807: M-x display-time-world & E


From: Jambunathan K
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]