From: Carsten Dominik <dominik@science.uva.nl>
To: John Wiegley <johnw@newartisans.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: A configuration option for the behavior of `org-fit-agenda-window'
Date: Wed, 10 Oct 2007 09:07:12 +0200 [thread overview]
Message-ID: <9e179dd2bb3fdf23026a123e852a385c@science.uva.nl> (raw)
In-Reply-To: <m2r6k3zvms.fsf@newartisans.com>
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
prev parent reply other threads:[~2007-10-10 7:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 0:00 FR: A configuration option for the behavior of `org-fit-agenda-window' John Wiegley
2007-10-10 7:07 ` Carsten Dominik [this message]
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=9e179dd2bb3fdf23026a123e852a385c@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=johnw@newartisans.com \
/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).