all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: 43038@debbugs.gnu.org
Cc: jan.tatarik@gmail.com
Subject: bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY
Date: Tue, 25 Aug 2020 16:49:17 +0300	[thread overview]
Message-ID: <m2eenuesyq.fsf@fastmail.fm> (raw)

Steps to repeat:

- Insert this in some buffer:

--8<---------------cut here---------------start------------->8---
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Russian Standard Time
BEGIN:STANDARD
DTSTART:16010101T000000
TZOFFSETFROM:+0300
TZOFFSETTO:+0300
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T000000
TZOFFSETFROM:+0300
TZOFFSETTO:+0300
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=LastName FirstName:mailto:somebody@example.org
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=All_Company:m
 ailto:all@example.org
DESCRIPTION;LANGUAGE=en-US:\n
UID:040000008200E00074C5B7101A82E00800000000119F3EF5DC7AD601000000000000000
 0100000003B12F7DC2B09AC4383B5019AA7F618D8
SUMMARY;LANGUAGE=en-US:Title
DTSTART;TZID=Russian Standard Time:20200827T180000
DTEND;TZID=Russian Standard Time:20200827T203000
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20200825T124048Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:0
LOCATION;LANGUAGE=en-US:Townhall
BEGIN:VALARM
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
--8<---------------cut here---------------end--------------->8---

2) Eval in that buffer:

(gnus-icalendar-event:org-timestamp (gnus-icalendar-event-from-buffer
(current-buffer)))

Backtrace will start with this:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("BYDAY=\\([^;]+\\)" nil)


The problem started showing up after commit:

commit 5c715113efe91f4feb03e37b8b1287cd5afe9e94
Author: Jan Tatarik <jan.tatarik@gmail.com>
Date:   Sat Aug 22 15:39:17 2020 +0200

    gnus-icalendar does not understand multiple repeating days


Thanks.

In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Build 19G73))
 of 2020-08-25 built on fgunbin.local
Repository revision: 787b19115378909c472f018629da763407f6e2a0
Repository branch: master
System Description:  Mac OS X 10.15.6





             reply	other threads:[~2020-08-25 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 13:49 Filipp Gunbin [this message]
2020-08-25 14:37 ` bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY Lars Ingebrigtsen
2020-08-25 15:42   ` Filipp Gunbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2eenuesyq.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=43038@debbugs.gnu.org \
    --cc=jan.tatarik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.