bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39782: 28.0.50; gnus-icalendar does not understand multiple repeatin


From: Mark A. Hershberger
Subject: bug#39782: 28.0.50; gnus-icalendar does not understand multiple repeating days
Date: Sun, 19 Jul 2020 08:36:30 -0700 (PDT)

I'm attaching an appointment I sent my gmail address just now and the resulting 
org entry (in the tmp.org file) that the [Export to Org] button produced using 
the gnus-icalendar-sync-event-to-org callback.

Looking at the text property gnus-data for the button, I see:

#s(gnus-icalendar-event-request "mah@nichework.com"
                                "appointment every weekday, start jul 24, 2020, 
end aug 24, 2020"
                                "The following is a new meeting 
request:\n\nSubject: appointment every weekday, start jul 24, 2020, end aug 24, 
2020 \nOrganizer: \"Mark A. Hershberger\" <mah@nichework.com> \n\nTime: 9:00:00 
AM - 9:30:00 AM GMT -05:00 US/Canada Eastern\n Recurrence : Every weekday.   
End by Aug 24, 2020.   Effective Jul 24, 2020\n\nInvitees: hexmode@gmail.com 
\n\n\n*~*~*~*~*~*~*~*~*~*\n\ntest \n" nil
                                (24346 56144)
                                (24346 57944)
                                
"FREQ=DAILY;UNTIL=20200825T035959Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR" 
"903a5415-9067-4f63-b499-1b6205f49c88" "REQUEST" t required
                                ("Mark Hershberger")
                                nil)


----- On Jul 19, 2020, at 9:58 AM, Lars Ingebrigtsen larsi@gnus.org wrote:

> "Mark A. Hershberger" <mah@everybody.org> writes:
> 
>>>From skimming gnus-icalendar.el and icalendar.el, it looks like the
>> "BYDAY" parsing in icalendar.el only looks for one day, instead of the
>> multiples given.  I think gnus-icalendar.el's export to org functions
>> are only set up to insert one day instead of the multiple times required
>> by this rule.
> 
> Do you have a ical example file that illustrates the problem?
> 
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no

Attachment: tmp.org
Description: Binary data

--- Begin Message --- Subject: appointment every weekday, start jul 24, 2020, end aug 24, 2020 Date: Sun, 19 Jul 2020 08:08:15 -0700 (PDT)
BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:America/New_York
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETTO:-0500
TZOFFSETFROM:-0400
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
TZNAME:EST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETTO:-0400
TZOFFSETFROM:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
TZNAME:EDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:903a5415-9067-4f63-b499-1b6205f49c88
RRULE:FREQ=DAILY;UNTIL=20200825T035959Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
SUMMARY:appointment every weekday\, start jul 24\, 2020\, end aug 24\, 2020
ATTENDEE;CN=Mark Hershberger;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP
 =TRUE:mailto:hexmode@gmail.com
ORGANIZER;CN=Mark A. Hershberger:mailto:mah@nichework.com
DTSTART;TZID="America/New_York":20200724T090000
DTEND;TZID="America/New_York":20200724T093000
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
LAST-MODIFIED:20200719T150815Z
DTSTAMP:20200719T150815Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: appointment 
 every weekday\, start jul 24\, 2020\, end aug 24\, 2020 \nOrganizer: "Mark A
 . Hershberger" <mah@nichework.com> \n\nTime: 9:00:00 AM - 9:30:00 AM GMT -05
 :00 US/Canada Eastern\n Recurrence : Every weekday.   End by Aug 24\, 2020. 
   Effective Jul 24\, 2020\n\nInvitees: hexmode@gmail.com \n\n\n*~*~*~*~*~*~*
 ~*~*~*\n\ntest \n
X-ALT-DESC;FMTTYPE=text/html:<html><body id='htmlmode'><h3>The following is 
 a new meeting request:</h3>\n\n<p>\n<table border='0'>\n<tr><th align=left>S
 ubject:</th><td>appointment every weekday\, start jul 24\, 2020\, end aug 24
 \, 2020 </td></tr>\n<tr><th align=left>Organizer:</th><td>"Mark A. Hershberg
 er" &lt\;mah@nichework.com&gt\; </td></tr>\n</table>\n<p>\n<table border='0'
 >\n<tr><th align=left>Time:</th><td>9:00:00 AM - 9:30:00 AM GMT -05:00 US/Ca
 nada Eastern\n </td></tr><tr><th align=left>Recurrence</th><td>: Every weekd
 ay.   End by Aug 24\, 2020.   Effective Jul 24\, 2020</td></tr>\n</table>\n<
 p>\n<table border='0'>\n<tr><th align=left>Invitees:</th><td>hexmode@gmail.c
 om </td></tr>\n</table>\n<div>*~*~*~*~*~*~*~*~*~*</div><br><div style="font-
 family: arial\, helvetica\, sans-serif\; font-size: 12pt\; color: #000000"><
 div>test<br data-mce-bogus="1"></div></div></body></html>
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT5M
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]