From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.devel Subject: Minor calendar-make-alist fix Date: Mon, 11 Aug 2003 22:53:07 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87adafh6qk.fsf@wesley.springies.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060660551 7007 80.91.224.253 (12 Aug 2003 03:55:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2003 03:55:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Aug 12 05:55:50 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mQGE-0004wt-00 for ; Tue, 12 Aug 2003 05:55:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19mQNl-00071t-00 for ; Tue, 12 Aug 2003 06:03:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mQFN-0004ds-7o for emacs-devel@quimby.gnus.org; Mon, 11 Aug 2003 23:54:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19mQEv-0004W2-5g for emacs-devel@gnu.org; Mon, 11 Aug 2003 23:54:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19mQEO-00044P-0P for emacs-devel@gnu.org; Mon, 11 Aug 2003 23:54:28 -0400 Original-Received: from [209.225.8.30] (helo=remt20.cluster1.charter.net) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mQEM-000422-OO for emacs-devel@gnu.org; Mon, 11 Aug 2003 23:53:54 -0400 Original-Received: from [24.107.193.134] (HELO wesley.springies.com) by remt20.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 119771152; Mon, 11 Aug 2003 23:53:53 -0400 Original-Received: from ats by wesley.springies.com with local (Exim 3.36 #1 (Debian)) id 19mQEI-0001Pw-00; Mon, 11 Aug 2003 22:53:50 -0500 Original-To: emacs-devel@gnu.org, gmorris@ast.cam.ac.uk User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15895 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15895 calendar-make-alist was leaving December off the alist. Here's a fix. Could someone commit it? 2003-08-11 Alan Shutko * calendar/calendar.el (calendar-make-alist): Correct off-by-one keeping December out of the alist. *** calendar.el.~1.149.~ 2003-08-06 13:03:25.000000000 -0500 --- calendar.el 2003-08-11 22:50:10.000000000 -0500 *************** *** 2622,2628 **** (aseqp (if abbrevs (calendar-abbrev-construct abbrevs sequence 'period))) alist elem) ! (dotimes (i (1- (length sequence)) (reverse alist)) (setq index (+ i offset) elem (elt sequence i) alist --- 2622,2628 ---- (aseqp (if abbrevs (calendar-abbrev-construct abbrevs sequence 'period))) alist elem) ! (dotimes (i (length sequence) (reverse alist)) (setq index (+ i offset) elem (elt sequence i) alist -- Alan Shutko - I am the rocks. It's a dog eat dog world and I'm wearing ALPO underwear!