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: Tue, 28 Jul 2009 11:39:30 +0200 Message-ID: References: <4A6DAF71.6070002@gmx.at> <4A6DBB3A.90001@gmx.at> <4A6DC1A1.2000208@gmx.at> <4A6DDB61.8090403@gmx.at> <4A6EAB02.6080701@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 1248773996 32625 80.91.229.12 (28 Jul 2009 09:39:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 09:39:56 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Miles Bader To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 28 11:39: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 1MVj9v-00045S-VS for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2009 11:39:48 +0200 Original-Received: from localhost ([127.0.0.1]:33337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVj9v-000633-Do for ged-emacs-devel@m.gmane.org; Tue, 28 Jul 2009 05:39:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVj9p-00062w-3B for emacs-devel@gnu.org; Tue, 28 Jul 2009 05:39:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVj9k-00061f-AU for emacs-devel@gnu.org; Tue, 28 Jul 2009 05:39:40 -0400 Original-Received: from [199.232.76.173] (port=37735 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVj9k-00061Y-5X for emacs-devel@gnu.org; Tue, 28 Jul 2009 05:39:36 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:59568) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVj9g-0006zr-0g; Tue, 28 Jul 2009 05:39:32 -0400 Original-Received: by yxe2 with SMTP id 2so6852899yxe.14 for ; Tue, 28 Jul 2009 02:39:31 -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=3u16uZtg7oDfae+4YVj2pviWFZZB73JcW/n6AdlRcOg=; b=L/p7ZtjaGFfG9RyIXqe1yHzX7ZV/UvDCGf0M+Lzb/6KGomcehTWh3zor21hNx9XsmF iqA8Sx0CQLSEUkY3EPW2as7DaB60mwkGvuLgC8AZQnFUpXV270RAgvuIaC0Pag35L5mT Eg+LHJ2IAyWyRzNGpxLmYShHjh7hbWTmuCdlE= 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=Usnatl6w0QyBtxnHjnxcljHFFLLPDCFplrYpGIHZ27Ed0+iNPOfCIbf3w0Z31PdakF xLEYyHoiwCC8aYMZcXSMRD/ahuNQ7KCEvveWkrez0eFt3QuUsBVCfLkzKsUwdjE+aWA+ PZOjoScpzIuhgVurS0BeZQKxq5N1/NWGYEzng= Original-Received: by 10.100.231.15 with SMTP id d15mr9632985anh.77.1248773970973; Tue, 28 Jul 2009 02:39:30 -0700 (PDT) In-Reply-To: <4A6EAB02.6080701@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:113280 Archived-At: On Tue, Jul 28, 2009 at 9:38 AM, martin rudalics wrote: > >> - Even if you have the code to compute the desired shape of the tree, it= 's >> =C2=A0 far from trivial to figure out how to go from the current tree sh= ape to >> =C2=A0 the goal tree shape without bumping into things like window-min-h= eight >> =C2=A0 and window-min-width on intermediate states. > > And fixed-size windows. =C2=A0It's a pain. =C2=A0Some combinations of des= ired > window configuration / frame sizes do not even have a solution at all > (just like putting footnotes on pages): You can't put a cretain window > into a frame because it won't fit due to some restrictions; so you > decide to delete it. =C2=A0But if you delete it, the remaining windows wo= n't > fit, so you put it back. In the situation when you try to put back a window tree config into a window/frame and there is no solution I guess the best would be to not put anything back.