[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Making org-fit-agenda-window able to be turned off?
From: |
Nick Dokos |
Subject: |
Re: [O] Making org-fit-agenda-window able to be turned off? |
Date: |
Sun, 15 Apr 2012 09:57:43 -0400 |
Kyle Machulis <address@hidden> wrote:
> Would adding a flag to skip calls to org-fit-agenda-window be handy to
> anyone else?
>
> Some context: I use workgroups.el
> (https://github.com/tlh/workgroups.el) for my desktop management
> setup. I have a workgroup that keeps my org-mode daily agenda and
> sauron (https://github.com/djcb/sauron) up as my sort of "current
> status" desktop. Any time I update the agenda buffer using 'g', the
> windows rebalance because of the call to org-fit-agenda-window, making
> the sauron window take far more than I want it to. In order to keep
> the window sizes the same, I wrap org-fit-agenda-window in defadvice
> that checks a variable I set (gross, I know), but was wondering if it
> might be useful in other situations and worth adding to org-agenda, or
> if it's just me.
>
(untested)
Does
(setq org-agenda-window-setup 'current-window)
help?
Nick