org-timeblock
org-timeblock copied to clipboard
Support for sexp entries?
Sexp entries with time ranges such as %%(school-timetable date 1) English 10:10-10:50
are not shown on the timeblock.
Is there a way that this could be done?
In this case, school-timetable is a function that checks if the date matches with my school's day 1 for the cycle. The reason why this cant be a normal timestamp is that for my school, every cycle repeats every 6 school days, so +1w won't work.
The relevant section on sexp entries:
The generality of sexp diary entries lets you specify any diary entry that you can describe algorithmically. A sexp diary entry contains an expression that computes whether the entry applies to any given date. If its value is non-nil, the entry applies to that date; otherwise, it does not. The expression can use the variable date to find the date being considered; its value is a list (month day year) that refers to the Gregorian calendar.