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: Thu, 13 Aug 2009 11:55:12 +0200 Message-ID: <4A83E300.5000104@gmx.at> References: <4A81374E.9050401@gmx.at> <4A8283EF.5080007@gmx.at> <4A82C49A.4000209@gmx.at> <4A82F64B.2030606@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250157776 25182 80.91.229.12 (13 Aug 2009 10:02:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 10:02:56 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 13 12:02:48 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 1MbX8y-0008Hw-Kw for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 12:02:48 +0200 Original-Received: from localhost ([127.0.0.1]:41044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbX8v-0006dj-V7 for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 06:02:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbX1k-0004QO-VT for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:55:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbX1g-0004Od-4u for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:55:20 -0400 Original-Received: from [199.232.76.173] (port=54428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbX1f-0004OX-Tr for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:55:15 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:49024) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MbX1f-0001Os-5C for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:55:15 -0400 Original-Received: (qmail invoked by alias); 13 Aug 2009 09:55:13 -0000 Original-Received: from 62-47-61-170.adsl.highway.telekom.at (EHLO [62.47.61.170]) [62.47.61.170] by mail.gmx.net (mp021) with SMTP; 13 Aug 2009 11:55:13 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX191kIxRlGN1iHKfcANd/sNZQ9byFXqRL3Mf0Ofphm mPqty9b/dgEgNt User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:114170 Archived-At: > Ehum, as always..., here is a better, somewhat more working version... ;-) IIUC you're going down in some window tree and try to distribute the available space among the children of each internal window. But the interesting part is when you have to backtrack because some window didn't fit into its parent and you have to shrink (or enlarge) some (grand-)parent's sibling. I couldn't find that part :-( martin