From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Year 2038 problem with calendar (Bad holiday list items) Date: Mon, 16 Apr 2007 13:35:01 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176745149 18859 80.91.229.12 (16 Apr 2007 17:39:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2007 17:39:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 16 19:39:03 2007 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 1HdVAA-0002EA-79 for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2007 19:38:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdVEn-0003H6-6A for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2007 13:43:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdVDb-0002VN-2d for emacs-devel@gnu.org; Mon, 16 Apr 2007 13:42:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdVDa-0002UZ-DZ for emacs-devel@gnu.org; Mon, 16 Apr 2007 13:42:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdVDa-0002US-2V for emacs-devel@gnu.org; Mon, 16 Apr 2007 13:42:22 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HdV8w-0005Wu-8j for emacs-devel@gnu.org; Mon, 16 Apr 2007 13:37:34 -0400 Original-Received: from [127.0.0.1] (helo=localhost) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HdV6T-0004MD-Kj; Mon, 16 Apr 2007 13:35:01 -0400 X-Spook: e-bomb IMF Vince Foster bce clandestine codes broadside X-Ran: =lfgq"M[3(^)Dzgn&FavVKKmrCV<'rWr?JHT9$(CgL19!&n630"Zd~Pe)VzR|SQzI@neW? X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: 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:69502 Archived-At: Sascha Wilde wrote: > Bad holiday list item: (if (fboundp (quote atan)) > (holiday-chinese-new-year)) Bad holiday list item: (if (progn > (require (quote cal-dst)) t) (funcall (quote holiday-sexp) > calendar-daylight-savings-starts (quote (format Daylight Saving Time > Begins %s (if (fboundp (quote atan)) (solar-time-string (/ > calendar-daylight-savings-starts-time (float 60)) > calendar-standard-time-zone-name) ))))) Bad holiday list item: > (funcall (quote holiday-sexp) calendar-daylight-savings-ends (quote > (format Daylight Saving Time Ends %s (if (fboundp (quote atan)) > (solar-time-string (/ calendar-daylight-savings-ends-time (float > 60)) calendar-daylight-time-zone-name) )))) Works for me. What happens if you do: (setq calendar-dst-check-each-year-flag nil) What does your system clock say about DST transitions in 2038? What are the details of your Emacs version, OS, etc?