emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode version 5.13


From: Bastien
Subject: Re: [Orgmode] Org-mode version 5.13
Date: Wed, 24 Oct 2007 01:14:40 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

"Scott Jaderholm" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]