From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Griswold Subject: Re: Agenda view resizes frames Date: Mon, 15 Oct 2007 07:20:25 -0400 Message-ID: <87bqb04oau.fsf@cantor.griswold.home> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhNzi-0002iC-2t for emacs-orgmode@gnu.org; Mon, 15 Oct 2007 07:20:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhNzg-0002hu-GN for emacs-orgmode@gnu.org; Mon, 15 Oct 2007 07:20:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhNzg-0002hr-D5 for emacs-orgmode@gnu.org; Mon, 15 Oct 2007 07:20:20 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhNzf-0001kG-Re for emacs-orgmode@gnu.org; Mon, 15 Oct 2007 07:20:20 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IhNzZ-0002I3-RK for emacs-orgmode@gnu.org; Mon, 15 Oct 2007 11:20:13 +0000 Received: from cpe-66-67-61-244.rochester.res.rr.com ([66.67.61.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Oct 2007 11:20:13 +0000 Received: from dgriswol by cpe-66-67-61-244.rochester.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Oct 2007 11:20:13 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > On Oct 14, 2007, at 20:02, Sebastjan Trepca wrote: > >> Hi, >> >> when I open agenda view it always resizes the frame and ruins my >> current frames. How could I fix that, so that it stays in the frame >> where I executed the command and doesn't resize it? > > Use the selfdocumenting power of Emacs: ... > Ahh, the current value is `reorganize-frame', which is why it messes > up my frame... > - Carsten This was somewhat helpful to me, but mostly in helping me track down the problem. The issue (for me, anyway) is that "reorganize-frame" does not work the same as it used to. For example, let's assume that I have the *Calendar* buffer displayed, and my agenda will by default display the whole week, which happens to be very busy lately. Then, when I call org-agenda-list, the result is that I can see only the last line or two of the calendar. This is not what used to happen in previous versions of org-mode. Looking for something that would account for the change in behavior, I found a difference in org-fit-agenda-window. In short, that function has this as its affirmative result in version 10b: (fit-window-to-buffer nil (/ (* (frame-height) 3) 4) (/ (frame-height) 2)) while in version 12c it is simply: (fit-window-to-buffer) Then, in a V-8 moment (doh!) I thought to check the Changelog, wherein I found this note: (org-fit-agenda-window): Limitations on window size removed. So, this was an intentional change. It must have been for an important reason. However, the previous functionality actually worked better for me than the current definition of org-fit-agenda-window (more of the (week-long) agenda listed, with all of the calendar but no wasted space for the calendar). I also liked what it delivered better than what results now from having org-agenda-window-setup set to `other-window', which simply splits the window in two. I can't say whether this is what the OP was after as well. At any rate, I'll adjust, by having this option set to other-window, and changing the value of org-agenda-ndays to 1. Thanks, Dan -- -------------- Dan Griswold Rochester, NY --------------