From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kifer@cs.sunysb.edu (Michael Kifer) Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Resizing may delete windows Date: Wed, 26 Mar 2008 02:34:40 -0400 Message-ID: <17986.1206513280@cs.sunysb.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1206513316 12573 80.91.229.12 (26 Mar 2008 06:35:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 06:35:16 +0000 (UTC) Cc: martin rudalics , "Jan D." , emacs-pretest-bug@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 26 07:35:46 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 1JePEb-0003K8-9E for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2008 07:35:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JePDz-0007ma-FC for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2008 02:35:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JePDu-0007lR-0Q for emacs-devel@gnu.org; Wed, 26 Mar 2008 02:34:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JePDs-0007jU-36 for emacs-devel@gnu.org; Wed, 26 Mar 2008 02:34:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JePDs-0007jM-0L for emacs-devel@gnu.org; Wed, 26 Mar 2008 02:34:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JePDr-0001ZL-M4 for emacs-devel@gnu.org; Wed, 26 Mar 2008 02:34:55 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JePDr-00049c-EO for emacs-pretest-bug@gnu.org; Wed, 26 Mar 2008 02:34:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JePDn-0001YR-UP for emacs-pretest-bug@gnu.org; Wed, 26 Mar 2008 02:34:55 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JePDn-0001WY-3U for emacs-pretest-bug@gnu.org; Wed, 26 Mar 2008 02:34:51 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id m2Q6YbCY025720; Wed, 26 Mar 2008 02:34:37 -0400 (EDT) Original-Received: from [127.0.0.1]:10025 (kiferserv [127.0.0.1]) by localhost (Postfix) with ESMTP id D7E228B8D4; Wed, 26 Mar 2008 02:34:40 -0400 (EDT) In-Reply-To: Message from "Lennart Borgman (gmail)" of "Tue, 25 Mar 2008 23:54:33 BST." <47E982A9.40907@gmail.com> X-Mailer: MH-E 8.0.3+cvs; nmh 1.1; GNU Emacs 23.0.60 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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:93494 gmane.emacs.pretest.bugs:21692 Archived-At: > > I suggest you set `window-min-height' > > buffer-locally to 2 in the ediff control panel and look what happens > > when the frame gets resized. If the window still goes away we have a > > bug. > > Thanks, that cures the problem. > > Michael, could you please add that? OK. However, I do think that deleting windows just like that is too aggressive and counter-intuitive. > (And please make the control panel > window dedicated during ediff. It really is not useful for something > else then ;-) ) No, dedicated windows in frames that have other windows are too troublesome. They often surprise the user. That little ediff window does not need to be dedicated, since nothing else gets into it unless you try hard :-) And if this happens then it is easy to recover. > > Another problem is that Emacs doesn't record window sizes accross > > (de-)maximizations. Hence in your ediff control panel example you'd > > have to fix the window-height at 1 in order to handle re-maximization as > > intended :-( But when you maximize then the little window does not get deleted - it just gets bigger. It is better to resize a window than to completely delete it.