summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.org b/config.org
index 4e05b66..8a77071 100644
--- a/config.org
+++ b/config.org
@@ -276,6 +276,27 @@ Update the calendar.  We want weeks to start on a monday, the first day of the w
         calendar-date-style 'iso)
 #+end_src
 
+Ensure the calendar always displays at the bottom of the screen, rather than wrapping weirdly and looking bad when it shows up in a side window.
+
+#+begin_src elisp
+  (add-to-list 'display-buffer-alist
+               '("\\*Calendar\\*"
+                 (display-buffer-in-side-window)
+                 (side . bottom)))
+#+end_src
+
+The default for this is eight, and i hoped that by setting it to nine there would never be a jump when there were extra weeks in a month and the calendar took up an extra line.  It doesn't seem to have worked out that way, though.
+
+#+begin_src elisp
+  (setopt calendar-minimum-window-height 9)
+#+end_src
+
+Don't add anything to the mode line.
+
+#+begin_src elisp
+  (setopt calendar-mode-line-format nil)
+#+end_src
+
 *** Monospace font fallback
 
 This is my own version of fixed-pitch, which has some changes to it.  No hooks are added by default.  Updating the whitelist automatically applies the hooks.  And there is no functionality for changing the cursor type.