GNU bug report logs - #12018
24.1.50; Calendar HTML export breaks with no holidays in month

Previous Next

Package: emacs;

Reported by: Rupert Swarbrick <rswarbrick <at> gmail.com>

Date: Sat, 21 Jul 2012 21:17:05 UTC

Severity: normal

Tags: patch

Found in version 24.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12018 in the body.
You can then email your comments to 12018 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12018; Package emacs. (Sat, 21 Jul 2012 21:17:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rupert Swarbrick <rswarbrick <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 21 Jul 2012 21:17:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rupert Swarbrick <rswarbrick <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; Calendar HTML export breaks with no holidays in month
Date: Sat, 21 Jul 2012 12:09:36 +0100
[Message part 1 (text/plain, inline)]
Calling cal-html-cursor-month from a *Calendar* buffer using H-m
triggers an error in cal-html-insert-agenda-days (in
lisp/calendar/cal-html.el) if there are no holidays in the given
month. Since this is true for August, I've just triggered it!

The problem is the

    (and holiday-list diary-list "<BR>\n")

(line 399 in current trunk) inside an insert. (insert NIL) is not
ok. Changing the line to

    (if (and holiday-list diary-list) "<BR>\n" "")

Fixes the issue.

Thanks,

Rupert
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 01 Aug 2012 07:25:02 GMT) Full text and rfc822 format available.

Notification sent to Rupert Swarbrick <rswarbrick <at> gmail.com>:
bug acknowledged by developer. (Wed, 01 Aug 2012 07:25:02 GMT) Full text and rfc822 format available.

Message #10 received at 12018-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 12018-done <at> debbugs.gnu.org
Subject: Re: bug#12018: 24.1.50;
	Calendar HTML export breaks with no holidays in month
Date: Wed, 01 Aug 2012 03:16:34 -0400
Thanks; applied.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Aug 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.