From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Slade Newsgroups: gmane.emacs.devel Subject: Re: new calendrical calculations - elisp - common lisp Date: Mon, 13 Jun 2011 12:00:36 -0500 Message-ID: References: <4DF64086.20802@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec547c627e16b6504a59adc60 X-Trace: dough.gmane.org 1307984492 26071 80.91.229.12 (13 Jun 2011 17:01:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 17:01:32 +0000 (UTC) Cc: emacs-devel To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 19:01:24 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWAVr-0000GS-Hh for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2011 19:01:19 +0200 Original-Received: from localhost ([::1]:54351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWAVq-0007Va-BS for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2011 13:01:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWAVW-0007V0-Vf for emacs-devel@gnu.org; Mon, 13 Jun 2011 13:01:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWAVV-0005TX-Jp for emacs-devel@gnu.org; Mon, 13 Jun 2011 13:00:58 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:63403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWAVV-0005TS-CK for emacs-devel@gnu.org; Mon, 13 Jun 2011 13:00:57 -0400 Original-Received: by vws4 with SMTP id 4so4944688vws.0 for ; Mon, 13 Jun 2011 10:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=sFBikxdOvWx/KlefLEt9Nc9VnvFy4e/2BA+aCJc7wQM=; b=EF6f7Mmq2aAIPZ24uYHra7I0THiqxOZB/QbVV27V4NPpFA3+SWxma21/ym1B4WVuiT UxtQauKJOyUEWPdG10QQ6IZ8AihHNfBF2oKHe+tqjhbJ6fKTX0Uu5fB4EkiLkuunnmj/ X2Y3DNUNYbaiUY7Vj94udCi4bTFZCcuUHL/KA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=xCnL7HnLPUbar4AKSsYKQMcVmq+2i9qvxSAvtb2Oq4oZo8dsZFsSD8To3yfovCRmew WWsBkiRRvuUTUP8DFxbvg47d6eDehpvJ6AGA3zDQaf1AIZ9MQaU/Oe3h7k//CG71PF36 7ieGFsoTB/ia8/8YfNbFFerdcUUEeDjTlqY64= Original-Received: by 10.52.115.229 with SMTP id jr5mr1862757vdb.145.1307984456149; Mon, 13 Jun 2011 10:00:56 -0700 (PDT) Original-Received: by 10.220.202.129 with HTTP; Mon, 13 Jun 2011 10:00:36 -0700 (PDT) In-Reply-To: <4DF64086.20802@cs.ucla.edu> X-Google-Sender-Auth: px28FpHU5M8UT8GhrFNtBlTGrOE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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:140419 Archived-At: --bcaec547c627e16b6504a59adc60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Paul. I wrote to Ed Reingold a few days ago asking him about this issue, but I haven't heard back from him. A general question: do you have any sense for whether these sorts of calculations could be handled by Emacs Lisp, or whether they require Common Lisp? I would be interested in coding this up from scratch in the event that the Deshow/Reingold functions can't be incorporated directly, though given my very rudimentary understanding of Lisp (both Emacs and Common), I imagine this would take some time (#damnitjimimalinguistnotalispcoder). cheers, --Ben On 13 June 2011 11:53, Paul Eggert wrote: > On 06/13/11 09:40, Benjamin Slade wrote: > > I found a very nice set of functions for doing so implemented in Common > Lisp > > in *Deshow, Nachum and Reingold, Edward M. 2008. _Calendrical > Calculations_. > > New York: Cambridge University Press, 3rd edn*. I was wondering if this > > perhaps has already been implemented (given that Reingold developed the > > original calendar calculations for Emacs). > > I expect the answer is that it hasn't been. And we can't simply > incorporate > the copyrighted code from the book into Emacs without having copyright > permission > from the authors. However, if you could code the ideas up from scratch, > without > copying the book's code, that would be a nice addition to Emacs. Another > possibility > is that you could contact Ed Reingold and ask him whether he'd be willing > to > donate the code; perhaps if enough people ask, he'll change his mind. > --=20 ---------------------------------------------------------------------------= -------------------------- Benjamin Slade Dept. of Linguistics University of Illinois at Urbana-Champaign [ http://www.jnanam.net/slade/ ] St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraef= t.blogspot.com The Babbage Files (techblog) - http://babbagefiles.blogspot.com ---------------------------------------------------------------------------= -------------------------- *=E0=A4=AA*=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4=B7=E0=A5= =91=E0=A4=95=E0=A4=BE*=E0=A4=AE=E0=A4=BE* =E0=A4=B9=E0=A4=BF *=E0=A4=A6=E0= =A5=87*=E0=A4=B5=E0=A4=BE=E0=A4=83 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81ma=E1=B9=87a 6.1.1.= 2) --bcaec547c627e16b6504a59adc60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Paul. I wrote to Ed Reingold a few days ago asking him about this i= ssue, but I haven't heard back from him.

A general question: do = you have any sense for whether these sorts of calculations could be handled= by Emacs Lisp, or whether they require Common Lisp?

I would be interested in coding this up from scratch in the event that = the Deshow/Reingold functions can't be incorporated directly, though gi= ven my very rudimentary understanding of Lisp (both Emacs and Common), I im= agine this would take some time (#damnitjimimalinguistnotalispcoder).

cheers,
=C2=A0 --Ben

On 13 June 20= 11 11:53, Paul Eggert <eggert@cs.ucla.edu> wrote:
On 06/13/11 09:40, Benjamin Slade wrote:
> I found a very nice set of functions for doing so implemented in Commo= n Lisp
> in *Deshow, Nachum and Reingold, Edward M. 2008. _Calendrical Calculat= ions_.
> New York: Cambridge University Press, 3rd edn*. I was wondering if thi= s
> perhaps has already been implemented (given that Reingold developed th= e
> original calendar calculations for Emacs).

I expect the answer is that it hasn't been. =C2=A0And we can'= t simply incorporate
the copyrighted code from the book into Emacs without having copyright perm= ission
from the authors. =C2=A0However, if you could code the ideas up from scratc= h, without
copying the book's code, that would be a nice addition to Emacs. =C2=A0= Another possibility
is that you could contact Ed Reingold and ask him whether he'd be willi= ng to
donate the code; perhaps if enough people ask, he'll change his mind.



--
-----------------------= ---------------------------------------------------------------------------= ---
Benjamin Slade
Dept. of Linguistics
University of Illinois at Urbana-Champaign=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
[ http://www.jna= nam.net/slade/ ]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
=C2=A0=C2=A0
St=C3=A6fcr=C3=A6ft & Vy=C4=81kara=E1=B9=87a (lingblog) - http://staefcraeft.blogsp= ot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com

---------------------------------------------------------------------------= --------------------------
=C2=A0 =E0=A4=AA=E0=A4=B0=E0=A5=8B =E0=A4=BD=E0=A4=95=E0=A5=8D=E0=A4= =B7=E0=A5=91=E0=A4=95=E0=A4=BE=E0=A4=AE=E0=A4=BE =E0=A4=B9=E0=A4=BF = =E0=A4=A6=E0=A5=87=E0=A4=B5=E0=A4=BE=E0=A4=83
=C2=A0 =C2=A0 'The gods love the obscure.' (=C5=9Aatapathabr=C4=81m= a=E1=B9=87a 6.1.1.2)
--bcaec547c627e16b6504a59adc60--