-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customize width of cells in monthly view? #45
Comments
Will you try |
That doesn't seem to work for me. If I run If I set the default font in my ~/.emacs to be smaller, then the calendar window does adjust. |
Perhaps this function would be useful for computing the (scaled) width: (defun buffer-body-width (&optional buffer pixelwise)
(let ((width (window-body-width (get-buffer-window (or buffer
(current-buffer)))
pixelwise)))
(floor (cond
((eq text-scale-mode-amount 0)
width)
((> text-scale-mode-amount 0)
(/ width (* text-scale-mode-step text-scale-mode-amount)))
((< text-scale-mode-amount 0)
(* width (* -1 text-scale-mode-step text-scale-mode-amount))))))) |
Thank you for your report and workaround code! Well, I found this discussion: |
What is the current situation on this issue? Is there a workaround, for the time being? I normally work with a big font size, but would like to use a small font size for calfw buffers (otherwise they are unusable). Thanks |
Here is the workaround I am currently using. As remarked above, the calendar will not adapt to buffer-level zoom-in/zoom-out through the
Also, I bound
One could also stay in the same frame and rebind the calendar opening and closing commands so as to change the frame-wide font size, I guess. |
If I adjust the font size to be very small in a Calfw buffer, the size of the cells stays the same.
Accordingly, if I have something scheduled using Org Mode, I just see something like this:
I need to switch to Day mode (
D
) to see what the item was.The text was updated successfully, but these errors were encountered: