GNU bug report logs - #56241
icalendar doesn't process arbitrary diary sexp entries correctly

Previous Next

Package: emacs;

Reported by: hokomo <hokomo <at> airmail.cc>

Date: Sun, 26 Jun 2022 21:15:01 UTC

Severity: normal

Full log


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

From: hokomo <hokomo <at> airmail.cc>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Ulf Jasper <ulf.jasper <at> web.de>, 56241 <at> debbugs.gnu.org
Subject: Re: bug#56241: [PATCH] icalendar doesn't correctly process arbitrary
 diary sexp entries
Date: Wed, 6 Jul 2022 20:58:23 +0200
> Right; I can reproduce that problem.  I've added Ulf to the CCs; perhaps
> he has some comments.

It's been a week since then. Any ideas on how to move forward or should 
we give it more time? :-)

To summarize, the problems are:

(1) A diary sexp not generating any events for the configured number of 
enumeration days is treated effectively as a parsing failure, meaning 
that the next type of diary entry is tried instead of just not producing 
any events.

(2) Improper parsing of diary sexps (using regexes instead of e.g. 
`read') leads to diary sexps not being able to span multiple lines or 
have more than a single closing parenthesis (i.e. any sort of nested 
expression).

(3) Not strictly in the scope of icalendar itself, but still related the 
handling of diary sexps: Org's parser seems to assume that each diary 
sexp is on a single line. This and the two limitations above end up 
propagating to ox-icalendar.

hokomo




This bug report was last modified 1 year and 141 days ago.

Previous Next


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