From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: The Emacs Calculator and calendar Date: Sun, 07 Oct 2012 20:32:36 -0400 Message-ID: References: <87y5jk3f7d.fsf@gmail.com> <87626md8aj.fsf@Rainer.invalid> <83vcem6592.fsf@gnu.org> <5071E6E7.7080906@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349656364 19615 80.91.229.3 (8 Oct 2012 00:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 00:32:44 +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 02:32:50 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 1TL1H5-0000TN-Qv for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2012 02:32:47 +0200 Original-Received: from localhost ([::1]:54306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL1Gz-00060H-Cm for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 20:32:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL1Gw-00060A-KD for emacs-devel@gnu.org; Sun, 07 Oct 2012 20:32:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL1Gv-00035X-LO for emacs-devel@gnu.org; Sun, 07 Oct 2012 20:32:38 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL1Gv-00035T-HV for emacs-devel@gnu.org; Sun, 07 Oct 2012 20:32:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLQG/2dsb2JhbABEDrQDgQiCFQEBBAFWIxALNBIUGA0kiBwFugmQRAOjM4FYgjBV X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200850122" Original-Received: from 69-196-180-6.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2012 20:32:36 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5FE03AE2FA; Sun, 7 Oct 2012 20:32:36 -0400 (EDT) In-Reply-To: <5071E6E7.7080906@cs.ucla.edu> (Paul Eggert's message of "Sun, 07 Oct 2012 13:32:39 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154211 Archived-At: >> To the extent possible, Emacs could let the user specify the calendar >> indirectly by instead specifying a "context" (a place, plus whatever >> else is needed to resolve ambiguities), and then let Emacs figure out >> which calendar was used at that time in that context. > Yes, for example Emacs could examine (say) the TZ variable > plus optional extra info. No, I really mean that the *user* should provide the info, not some circumstantial evidence. And I said "could", not "should". So it was really meant "if someone really wants to provide some way to get the date according to the traditions of a particular place, then it's OK, but only if that's done by querying the user about which place to use (or combination of place and whatever else is needed to disambiguate the request)". So for now, Emacs should use the same default calendar for Calc, Calendar, and whatever else uses dates; and it should be the Gregorian calendar regardless of the requested date. Stefan