From: Ulrich Mueller <ulm@gentoo.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: The Emacs Calculator and calendar
Date: Mon, 8 Oct 2012 09:28:30 +0200 [thread overview]
Message-ID: <20594.32926.513095.185389@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <5072731C.8000408@cs.ucla.edu>
>>>>> On Sun, 07 Oct 2012, Paul Eggert wrote:
> +There is no ``year 0''; the day before
> +@samp{<Mon Jan 1, +1>} is @samp{<Sun Dec 31, -1>}. 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 <Mon Jan 1, +1>
(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
next prev parent reply other threads:[~2012-10-08 7:28 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-05 19:13 The Emacs Calculator and calendar Jay Belanger
2012-10-05 19:24 ` Paul Eggert
2012-10-05 20:51 ` Edward Reingold
2012-10-05 21:14 ` Pascal J. Bourguignon
2012-10-06 15:41 ` Richard Stallman
2012-10-06 22:07 ` Paul Eggert
2012-10-07 3:49 ` Richard Stallman
2012-10-07 6:22 ` Paul Eggert
2012-10-07 17:30 ` Richard Stallman
2012-10-07 18:23 ` Paul Eggert
2012-10-10 3:37 ` Richard Stallman
2012-10-07 6:36 ` Eli Zaretskii
2012-10-07 7:50 ` Paul Eggert
2012-10-07 8:45 ` Eli Zaretskii
2012-10-07 13:01 ` Juanma Barranquero
2012-10-07 14:08 ` Eli Zaretskii
2012-10-07 17:30 ` Richard Stallman
2012-10-07 17:57 ` Juanma Barranquero
2012-10-07 21:55 ` Sam Steingold
2012-10-08 13:39 ` Richard Stallman
2012-10-07 8:17 ` Stephen J. Turnbull
2012-10-07 7:56 ` Achim Gratz
2012-10-07 8:44 ` Eli Zaretskii
2012-10-07 13:57 ` Stefan Monnier
2012-10-07 20:32 ` Paul Eggert
2012-10-07 21:34 ` Tim Cross
2012-10-08 0:32 ` Stefan Monnier
2012-10-08 6:30 ` Paul Eggert
2012-10-08 7:28 ` Ulrich Mueller [this message]
2012-10-08 13:56 ` Stefan Monnier
2012-10-08 14:49 ` Jay Belanger
2012-10-08 8:21 ` James Cloos
2012-10-08 14:59 ` Jay Belanger
2012-10-13 6:02 ` Paul Eggert
2012-10-13 14:05 ` Jay Belanger
2012-10-08 13:39 ` Richard Stallman
2012-10-08 19:34 ` Paul Eggert
2012-10-08 22:39 ` Richard Stallman
2012-10-09 6:28 ` Paul Eggert
2012-10-09 15:47 ` Richard Stallman
2012-10-09 23:10 ` Paul Eggert
2012-10-10 2:22 ` Jay Belanger
2012-10-11 12:09 ` Jason Rumney
2012-10-12 1:52 ` Richard Stallman
2012-10-10 3:37 ` Richard Stallman
2012-10-10 21:42 ` Christoph Herzog
2012-10-05 21:17 ` Edward Reingold
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20594.32926.513095.185389@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).