all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Year 2038 problem with calendar (Bad holiday list items)
Date: Tue, 17 Apr 2007 10:45:25 +0200	[thread overview]
Message-ID: <m2odlns82i.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <mairbw2jqp.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon\, 16 Apr 2007 15\:37\:50 -0400")

Glenn Morris <rgm@gnu.org> 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 <erik@naggum.net> in comp.lang.lisp

      parent reply	other threads:[~2007-04-17  8:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16  8:07 Year 2038 problem with calendar (Bad holiday list items) Sascha Wilde
2007-04-16  8:16 ` Ed Reingold
2007-04-16 14:40   ` Sascha Wilde
2007-04-16  8:23 ` Nick Roberts
2007-04-16  8:44 ` Andreas Schwab
2007-04-16 13:26   ` Ed Reingold
2007-04-16 17:35 ` Glenn Morris
2007-04-16 19:37   ` Glenn Morris
     [not found]     ` <200704162012.l3GKClK9012725@emr.cs.iit.edu>
2007-04-16 22:37       ` Glenn Morris
     [not found]         ` <200704162244.l3GMiVZg013373@emr.cs.iit.edu>
2007-04-16 23:03           ` Glenn Morris
2007-04-17  2:37         ` Glenn Morris
2007-04-17  8:45     ` Sascha Wilde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2odlns82i.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.