From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: The Emacs Calculator and calendar Date: Mon, 8 Oct 2012 09:28:30 +0200 Message-ID: <20594.32926.513095.185389@a1i15.kph.uni-mainz.de> References: <87y5jk3f7d.fsf@gmail.com> <87626md8aj.fsf@Rainer.invalid> <83vcem6592.fsf@gnu.org> <5071E6E7.7080906@cs.ucla.edu> <5072731C.8000408@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349681328 23697 80.91.229.3 (8 Oct 2012 07:28:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 07:28:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 08 09:28:54 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TL7ll-0005FU-7q for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2012 09:28:53 +0200 Original-Received: from localhost ([::1]:38834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL7lf-0005Fn-85 for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2012 03:28:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL7ld-0005Ey-Av for emacs-devel@gnu.org; Mon, 08 Oct 2012 03:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL7lc-0007Xh-BZ for emacs-devel@gnu.org; Mon, 08 Oct 2012 03:28:45 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:54068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL7lc-0007XZ-2Y for emacs-devel@gnu.org; Mon, 08 Oct 2012 03:28:44 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q987SWAp024813; Mon, 8 Oct 2012 09:28:32 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q987SV29005956; Mon, 8 Oct 2012 09:28:31 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q987SUrL005954; Mon, 8 Oct 2012 09:28:30 +0200 In-Reply-To: <5072731C.8000408@cs.ucla.edu> X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.93.134.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154217 Archived-At: >>>>> On Sun, 07 Oct 2012, Paul Eggert wrote: > +There is no ``year 0''; the day before > +@samp{} is @samp{}. These are > +days 2 and 1 respectively in Calc's internal numbering scheme. If the goal is to make calc and calendar compatible, wouldn't it also make sense to shift the numbering of days, so that (Gregorian) will have day number 1? That is, use the same day counting as calendar does: (calendar-absolute-from-gregorian '(12 31 -1)) 0 (calendar-absolute-from-gregorian '(1 1 1)) 1 Ulrich