From unknown Thu Jun 19 14:04:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4626 <4626@debbugs.gnu.org> To: bug#4626 <4626@debbugs.gnu.org> Subject: Status: 23; holidays not printed on multi-month calendar Reply-To: bug#4626 <4626@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:51 +0000 retitle 4626 23; holidays not printed on multi-month calendar reassign 4626 emacs submitter 4626 Matthew Junker severity 4626 normal thanks From matthew.junker@sbcglobal.net Sat Oct 3 14:38:16 2009 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") From rgm@gnu.org Mon Oct 5 19:37:49 2009 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@debbugs.gnu.org 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. From rgm@gnu.org Thu Oct 15 18:15:57 2009 Received: (at control) by emacsbugs.donarmstrong.com; 16 Oct 2009 01:15:57 +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.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=unavailable 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 n9G1FtXU027431; Thu, 15 Oct 2009 18:15:57 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MybQA-0006VP-Iu; Thu, 15 Oct 2009 21:15:54 -0400 From: Glenn Morris To: Stanley E Kohn Cc: 4733@debbugs.gnu.org Subject: Re: bug#4733: Emacs 23.1, bug in printing LaTeX calendar References: X-Spook: eavesdropping defense information warfare 64 Vauxhall X-Ran: )Jky!}^[-I3",_lUX`I'c6a;-eO}Sry7IvR<%YDUXp$bNv}y&:on(Z=|L~^&8U+^BgN(~# X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 15 Oct 2009 21:15:54 -0400 In-Reply-To: (Stanley E. Kohn's message of "Thu, 15 Oct 2009 16:53:46 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii forcemerge 4626 4733 stop Thanks, this was previously reported and fixed. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4626 From unknown Thu Jun 19 14:04:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Nov 2009 15:24:24 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator