emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Kyle Machulis <kyle@nonpolynomial.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Making org-fit-agenda-window able to be turned off?
Date: Sun, 15 Apr 2012 09:57:43 -0400	[thread overview]
Message-ID: <11865.1334498263@alphaville> (raw)
In-Reply-To: Message from Kyle Machulis <kyle@nonpolynomial.com> of "Sat, 14 Apr 2012 22:23:36 PDT." <CAF1EFcd6x6+6f-A8tbvvReHHYtYdcEr7d8Q_+-6rBwuUdPs9fA@mail.gmail.com>

Kyle Machulis <kyle@nonpolynomial.com> 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

      reply	other threads:[~2012-04-15 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-15  5:23 Making org-fit-agenda-window able to be turned off? Kyle Machulis
2012-04-15 13:57 ` Nick Dokos [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=11865.1334498263@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@nonpolynomial.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).