GNU bug report logs - #39938
28.0.50; icalendar.el does not understand "first friday of every month"

Previous Next

Package: emacs;

Reported by: "Mark A. Hershberger" <mah <at> everybody.org>

Date: Thu, 5 Mar 2020 22:34:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.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 39938 in the body.
You can then email your comments to 39938 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#39938; Package emacs. (Thu, 05 Mar 2020 22:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Mark A. Hershberger" <mah <at> everybody.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 05 Mar 2020 22:34:02 GMT) Full text and rfc822 format available.

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

From: "Mark A. Hershberger" <mah <at> everybody.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; icalendar.el does not understand "first friday of every
 month"
Date: Thu, 05 Mar 2020 17:33:18 -0500
Version info:
    In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
     of 2020-03-04 built on silk
    Repository revision: cf45e8022ee182529668c0d50d27b4e168331e97
    Repository branch: master

Entry in my notes.org file contains the following note indicating the
event is the first friday of every month:

    ** Monthly meeting
    :PROPERTIES:
    … elided …
    :RRULE:    FREQ=MONTHLY;INTERVAL=1;BYDAY=1FR
    … elided …
    :END:

      <2019-07-05 11:30-12:30 +1m>


This matches the RRULE line I see when I “View source” on the event in
Zimbra.

Zimbra shows the date correctly as happening on Friday, 2020-03-06.

When I got my agenda for today (Thursday, 2020-03-05) from org-agenda,
it showed the event happening today.

If I use org-agenda-goto-date to find the the days that emacs thinks
this is on in other months, it always picks the 5th.

For example in May, the meeting is on 2020-05-05 (Tuesday) instead of
2020-05-01 (Friday).

This bug is similar to #39782 in that it deals with icalendar and
repeating days.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Tue, 27 Oct 2020 09:54:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Mark A. Hershberger" <mah <at> everybody.org>
Cc: 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Tue, 27 Oct 2020 10:53:27 +0100
"Mark A. Hershberger" <mah <at> everybody.org> writes:

> Entry in my notes.org file contains the following note indicating the
> event is the first friday of every month:
>
>     ** Monthly meeting
>     :PROPERTIES:
>     … elided …
>     :RRULE:    FREQ=MONTHLY;INTERVAL=1;BYDAY=1FR
>     … elided …
>     :END:
>
>       <2019-07-05 11:30-12:30 +1m>
>
> This matches the RRULE line I see when I “View source” on the event in
> Zimbra.
>
> Zimbra shows the date correctly as happening on Friday, 2020-03-06.
>
> When I got my agenda for today (Thursday, 2020-03-05) from org-agenda,
> it showed the event happening today.

Looking at the code (and the tests), it should understand these BYDAY
clauses.  Do you have a complete .ical file that icalendar doesn't parse
correctly?  That'd help with debugging.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 27 Oct 2020 09:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Tue, 27 Oct 2020 12:01:01 GMT) Full text and rfc822 format available.

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

From: "Mark A. Hershberger" <mah <at> everybody.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Tue, 27 Oct 2020 08:00:15 -0400
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Looking at the code (and the tests), it should understand these BYDAY
> clauses.  Do you have a complete .ical file that icalendar doesn't parse
> correctly?  That'd help with debugging.

[sample.ical (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
See attached.

-- 
http://hexmode.com/


I cannot remember the books I've read any more than the meals I have eaten;
even so, they have made me.
            -- Ralph Waldo Emerson

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Tue, 27 Oct 2020 17:34:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Mark A. Hershberger" <mah <at> everybody.org>
Cc: Ulf Jasper <ulf.jasper <at> web.de>, 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Tue, 27 Oct 2020 18:33:20 +0100
"Mark A. Hershberger" <mah <at> everybody.org> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Looking at the code (and the tests), it should understand these BYDAY
>> clauses.  Do you have a complete .ical file that icalendar doesn't parse
>> correctly?  That'd help with debugging.

[...]

> RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1FR

Thanks; perhaps Ulf sees what's wrong with how icalendar handles this
(Cc'd).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Tue, 27 Oct 2020 21:18:02 GMT) Full text and rfc822 format available.

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

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "Mark A. Hershberger" <mah <at> everybody.org>, 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Tue, 27 Oct 2020 22:16:49 +0100
Am 27.10.2020 um 18:33 (+0100) schrieb Lars Ingebrigtsen:
> Thanks; perhaps Ulf sees what's wrong with how icalendar handles this
> (Cc'd).

I'll try.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Wed, 28 Oct 2020 17:54:02 GMT) Full text and rfc822 format available.

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

From: Ulf Jasper <ulf.jasper <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "Mark A. Hershberger" <mah <at> everybody.org>, 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Wed, 28 Oct 2020 18:53:32 +0100
I tried.  But I couldn't reproduce the problem.  After simply
'icalendar-import-file'-ing the ical file the calendar shows the
appointment on the first friday of each month.  Just as expected.

However, the bug report was mentioning org-agenda.  What do I have to do
to make the ical appointment appear in my org agenda?  Is there an
'emacs -Q'-ish recipe for reproducing the behaviour?






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39938; Package emacs. (Tue, 08 Dec 2020 18:10:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ulf Jasper <ulf.jasper <at> web.de>
Cc: "Mark A. Hershberger" <mah <at> everybody.org>, 39938 <at> debbugs.gnu.org
Subject: Re: bug#39938: 28.0.50; icalendar.el does not understand "first
 friday of every month"
Date: Tue, 08 Dec 2020 19:09:35 +0100
Ulf Jasper <ulf.jasper <at> web.de> writes:

> I tried.  But I couldn't reproduce the problem.  After simply
> 'icalendar-import-file'-ing the ical file the calendar shows the
> appointment on the first friday of each month.  Just as expected.
>
> However, the bug report was mentioning org-agenda.  What do I have to do
> to make the ical appointment appear in my org agenda?  Is there an
> 'emacs -Q'-ish recipe for reproducing the behaviour?

More information was requested, but no response was given within a a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 39938 <at> debbugs.gnu.org and "Mark A. Hershberger" <mah <at> everybody.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 08 Dec 2020 18:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Jan 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 109 days ago.

Previous Next


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