all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Roche <Tom_Roche@pobox.com>
To: help-gnu-emacs@gnu.org, cygwin@cygwin.com,
Subject: cygwin 1.7/emacs 23.1 time bug/workaround status?
Date: Mon, 28 Dec 2009 12:17:00 -0500 (EST)	[thread overview]
Message-ID: <20091228171700.CC4B1141D1C0D@cedar.isis.unc.edu> (raw)


summary: A cygwin-1.7/emacs-23.1 time bug and its workaround is known,
but is it being tracked?

details: 

Tom Roche Sun, 27 Dec 2009 21:51:58 -0500 (EST)
>> After updating cygwin [from 1.5.x] to 1.7.1-1, 

Which has been otherwise delightful!

>> which updated my emacs to 23.1, I now see

>> (current-time-string)
>> "Mon Dec 28 01:21:44 2009"
>> (current-time-zone)
>> (-3600 "GMT")

>> when bash says

>> $ date
>> Sun Dec 27 21:21:44 EST 2009

Eli Zaretskii Mon, 28 Dec 2009 06:09:32 +0200
> Try asking on the Cygwin list first.

Or first try googling better :-( This bug was noted 10 months ago:

http://www.cygwin.com/ml/cygwin/2009-02/msg00148.html
>>> I've built emacs 23 under both cygwin 1.5 and 1.7, and it runs
>>> fine for me except for a glitch involving time zones: Emacs gets
>>> the local time zone wrong by 4 hours. I've reported this to the
>>> emacs-devel list [1], and the developer who responded asked me to
>>> try to get some advice on this list. Here are two facts that might
>>> provide clues:

>>> 1. The problem disappears if I set the environment variable TZ
>>> before starting emacs.

E.g.

* in winxp System>Advanced>Environment Variables>System variables
  set TZ=

America/New_York

  This worked for me.

* in cygwin bash, `export TZ=America/New_York` (I haven't tested)

>>> 2. The problem disappears if I run emacs under gdb. [This, of
>>> course, makes debugging difficult.]

>>> I would appreciate any advice or hints as to how I (and the emacs
>>> developers) might track this down. Also, the developers would find
>>> it useful to have a description of how cygwin handles Windows time
>>> zones.

Is this bug currently being tracked by anyone? On the cygwin side, I
don't know where there is a queryable bug tracker. On the emacs side,
I don't see it in

http://debbugs.gnu.org/cgi/pkgreport.cgi?include=subject%3Acygwin;package=emacs

(which I believe is the Gnu Emacs bug tracker).

TIA, Tom Roche <Tom_Roche@pobox.com>


                 reply	other threads:[~2009-12-28 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=20091228171700.CC4B1141D1C0D@cedar.isis.unc.edu \
    --to=tom_roche@pobox.com \
    --cc=cygwin@cygwin.com \
    --cc=help-gnu-emacs@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.