From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: TZ ignored by (display-time) Date: Fri, 14 Mar 2008 23:54:44 +0000 Message-ID: <47DB1044.5050803@gnu.org> References: <47DAB165.9090300@f2s.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205538927 6931 80.91.229.12 (14 Mar 2008 23:55:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 23:55:27 +0000 (UTC) Cc: "emacs-pretest-bug@gnu.org" To: 14-done@emacsbugs.donarmstrong.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 15 00:55:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JaJkV-0006Ll-65 for ged-emacs-devel@m.gmane.org; Sat, 15 Mar 2008 00:55:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaJjv-0006u7-TF for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 19:55:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaJjq-0006ss-KM for emacs-devel@gnu.org; Fri, 14 Mar 2008 19:55:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaJjm-0006qt-Iu for emacs-devel@gnu.org; Fri, 14 Mar 2008 19:55:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaJjm-0006qq-Bn for emacs-devel@gnu.org; Fri, 14 Mar 2008 19:54:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaJjm-0000s0-1V for emacs-devel@gnu.org; Fri, 14 Mar 2008 19:54:58 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JaJjl-0005cl-OA for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 19:54:57 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JaJji-0000ps-MX for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 19:54:57 -0400 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaJji-0000p6-DR for emacs-pretest-bug@gnu.org; Fri, 14 Mar 2008 19:54:54 -0400 Original-X-Trace: 28750439/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQBAPas2kdTQxds/2dsb2JhbAAIqWA X-IronPort-AV: E=McAfee;i="5200,2160,5252"; a="28750439" X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [192.168.249.28]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Mar 2008 23:54:52 +0000 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <47DAB165.9090300@f2s.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92633 gmane.emacs.pretest.bugs:21584 Archived-At: Jason Rumney wrote: > According to the documentation for set-time-zone-rule, it should set > the timezone back to the local timezone when the argument is nil. But > it doesn't seem to take note of the TZ environment variable when it > does this. I've now changed the trunk so that the initial value of TZ is saved so it can be restored in the above case.