Re: Do something useful with ".+" and hours repeaters

2020-04-06 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > You could use floor's DIVISOR argument: > > (floor (- (org-time-stamp-to-now ts t)) 60) Good catch! I keep forgetting about this argument. I added tests, mentioned the change in ORG-NEWS, and applied the patch. I hesitated using the UPDOWN optional argument

Re: Do something useful with ".+" and hours repeaters

2020-04-05 Thread Kyle Meyer
Nicolas Goaziou writes: > WDYT? Makes sense to me. I have one nitpick on the actual change: > + ;; Shift starting date to today, or now if > + ;; repeater is by hours. > + (if (equal what "h") > +

Do something useful with ".+" and hours repeaters

2020-04-05 Thread Nicolas Goaziou
Hello, Someone on #org-mode (sorry, I cannot remember the nickname) reported that ".+" repeater style was not handling properly (not handling at all, actually) hours spans. As a reminder, ".+" means "repeat, starting from today as the base date". With hours, it seems logical to "repeat, starting