From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Sat, 15 Aug 2009 12:12:47 +0200 Message-ID: <4A868A1F.4020101@gmx.at> References: <4A6DAD94.8040006@gmx.at> <4A6DAF71.6070002@gmx.at> <4A6DBB3A.90001@gmx.at> <4A6DC1A1.2000208@gmx.at> <4A6DDB61.8090403@gmx.at> <4A6EAB02.6080701@gmx.at> <4A7010D7.3050305@gmx.at> <4A81374E.9050401@gmx.at> <4A8283D8.6070208@gmx.at> <4A83E2ED.2090805@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 1250331241 15046 80.91.229.12 (15 Aug 2009 10:14:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 10:14:01 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 15 12:13:54 2009 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 1McGGm-0007Ms-OO for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 12:13:53 +0200 Original-Received: from localhost ([127.0.0.1]:55303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McGGm-0003i2-0W for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 06:13:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McGFs-0003SM-II for emacs-devel@gnu.org; Sat, 15 Aug 2009 06:12:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McGFn-0003RB-QQ for emacs-devel@gnu.org; Sat, 15 Aug 2009 06:12:56 -0400 Original-Received: from [199.232.76.173] (port=38075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McGFn-0003R6-H2 for emacs-devel@gnu.org; Sat, 15 Aug 2009 06:12:51 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:47165) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1McGFm-0000iA-UT for emacs-devel@gnu.org; Sat, 15 Aug 2009 06:12:51 -0400 Original-Received: (qmail invoked by alias); 15 Aug 2009 10:12:49 -0000 Original-Received: from 62-47-35-223.adsl.highway.telekom.at (EHLO [62.47.35.223]) [62.47.35.223] by mail.gmx.net (mp009) with SMTP; 15 Aug 2009 12:12:49 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+xE1x+NA2xF4RAxm9OJL1ggt/KWHHUGF6Yx9BWKP 3EygIaQd8cA5I+ User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:114259 Archived-At: > OTOH, there is a situations where we have to live with it: when resizing > a frame "all the way across and back", we may want/need to delete > a window and then resurrect it. Not sure what's the best way to deal > with this: > - either somehow make it possible to undelete windows (I'd *much* rather > not, but maybe if we make it sufficiently restrictive it'd be OK). We'd eventually have to GC such windows to avoid leaks. > - or maybe avoid deleting the window in this case, instead leave it > a size-0, and delete it at some later time (when would that be?). Same as above. We'd end up accumulating zero-sized windows. > - prevent frame resizing that would require deleting a window. Emacs not honoring a window manager's request? I think we can live with deleting windows in that case and _not_ resurrecting them when the frame is resized. martin