From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: window-safely-shrinkable-p Date: Sat, 11 Jun 2011 18:18:52 -0400 Message-ID: References: <87y61ojhp4.fsf@stupidchicken.com> <4DE60326.8040505@gmx.at> <4imxhodwsx.fsf_-_@fencepost.gnu.org> <4DF3D3B1.1030703@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1307830754 7502 80.91.229.12 (11 Jun 2011 22:19:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2011 22:19:14 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 00:19:10 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVWWL-0003lb-GM for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2011 00:19:09 +0200 Original-Received: from localhost ([::1]:54765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWWK-0006pQ-O9 for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2011 18:19:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWW6-0006pJ-OG for emacs-devel@gnu.org; Sat, 11 Jun 2011 18:18:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVWW5-0003Es-J2 for emacs-devel@gnu.org; Sat, 11 Jun 2011 18:18:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWW5-0003Eo-GI for emacs-devel@gnu.org; Sat, 11 Jun 2011 18:18:53 -0400 Original-Received: from localhost ([127.0.0.1]:47546) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWW4-0006Zr-ES; Sat, 11 Jun 2011 18:18:52 -0400 X-Spook: World Trade Center Kennedy Craig Livingstone SWAT $400 X-Ran: ,r^'>@RFXQL'wY&_p@!_6jWeO[;W07JFIj-iJ,e3)3QVzuda#YvQwDNtFyqX?4k3B|0[-f X-Hue: magenta X-Attribution: GM In-Reply-To: <4DF3D3B1.1030703@gmx.at> (martin rudalics's message of "Sat, 11 Jun 2011 22:44:33 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140387 Archived-At: martin rudalics wrote: > (when in-calendar-window > (if (window-iso-combined-p) > ;; Adjust the window to exactly fit the displayed calendar. > (fit-window-to-buffer nil nil calendar-minimum-window-height) > ;; For a full height window or a window that is horizontally > ;; combined don't fit height to that of its buffer. > (set-window-vscroll nil 0)) > > and tell me whether it works? I can only do very limited testing right now, but it seems ok, thanks. Feel free to install this and and any other related changes to calendar window handling. I'm looking forward to the improvements/simplifications that your work should bring, window handling has been messy in the past.