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: Infrastructural complexity. Date: Sat, 25 Jul 2009 10:54:12 +0200 Message-ID: <4A6AC834.3060802@gmx.at> References: <20090712180623.GA1009@muc.de> <1247966060.7410.63.camel@dell-desktop.example.com> <4A62F7AD.4000609@gmx.at> <87eiscn223.fsf@catnip.gol.com> <4A643993.5080302@gmx.at> <87ljmjl9ow.fsf@catnip.gol.com> <4A648E1D.1000007@gmx.at> <877hy3l3kj.fsf@catnip.gol.com> <4A64BF58.4030001@gmx.at> <871vobkny7.fsf@catnip.gol.com> <4A658CD2.8020504@gmx.at> <4A65C1FF.50602@gmx.at> <4A65F9F2.3060908@gmx.at> <4A672944.3080407@gmx.at> <4A682CD6.7030107@gmx.at> <4A68A099.3050501@gmx.at> <4A6970EC.7030501@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248512356 28438 80.91.229.12 (25 Jul 2009 08:59:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2009 08:59:16 +0000 (UTC) Cc: lord@emf.net, cyd@stupidchicken.com, lennart.borgman@gmail.com, joakim@verona.se, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca, acm@muc.de, drew.adams@oracle.com, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 25 10:59:07 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 1MUd5u-0005Vg-6M for ged-emacs-devel@m.gmane.org; Sat, 25 Jul 2009 10:59:06 +0200 Original-Received: from localhost ([127.0.0.1]:44697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUd5t-0005eq-Gw for ged-emacs-devel@m.gmane.org; Sat, 25 Jul 2009 04:59:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUd1M-0004Dd-3V for emacs-devel@gnu.org; Sat, 25 Jul 2009 04:54:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUd1H-0004Bk-BI for emacs-devel@gnu.org; Sat, 25 Jul 2009 04:54:23 -0400 Original-Received: from [199.232.76.173] (port=52276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUd1H-0004Bg-5P for emacs-devel@gnu.org; Sat, 25 Jul 2009 04:54:19 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:34545) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MUd1G-0005C9-FZ for emacs-devel@gnu.org; Sat, 25 Jul 2009 04:54:18 -0400 Original-Received: (qmail invoked by alias); 25 Jul 2009 08:54:17 -0000 Original-Received: from 62-47-33-192.adsl.highway.telekom.at (EHLO [62.47.33.192]) [62.47.33.192] by mail.gmx.net (mp044) with SMTP; 25 Jul 2009 10:54:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19is+BYLJRi81n7eG9bvveB29Xi5qDOXGa9cpR0o4 Xpkt30cXmipVC4 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 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:113126 Archived-At: > I used window configurations as a simple and reliable way to make > sure it would not delete the window. If someone wants to make it use > a different and faster method, I have nothing against it. Any such method would have to guess whether, which, and how many, windows `enlarge-window' is going to delete. Counting windows and restoring saved window configurations seems indeed like the most simple and reliable approach to do that. > Note that `adjust-window-trailing-edge' is conceptually a lower level > and more predictable operation than `enlarge-window'. One could > imagine rewriting `enlarge-window' in Lisp and making it use > `adjust-window-trailing-edge'. Currently, `adjust-window-trailing-edge' has a bug in that it does not handle fixed-size windows correctly, see bug#3689. I think we need an `enlarge-window' function which does not delete windows but is allowed to resize any other windows that are not fixed-size. martin