> When dealing with complicated date rules it can likely happen that a > diary sexp doesn't fit into one line.
Diary sexp can be a user-defined function. If your sexp needs to span multiple lines, it is probably worth defining a function and simply using <%%(your-function)> as a timestamp. Best, Ihor Michael Heerdegen <michael_heerde...@web.de> writes: > Robert Pluim <rpl...@gmail.com> writes: > >> I can push my change to org, but Iʼm not a regular org contributor, so >> Iʼd prefer to hear from one of the maintainers first. > > Sorry - I meant, I see no reason to touch the existing code. No need to > change anything for what I want. > >> Michael> This doesn't work: >> >> Michael> | ** APPT 17:00 Test >> Michael> | SCHEDULED: <%%(and (or (diary-date 03 09 2020) >> Michael> | (diary-date 04 09 2020)))> > >> I think thatʼs just a consequence of timestamps not being allowed to >> span multiple lines in org, unlike diary. > > This is bad. Why is that? Can it be changed? > > When dealing with complicated date rules it can likely happen that a > diary sexp doesn't fit into one line. > > Regards, > > Michael.