When I switch to a daily agenda view, I like to know that what I'm seeing is
everything there is to see.  The current definition of org-fit-agenda-window
sets a maximum height for the agenda view to 3/4 the frame height.  This
always leaves me wondering if maybe there's one more task, just beyond the
bottom of the window.  I recommend the following customization variable:

  (defvar org-fit-whole-agenda-window nil)

  (defun org-fit-agenda-window ()
    "Fit the window to the buffer size."
    (and (memq org-agenda-window-setup '(reorganize-frame))
         (fboundp 'fit-window-to-buffer)
         (if org-fit-agenda-window
             (fit-window-to-buffer)
           (fit-window-to-buffer nil (/ (* (frame-height) 3) 4)
                                 (/ (frame-height) 2)))))

John


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to