From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Roche Newsgroups: gmane.emacs.help Subject: emacs time, timezone don't match system after upgrade Date: Sun, 27 Dec 2009 21:51:58 -0500 (EST) Message-ID: <20091228025158.7FDF8141D1C0D@cedar.isis.unc.edu> Reply-To: help-gnu-emacs@gnu.org, Tom Roche NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1261968847 8250 80.91.229.12 (28 Dec 2009 02:54:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2009 02:54:07 +0000 (UTC) To: help-gnu-emacs@gnu.org, Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 28 03:53:59 2009 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 1NP5k7-0003xP-1g for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Dec 2009 03:53:59 +0100 Original-Received: from localhost ([127.0.0.1]:45385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP5k2-0001mR-L0 for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Dec 2009 21:53:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP5jk-0001m4-Cf for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 21:53:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP5jg-0001lc-PF for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 21:53:36 -0500 Original-Received: from [199.232.76.173] (port=60128 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP5jg-0001lZ-LM for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 21:53:32 -0500 Original-Received: from cedar.isis.unc.edu ([152.2.3.72]:2666) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NP5jg-00047Q-Bj for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 21:53:32 -0500 Original-Received: by cedar.isis.unc.edu (Postfix, from userid 155088) id 7FDF8141D1C0D; Sun, 27 Dec 2009 21:51:58 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:70898 Archived-At: summary: After updating cygwin to 1.7.1-1, 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 How to fix? details: I've been running emacs on cygwin for a long time, until yesterday (27 Dec 09) emacs=22.3 on cygwin=1.5.25 (both on winxp sp3). Today I updated my cygwin to the new cygwin 1.7.1, which delightfully updated my emacs to GNU Emacs 23.1.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2009-07-30 on laptop Mostly this "just works," with no changes required to my all-too-huge .emacs. However today I'm noticing that the time in my emacs mode line is now 4 hours ahead of my system time. (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 The latter matches my system time (which is backed by NTP, and matches that of other nearby boxes into which I can shell) and timezone. Note also that neither $TZ (in cygwin) or %TZ% (in winxp) are set. How can I make my emacs time and timezone match my system? Feel free to reply directly to me as well as to the list. TIA, Tom Roche