From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Timezone change in US Date: Thu, 15 Mar 2007 22:10:00 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1173989442 25420 80.91.229.12 (15 Mar 2007 20:10:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2007 20:10:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 15 21:10:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRwHM-00039Z-V0 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Mar 2007 21:10:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRwIO-0007v5-LS for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Mar 2007 15:11:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRwHm-0007Dm-2W for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 16:10:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRwHk-0007Au-AT for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 16:10:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRwHk-0007Ab-3q for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 15:10:52 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRwGh-0001jx-Bc for help-gnu-emacs@gnu.org; Thu, 15 Mar 2007 16:09:47 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-103-17.inter.net.il [80.230.103.17]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GHS12685 (AUTH halo1); Thu, 15 Mar 2007 22:09:34 +0200 (IST) In-reply-to: (message from Chris McMahan on Thu, 15 Mar 2007 18:37:44 +0400) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41996 Archived-At: > From: Chris McMahan > Date: Thu, 15 Mar 2007 18:37:44 +0400 > > 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'm not sure I understand the potential problems. Can you give an example of how starting Emacs from a Windows icon could cause trouble? > I've been using this system for roughly 12 years now, and have had no > real problems. I don't doubt the fact, I'm just saying that you were lucky. Cygwin and native Windows programs are incompatible, so much so that I don't see any reason to try to figure out what went wrong in this specific case. > 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. But we've already established that the Windows native versions of time functions don't grok this syntax of TZ. I posted here a URL where the Microsoft documentation clearly shows that. So I think it's no mystery anymore that the above value of TZ does not do what you expect: the runtime functions used by Emacs simply don't support such values of TZ. > There is something in > the emacs program itself that still assuming I'm in EST That something is the code that interprets the value of TZ: it cannot parse the `M3.2.0/2,M11.1.0/2' part, so it doesn't switch to EDT4. > even though > the TCSH shell and MS Windows (XP) put me in EDT. Your tcsh is a Cygwin program, so it uses the Cygwin implementation of the time routines, which do grok this syntax of TZ.