ichernyshovvv / org-timeblock

Schedule your day visually, using timeblocking technique inside Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recurring tasks/events are ignored

real-or-random opened this issue · comments

It's 2023-08-24 today.

This event won't show up in today's timeblock view (but it should!)

* Recurring event which started in the past 
<2023-02-20 Mon 12:00-13:00 +1d>

This event shows up:

* Event today  
<2023-08-24 Mon 12:00-13:00 +1d>

Will be fixed, thank you

This might be due to a limitation of org-ql (which will be fixed also).

Hi, @real-or-random. Repeated tasks/events now seem to be displayed as wanted. Check with the newest commit on the master branch and let me know if it works for you.

Yes, thanks, that fixes it for the common use cases. After looking at a720989, I tend to think that the approach there is perhaps a bit crude. For example, there could be hourly, monthly, and yearly recurrences, even though daily and weekly are probably by far the most common types.

I'm not very familiar with org-ql, but I can imagine that the recurrences would ideally be handled by org-ql directly. @alphapapa Is this what you meant above?

For example, there could be hourly, monthly, and yearly recurrences, even though daily and weekly are probably by far the most common types

Hourly, monthly, yearly recurrences are also handled and displayed. What do you mean?

Oh okay, then it's alright! I had not tested it, I only had a glimpse at the commit and saw the pcase with week and day, so I was assuming the code handles only weekly and daily, sorry.

I only had a glimpse at the commit and saw the pcase with week and day

pcase is needed to convert weeks to days, because ts-inc does not support week slot