From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Thu, 13 Aug 2009 11:57:59 +0200 Message-ID: References: <4A8283EF.5080007@gmx.at> <4A82C49A.4000209@gmx.at> <4A82F64B.2030606@gmx.at> <4A83E300.5000104@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250157845 25361 80.91.229.12 (13 Aug 2009 10:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 10:04:05 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 13 12:03:57 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 1MbXA5-0000Hg-3K for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 12:03:57 +0200 Original-Received: from localhost ([127.0.0.1]:41600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbXA2-0006zZ-A3 for ged-emacs-devel@m.gmane.org; Thu, 13 Aug 2009 06:03:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbX4Q-0005Am-M3 for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:58:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbX4L-0005A5-No for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:58:06 -0400 Original-Received: from [199.232.76.173] (port=54459 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbX4L-0005A2-BG for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:58:01 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:62199) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbX4K-0001pp-T7 for emacs-devel@gnu.org; Thu, 13 Aug 2009 05:58:01 -0400 Original-Received: by yxe2 with SMTP id 2so872734yxe.14 for ; Thu, 13 Aug 2009 02:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6B8IIyDn5tuZHGN+1JyjzVulb7AaySLtj4N+HZ4p7YM=; b=LgeF9E4A6JU9MM2f0BvSVF7EK+AiI42xYWYHuQe64oa42a1EPPyFPUNLZlfssPjVPb 6iZ2msNP1RsBXS2Rb52fCMS8DXlFruq1skchYGcBbY8LMbdHQsNv6ktTBUL5tprnatgg 332jScCPpYMmTnVqItewxd4k+tbzus7wckbaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zj8Y5RYKGPA/fEXehGT9wkv5hWZ24Eu/xHnViboF2sF9lYgU32YVI+j/irlwr7Ng8u LwmE65SDXAt92+fGMe2ht7WlKWJth9Ye/5mLX7vgwQ7HVRGWNehek1PTbgdtcDXETi97 hXw8ZewRyZGA6KOUkvKlZnKACrHVbe9qhHUV8= Original-Received: by 10.101.111.14 with SMTP id o14mr814318anm.83.1250157479923; Thu, 13 Aug 2009 02:57:59 -0700 (PDT) In-Reply-To: <4A83E300.5000104@gmx.at> X-detected-operating-system: by monty-python.gnu.org: GNU/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:114171 Archived-At: On Thu, Aug 13, 2009 at 11:55 AM, martin rudalics wrote: >> 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. =C2=A0But 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. =C2=A0I couldn't find that part :-( And that is the whole point of going up the tree and collecting sizes first= ...