From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicholas Strauss Newsgroups: gmane.emacs.bugs Subject: bug#20583: calendar-absolute-from-gregorian Date: Thu, 14 May 2015 21:20:21 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1431663680 9379 80.91.229.3 (15 May 2015 04:21:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2015 04:21:20 +0000 (UTC) Cc: gjs@ai.mit.edu To: 20583@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 15 06:21:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yt77V-0001pR-FA for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 06:21:09 +0200 Original-Received: from localhost ([::1]:57614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt77U-0007vC-Bj for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 00:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt77Q-0007v7-Tq for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yt77P-0004IG-W6 for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:21:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt77P-0004IA-SH for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yt77P-0007GI-K4 for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicholas Strauss Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2015 04:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20583 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143166363427866 (code B ref -1); Fri, 15 May 2015 04:21:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 May 2015 04:20:34 +0000 Original-Received: from localhost ([127.0.0.1]:45626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yt76v-0007FN-Em for submit@debbugs.gnu.org; Fri, 15 May 2015 00:20:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54202) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yt76t-0007FB-By for submit@debbugs.gnu.org; Fri, 15 May 2015 00:20:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yt76n-00047A-0f for submit@debbugs.gnu.org; Fri, 15 May 2015 00:20:25 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt76m-000474-U0 for submit@debbugs.gnu.org; Fri, 15 May 2015 00:20:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt76m-0007tr-3i for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:20:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yt76l-00046g-Co for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:20:24 -0400 Original-Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:34563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt76l-00046W-5a for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 00:20:23 -0400 Original-Received: by wicmc15 with SMTP id mc15so29656337wic.1 for ; Thu, 14 May 2015 21:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=lULuKy/+64hpjxpbQ/hACCrUjtpaWMAwNbVYiGU+t+k=; b=zCCK2vLbeslZjzJ++EHb6cACC41ruhfc3yYW1mE2opSvIT6ak/BiYokTCmqLUQBcyL ixKV/Q7nhXCLd5K4edplqrDC3afkqthUGY5XcODqADFhOg6/tiX1GZSauSbA+vpRXtqn PGbkLaeRB3gxIMt2WW6RbQocT5mD3xrnEVT3micfYivk+tvj7J+koj4a5yX4HLtj0EIF JhW2MY0P9X3T9xsWltKOLWclsRkMWKIvUMe56V3DxzEaqzNf44LbEFGpdBKUkg+befos LKatIiotqLCL4rLi9z5hN6GNNFLPRbuuC0YE+BUCD1vLoGsyvB0t5WWpfKKnrJRIO3xz P0sA== X-Received: by 10.180.96.196 with SMTP id du4mr54053292wib.77.1431663621930; Thu, 14 May 2015 21:20:21 -0700 (PDT) Original-Received: by 10.27.80.76 with HTTP; Thu, 14 May 2015 21:20:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102817 Archived-At: Hi Bug Emacs, Why does (calendar-absolute-from-gregorian '(10 10 1582)) return 577731? (calendar-generate '(10 1582)) is another example of this error. There are no Gregorian dates from 5 - 15 October 1582. Pope Gregory declared this. Hence, ALL absolute day numbers in calendar before 1582 are probably wrong. So using emacs for historical computations is bogus. I will work on writing calendar-absolute-from-gregorian and calendar-gregorian-from-absolute to patch this error. Let me know if this sounds OK. nick ncs@alum.mit.edu