On Oct 10, 2007, at 2:00, John Wiegley wrote:
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)))))
I guess we can also get rid of the limitations completely and just
call `fit-window-to-buffer'.
- Carsten
_______________________________________________
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