emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode version 5.13
Date: Wed, 24 Oct 2007 01:14:40 +0100	[thread overview]
Message-ID: <87wstdnzbj.fsf@bzg.ath.cx> (raw)
In-Reply-To: <b2e202b30710231226j21b06b90kd742cafce1f3c91@mail.gmail.com> (Scott Jaderholm's message of "Tue, 23 Oct 2007 13:26:24 -0600")

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

"Scott Jaderholm" <jaderholm@gmail.com> 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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org.el.patch --]
[-- Type: text/x-diff, Size: 664 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


-- 
Bastien

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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	other threads:[~2007-10-23 23:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19  6:25 Org-mode version 5.13 Carsten Dominik
2007-10-19 11:23 ` Adam Spiers
2007-10-19 15:11   ` Eddward DeVilla
2007-10-20 10:30 ` Bastien
2007-10-22 21:38   ` Mike Newman
2007-10-22 21:48     ` Nuutti Kotivuori
2007-10-22 22:50     ` Bastien
2007-10-24 16:42     ` Carsten Dominik
2007-10-25 11:12       ` Dmitri Minaev
2007-10-26 16:53         ` Mike Newman
2007-10-25 12:00       ` Nuutti Kotivuori
2007-10-23 19:26 ` Scott Jaderholm
2007-10-24  0:14   ` Bastien [this message]
2007-10-24  3:18     ` Carsten Dominik
2007-12-30 12:31 ` Adam Spiers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wstdnzbj.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).