From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4626: marked as done (23; holidays not printed on multi-month calendar) Date: Tue, 06 Oct 2009 02:45:07 +0000 Message-ID: References: <8fy6npp7r8.fsf@fencepost.gnu.org> <152846.40456.qm@web82603.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1254797107-27663-0" X-Trace: ger.gmane.org 1254797255 18215 80.91.229.12 (6 Oct 2009 02:47:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2009 02:47:35 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 04:47:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mv05E-0000yS-R3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2009 04:47:25 +0200 Original-Received: from localhost ([127.0.0.1]:34703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv05D-0004hs-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 22:47:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mv059-0004gb-Ka for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mv054-0004dD-4S for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:18 -0400 Original-Received: from [199.232.76.173] (port=55729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv053-0004dA-U3 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38135) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mv050-0002MV-Q4; Mon, 05 Oct 2009 22:47:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n962l83B028163; Mon, 5 Oct 2009 19:47:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n962j7Xb027775; Mon, 5 Oct 2009 19:45:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4626 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31711 Archived-At: This is a multi-part message in MIME format... ------------=_1254797107-27663-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 05 Oct 2009 22:37:47 -0400 with message-id <8fy6npp7r8.fsf@fencepost.gnu.org> and subject line Re: bug#4626: 23; holidays not printed on multi-month cale= ndar has caused the Emacs bug report #4626, regarding 23; holidays not printed on multi-month calendar to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4626: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4626 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1254797107-27663-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 3 Oct 2009 21:38:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n93LcFYG004447 for ; Sat, 3 Oct 2009 14:38:16 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuCIx-0001fs-2O for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2009 17:38:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuCIr-0001fL-Dl for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2009 17:38:13 -0400 Received: from [199.232.76.173] (port=34544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuCIr-0001fI-9j for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2009 17:38:09 -0400 Received: from web82603.mail.mud.yahoo.com ([68.142.201.120]:32136) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MuCIq-0002og-Sf for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2009 17:38:09 -0400 Received: (qmail 41576 invoked by uid 60001); 3 Oct 2009 21:38:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=UsM06CZLh4ZdI7VjYAlHVCxG60yPT3ToutwU0ceZ6C/CJQHN1DGfDcdpPC3WVWF5kNaNBORU3XIX0etaYh3BwSLt2xP8gtwMqrBOs0QhLoDmaBDow51cd5B9AUr4KIB6hFCN6sZkvUj+s/ykU3hlW7NLZHMy5BhajagJTHhe2jM=; Message-ID: <152846.40456.qm@web82603.mail.mud.yahoo.com> X-YMail-OSG: p8Iz8KMVM1nV.Pv38mJ_Vytvu0pSbIlXNdp.fgfjM0XYof4ufKzZmI3bEtMSvmM5lSHAAn4_O8qt0oZML1ZcY3JlhbkhRvcY3m6O6TyrM2qsOUGnRq9ZvtSsNlGsNLQJVVj2kQ1kwRCy3_sEpuPEVK.7QYXL7ZF8wY.ap5O2ee5Z7xl27nUn5tBcPN5ahDkeDtEc5uQEgbvVdNK3zyXv_Nn0cK2Wq7YAtmc1zLnI3X_gSzJ.RWlXE0zlHSaxZ4Eijyseau0nC.K.TZ5BFVRbBGP0c2HoGFzdXZXrIP.EqPFMSLnUMmdYifz31cIeOZpdu20YYMFeNR2L82qqEmGpHmMAEASRPEkGEwJ0N_S_9eMuEKt1uKcZ Received: from [76.229.171.177] by web82603.mail.mud.yahoo.com via HTTP; Sat, 03 Oct 2009 14:38:07 PDT X-Mailer: YahooMailRC/157.18 YahooMailWebService/0.7.347.3 Date: Sat, 3 Oct 2009 14:38:07 -0700 (PDT) From: Matthew Junker Reply-To: Matthew Junker Subject: 23; holidays not printed on multi-month calendar To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Holidays are not printed after the first month of multi-month calendars. The changes to cal-tex.el for determining the end date of the calendar for Emacs 23 were not quite right. To see the problem, try "C-u 2 t M" in an older version and in version 23 (i.e., (cal-tex-cursor-month-landscape 2)). The following patch seems to correct the problem. --- /cygdrive/c/Program Files/emacs/current/lisp/calendar/cal-tex.el 2009-08-15 17:10:00.015625000 -0500 +++ cal-tex.el 2009-10-03 16:11:33.178552200 -0500 @@ -439,13 +439,13 @@ (end-year year) (cal-tex-which-days '(0 1 2 3 4 5 6)) (d1 (calendar-absolute-from-gregorian (list month 1 year))) - (d2 (calendar-absolute-from-gregorian - (list end-month - (calendar-last-day-of-month end-month end-year) - end-year))) - (diary-list (progn - (calendar-increment-month end-month end-year (1- n)) - (if cal-tex-diary (cal-tex-list-diary-entries d1 d2)))) + (d2 (progn + (calendar-increment-month end-month end-year (1- n)) + (calendar-absolute-from-gregorian + (list end-month + (calendar-last-day-of-month end-month end-year) + end-year)))) + (diary-list (if cal-tex-diary (cal-tex-list-diary-entries d1 d2))) (holidays (if cal-tex-holidays (cal-tex-list-holidays d1 d2))) other-month other-year small-months-at-start) (cal-tex-insert-preamble (cal-tex-number-weeks month year 1) t "12pt") @@ -508,13 +508,13 @@ (end-month month) (end-year year) (d1 (calendar-absolute-from-gregorian (list month 1 year))) - (d2 (calendar-absolute-from-gregorian - (list end-month - (calendar-last-day-of-month end-month end-year) - end-year))) - (diary-list (progn - (calendar-increment-month end-month end-year (1- n)) - (if cal-tex-diary (cal-tex-list-diary-entries d1 d2)))) + (d2 (progn + (calendar-increment-month end-month end-year (1- n)) + (calendar-absolute-from-gregorian + (list end-month + (calendar-last-day-of-month end-month end-year) + end-year)))) + (diary-list (if cal-tex-diary (cal-tex-list-diary-entries d1 d2))) (holidays (if cal-tex-holidays (cal-tex-list-holidays d1 d2))) other-month other-year) (cal-tex-insert-preamble (cal-tex-number-weeks month year n) nil "12pt") ------------=_1254797107-27663-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4626-done) by emacsbugs.donarmstrong.com; 6 Oct 2009 02:37:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n962bljh026846 for <4626-done@emacsbugs.donarmstrong.com>; Mon, 5 Oct 2009 19:37:49 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Muzvv-0001zO-Af; Mon, 05 Oct 2009 22:37:47 -0400 From: Glenn Morris To: 4626-done@emacsbugs.donarmstrong.com Subject: Re: bug#4626: 23; holidays not printed on multi-month calendar References: <152846.40456.qm@web82603.mail.mud.yahoo.com> X-Spook: BRLO SAPO secure AVIP kilderkin freedom Syria John Kerry X-Ran: J*UGr/0kc5:4HM`-'VWq)N6zmiN[mIwYkZ.mNMW]XNE}4b|,M-4o7Ff5LGm&l.&S~-Zt:^ X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 05 Oct 2009 22:37:47 -0400 Message-ID: <8fy6npp7r8.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thank you for the report and the patch; applied. ------------=_1254797107-27663-0--