From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Year 2038 problem with calendar (Bad holiday list items) Date: Tue, 17 Apr 2007 10:45:25 +0200 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 1176799557 30393 80.91.229.12 (17 Apr 2007 08:45:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2007 08:45:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 17 10:45:51 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 1HdjJo-0003RA-AY for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2007 10:45:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdjOV-0001iU-KH for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2007 04:50:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdjOO-0001gW-8S for emacs-devel@gnu.org; Tue, 17 Apr 2007 04:50:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdjOM-0001fj-9N for emacs-devel@gnu.org; Tue, 17 Apr 2007 04:50:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdjOM-0001fe-2Q for emacs-devel@gnu.org; Tue, 17 Apr 2007 04:50:26 -0400 Original-Received: from ns.km1136.keymachine.de ([62.141.58.119] helo=km1136.keymachine.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HdjJc-0001Qx-Lj; Tue, 17 Apr 2007 04:45:33 -0400 Original-Received: from kenny.sha-bang.de (xdsldb026.osnanet.de [89.166.155.26]) (authenticated bits=0) by km1136.keymachine.de (8.12.11.20060308/8.12.10) with ESMTP id l3H8jQq2010710; Tue, 17 Apr 2007 10:45:27 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1HdjJV-000740-NG; Tue, 17 Apr 2007 10:45:25 +0200 In-Reply-To: (Glenn Morris's message of "Mon\, 16 Apr 2007 15\:37\:50 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:69517 Archived-At: Glenn Morris wrote: > OK, now I can reproduce it on a 32-bit system. As has been said, it's > because things like: > > (encode-time 1 0 0 1 1 2039) > > fail on such systems ("specified time is not representable"). So it's the classical y2038 problem. :-) (Which seems to be implicitly solved on 64bit systems, which is a good thing to know...) >> (setq calendar-dst-check-each-year-flag nil) > > This does avoid the problem for me. Yes, works for me to. However, the list is still much shorter than that posted by Ed, I wonder why... > I will see if this can be handled more gracefully, but I see no need > for this to be changed before the release of Emacs 22. Assuming, as > Nick says, that this happens in the next 30 years... I agree, this is a minor issue. cheers sascha -- Sascha Wilde "Structure is _nothing_ if it is all you got. Skeletons _spook_ people if thwy try to walk around on their own. I really wonder why XML does not." -- Erik Naggum in comp.lang.lisp