"Scott Jaderholm" <[EMAIL PROTECTED]> writes:

>          - New variable `org-agenda-window-frame-fractions' to
>            customize the size limits of the agenda window in the case
>            that you display the agenda window by reorganizing the
>            frame.
>
> In org 5.12 when I do C-c a the Agenda Commands window that comes up
> is only as tall as it needs to be. In 5.13 it is half the frame
> height. I'm not sure exactly which change caused this.

`org-agenda-window-setup' or `org-agenda-window-frame-fractions' don't
change the way the Agenda Commands window is displayed.

I guess Carsten wanted the default size of windows to be the same for
the Agenda Commands window and for any agenda view.  But I think the
Agenda Commands window should be as small as possible since it's not
likely to change very often.

Here is a patch for this.

diff -u /home/guerry/elisp/testing/org/org.el /home/guerry/elisp/testing/bzg/org.el
--- /home/guerry/elisp/testing/org/org.el	2007-10-22 15:04:16.000000000 +0100
+++ /home/guerry/elisp/testing/bzg/org.el	2007-10-24 01:04:27.000000000 +0100
@@ -18339,9 +18339,7 @@
 				   "Prefix key"))))
 		    prefixes))
 	  (goto-char (point-min))
-	  (if (and (fboundp 'fit-window-to-buffer)
-		   (not (pos-visible-in-window-p (point-max))))
-	      (fit-window-to-buffer))
+	  (if (fboundp 'fit-window-to-buffer) (fit-window-to-buffer))
 	  (message "Press key for agenda command%s:"
 		   (if restrict-ok
 		       (if restriction

Diff finished.  Wed Oct 24 01:04:41 2007
-- 
Bastien
_______________________________________________
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