ichernyshovvv / org-timeblock

Schedule your day visually, using timeblocking technique inside Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow control of shown hours

swflint opened this issue · comments

Would it be possible to set the minimum displayed hour and maximum displayed hour?

I don't really understand what you mean. Can you please elaborate?

Certainly! Sorry, I was only half-awake when I wrote this initially.

Is there a way to say, clamp the display to only the hours 8:00 to 18:00?

There's no such command, but you could call M-x org-timeblock-switch-scaling which suddenly stopped working :D. I'll fix that as soon as I have free time

Okay, that makes sense. It's partially what I'm interested in. I guess, what I'd be more interested in is something like being able to set org-timeblock-view-options to something like (6 . 19), and have only the hours 6 to 19 shown.

I may try to PR this shortly.

Hi, I added the feature, you can now test it. Press v v and enter the hours range

That seems to work, though there seems to be a regression in that org-timeblock shows more days than I've specified in org-timeblock-n-days-view.