all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris McMahan <first_initiallastname@one.dot.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Timezone change in US
Date: Thu, 15 Mar 2007 18:37:44 +0400	[thread overview]
Message-ID: <uird27etj.fsf@one.dot.net> (raw)
In-Reply-To: mailman.936.1173898991.7795.help-gnu-emacs@gnu.org

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 <eliz@gnu.org> writes:

>> From: Chris McMahan <first_initiallastname@one.dot.net>
>> 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 | first_initiallastname@one.dot.net
  =================================================

  parent reply	other threads:[~2007-03-15 14:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 15:31 Timezone change in US Chris McMahan
2007-03-12 16:58 ` Maarten Bergvelt
2007-03-12 17:01   ` Chris McMahan
2007-03-12 21:58 ` Eli Zaretskii
     [not found] ` <mailman.851.1173736718.7795.help-gnu-emacs@gnu.org>
2007-03-13 13:28   ` Chris McMahan
2007-03-13 16:48     ` James Cloos
2007-03-13 21:12       ` Eli Zaretskii
2007-03-14 11:42         ` James Cloos
2007-03-14 18:52           ` Eli Zaretskii
     [not found]         ` <mailman.916.1173872744.7795.help-gnu-emacs@gnu.org>
2007-03-14 12:49           ` Chris McMahan
2007-03-14 13:22             ` Chris McMahan
2007-03-14 19:02               ` Eli Zaretskii
     [not found]               ` <mailman.936.1173898991.7795.help-gnu-emacs@gnu.org>
2007-03-15 14:37                 ` Chris McMahan [this message]
2007-03-15 20:10                   ` Eli Zaretskii
     [not found]                   ` <mailman.971.1173989456.7795.help-gnu-emacs@gnu.org>
2007-03-16 12:25                     ` Chris McMahan
2007-03-16 13:11                       ` Eli Zaretskii
2007-03-16 13:58                       ` Stefan Monnier
2007-03-14 18:58             ` Eli Zaretskii
2007-03-13 21:05     ` 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

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

  git send-email \
    --in-reply-to=uird27etj.fsf@one.dot.net \
    --to=first_initiallastname@one.dot.net \
    --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.