From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: resizing frames and windows Date: Tue, 29 Apr 2008 12:11:14 -0400 Message-ID: <87skx44p5p.fsf@stupidchicken.com> References: <4815E5D1.7000709@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209486000 23775 80.91.229.12 (29 Apr 2008 16:20:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2008 16:20:00 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 29 18:20:36 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JqsZH-0001et-F6 for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 18:20:35 +0200 Original-Received: from localhost ([127.0.0.1]:43129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqsYa-0006WG-5U for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 12:19:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqsUb-000564-8Q for emacs-devel@gnu.org; Tue, 29 Apr 2008 12:15:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqsUa-00055l-Kd for emacs-devel@gnu.org; Tue, 29 Apr 2008 12:15:44 -0400 Original-Received: from [199.232.76.173] (port=45941 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqsUa-00055i-9g for emacs-devel@gnu.org; Tue, 29 Apr 2008 12:15:44 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqsUa-0004wN-1I for emacs-devel@gnu.org; Tue, 29 Apr 2008 12:15:44 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 9DEF24E281; Tue, 29 Apr 2008 12:11:14 -0400 (EDT) In-Reply-To: <4815E5D1.7000709@gmx.at> (martin rudalics's message of "Mon, 28 Apr 2008 16:57:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96149 Archived-At: I forgot that you asked to do the following tasks, so here they are. With the patched Emacs: > (1) Maximize a frame, create some minimal windows (one-line, > two-columns) in it, and demaximize the frame. Are all windows > preserved? Yes. The one-line window in particular still exists. > (2) Same as (1) but try to create a no-way-out configuration where > demaximizing the frame cannot avoid deleting some window(s) - for > example, because you have two side-by-side windows and the > demaximized frame can accomodate at most one such window. Does > resizing behave reasonably? While maximized, I split the window vertically until the frame consists entirely of two-line windows. Upon unmaximizing, the windows that can't fit are deleted. Seems OK. > (3) Save the window-configurations of (1) and (2) in a maximized frame, > demaximize the frame, change the layout arbitrarily, and set the > window configuration to the saved one. Does the resulting > configuration appear reasonable? This seems to work fine. > (4) Split some window vertically, and repeatedly apply > `my-enlarge-window'. Is the other window deleted when its height > drops below `window-min-height'? Does it for other (possibly > invalid) values of `window-min-height'? The other window is deleted, for several valid values of window-min-height I tested. A window-min-height of -1 seems the same as 1, which is OK. > (5) Split some window horizontally, and repeatedly apply > `my-enlarge-window-horizontally'. Is the other window deleted when > its width drops below `window-min-width'? Does it for other > (possibly invalid) values of `window-min-width'? Same as above. > (6) Create a one-line window at the bottom of the frame and try to > resize the minibuffer. Is the one-line window's modeline retained? Yes. Works fine. > (7) After all these tests: Does customizing `window-min-height' and > `window-min-width' work as expected? No problems here. Thanks for working on this.