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

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

bug#56241: [PATCH] icalendar doesn't correctly process arbitrary diary s


From: hokomo
Subject: bug#56241: [PATCH] icalendar doesn't correctly process arbitrary diary sexp entries
Date: Wed, 6 Jul 2022 20:58:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

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





reply via email to

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