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

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

Re: Timezone change in US


From: Chris McMahan
Subject: Re: Timezone change in US
Date: Thu, 15 Mar 2007 18:37:44 +0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (windows-nt)

I use cygwin to launch emacs so I can manipulate my environment
settings and such within the tcsh shell, rather than my windows
environment. This minimizes the potential collisions in application
names and paths between my unix programs and my windows programs (some
of which use unix program names for basic management).

I've been using this system for roughly 12 years now, and have had no
real problems.

As far as the TZ environment variable inside emacs, it is showing as
  TZ=EST5EDT4,M3.2.0/2,M11.1.0/2 
Which is correct for the new time zone rules. There is something in
the emacs program itself that still assuming I'm in EST, even though
the TCSH shell and MS Windows (XP) put me in EDT.

I would concur with your conclusion that Cygwin is the issue, except
that both Cygwin and Windows show the right time, while emacs does
not. This is leading me to believe that there's something in the
emacs code that is not behaving correctly. It seems to be an issue
with the current-time command in the C source code, but I've not been
able to track down the exact problem yet.

Thanks everyone for all of the help so far!!! It's not the most
significant issue, but finding the solution is half the fun for me! :)

- Chris

Eli Zaretskii <address@hidden> writes:

>> From: Chris McMahan <address@hidden>
>> Date: Wed, 14 Mar 2007 08:22:02 -0500
>> 
>> It seems that the time zone rules are still being hardcoded
>> incorrectly somewhere within my Cygwin environment (yes I've updated
>> my Cygwin packages :). I'm working on tracking that down.
>
> Ah, Cygwin... you should have told that right away (and I should have
> asked).  Cygwin and native Windows programs are subtly incompatible;
> mixing them is asking for trouble.  I'm not at all surprised that the
> time-zone issue handling in Cygwin and in native Windows programs is
> different: they use different runtime libraries.
>
> Anyway, why do you need to invoke Emacs from tcsh?  Emacs's usage
> pattern is to start a session when your machine is powered up, and
> then never to leave that session.  So I suggest to invoke Emacs from a
> desktop icon, which will solve this problem as a nice side effect.
>
>

-- 
     (.   .)
  =ooO=(_)=Ooo=====================================
  Chris McMahan | address@hidden
  =================================================


reply via email to

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