all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY
@ 2020-08-25 13:49 Filipp Gunbin
  2020-08-25 14:37 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Filipp Gunbin @ 2020-08-25 13:49 UTC (permalink / raw)
  To: 43038; +Cc: jan.tatarik

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY
  2020-08-25 13:49 bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY Filipp Gunbin
@ 2020-08-25 14:37 ` Lars Ingebrigtsen
  2020-08-25 15:42   ` Filipp Gunbin
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-25 14:37 UTC (permalink / raw)
  To: 43038; +Cc: jan.tatarik

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> 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)

Thanks for the clear instructions to reproduce the bug.

I think I've fixed this now on the trunk.

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY
  2020-08-25 14:37 ` Lars Ingebrigtsen
@ 2020-08-25 15:42   ` Filipp Gunbin
  0 siblings, 0 replies; 3+ messages in thread
From: Filipp Gunbin @ 2020-08-25 15:42 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 43038, jan.tatarik

On 25/08/2020 16:37 +0200, Lars Ingebrigtsen wrote:

> Thanks for the clear instructions to reproduce the bug.
>
> I think I've fixed this now on the trunk.

Excellent, thanks!

Filipp





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-25 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-25 13:49 bug#43038: 28.0.50; gnus-icalendar-event:recurring-days fails when no BYDAY Filipp Gunbin
2020-08-25 14:37 ` Lars Ingebrigtsen
2020-08-25 15:42   ` Filipp Gunbin

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.