From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Resizing may delete windows Date: Tue, 25 Mar 2008 21:11:59 +0100 Message-ID: <47E95C8F.4050604@gmail.com> References: <47E42196.8010302@gmail.com> <47E927F4.4000509@gmx.at> <47E9347C.5000905@gmail.com> <47E94B35.4080507@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206475960 32701 80.91.229.12 (25 Mar 2008 20:12:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 20:12:40 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, "Jan D." , Michael Kifer To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 25 21:13:09 2008 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 1JeFW4-0004fZ-I8 for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 21:13:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeFVP-0007rq-QV for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 16:12:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeFVM-0007rk-VD for emacs-devel@gnu.org; Tue, 25 Mar 2008 16:12:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeFVK-0007rY-Jn for emacs-devel@gnu.org; Tue, 25 Mar 2008 16:12:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeFVK-0007rV-Dm for emacs-devel@gnu.org; Tue, 25 Mar 2008 16:12:18 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeFVK-0006nn-64 for emacs-devel@gnu.org; Tue, 25 Mar 2008 16:12:18 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JeFVK-0005kQ-09 for emacs-pretest-bug@gnu.org; Tue, 25 Mar 2008 16:12:18 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JeFVG-0006mp-TB for emacs-pretest-bug@gnu.org; Tue, 25 Mar 2008 16:12:17 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JeFVG-0006mL-Eo for emacs-pretest-bug@gnu.org; Tue, 25 Mar 2008 16:12:14 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:60139 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JeFVD-0000mG-64; Tue, 25 Mar 2008 21:12:12 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <47E94B35.4080507@gmx.at> X-Antivirus: avast! (VPS 080324-0, 2008-03-24), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JeFVD-0000mG-64. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JeFVD-0000mG-64 4d2c68c5bebf5e95e6fc8e998b6c32a6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:93437 gmane.emacs.pretest.bugs:21688 Archived-At: martin rudalics wrote: > I don't understand. In your example you bind `window-min-height' to 1 > only while you split the window. When you resize the frame the binding > is not effective - presumably the top-level value is used instead. Eh, yes. sorry. > > Maybe, but in that case I have seen another one too. The layout when I > > first saw this was: > > > > xxxxxxxxx > > x x x > > x x x > > x x x > > xxxxxxxxx > > x x > > xxxxxxxxx > > > > Three windows. The bottom 1-line window disappeared. (This was in ediff > > with the control panel in the same frame.) > > Yes, but in general the ediff frame is not maximized when it's created, > hence people usually won't see that. I suppose you somehow managed to > start with a maximized frame and a one-text-line control panel. That is just how ediff starts with a maximized frame and the control panel in the same frame as the buffers you use ediff on. > When > you de-maximize that frame the shrinking mechanism may remove the > control panel window provided `window-min-height' evals to the standard > value 4. "may remove" - are you suggesting this is not a bug? Or are you just saying you see that the code is written that way? > Setting `window-min-height' to 1 when the window wants a modeline is > asking for trouble and the documentation should say so. However Emacs > should handle this case gracefully. Yes. But I am a little bit sorry for having mixed this trouble with the one I actually saw in ediff. Anyway it is of course very good that you are taking care of the window-min-height=1 problem.