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: Infrastructural complexity. Date: Fri, 24 Jul 2009 16:20:35 +0200 Message-ID: References: <20090712180623.GA1009@muc.de> <4A67593D.6020908@gmx.at> <1248289454.7109.47.camel@dell-desktop.example.com> <4A682C53.2080307@gmx.at> <1248375083.15583.9.camel@dell-desktop.example.com> <4A6970CA.7090006@gmx.at> <4A69A4C1.1010408@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 1248445265 27388 80.91.229.12 (24 Jul 2009 14:21:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jul 2009 14:21:05 +0000 (UTC) Cc: Thomas Lord , rms@gnu.org, cyd@stupidchicken.com, joakim@verona.se, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca, acm@muc.de, drew.adams@oracle.com, Miles Bader To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 24 16:20:56 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 1MULdl-0004C9-Hz for ged-emacs-devel@m.gmane.org; Fri, 24 Jul 2009 16:20:53 +0200 Original-Received: from localhost ([127.0.0.1]:60052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MULdk-0005eL-TE for ged-emacs-devel@m.gmane.org; Fri, 24 Jul 2009 10:20:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MULdf-0005eE-GR for emacs-devel@gnu.org; Fri, 24 Jul 2009 10:20:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MULdX-0005dM-Rp for emacs-devel@gnu.org; Fri, 24 Jul 2009 10:20:44 -0400 Original-Received: from [199.232.76.173] (port=33256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MULdX-0005dJ-Nx for emacs-devel@gnu.org; Fri, 24 Jul 2009 10:20:39 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.251]:29392) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MULdV-0005Ku-7c; Fri, 24 Jul 2009 10:20:37 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so1610263ana.21 for ; Fri, 24 Jul 2009 07:20:36 -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=bctPGdMp2pHDaMXGcKcr55uPjwCVCBA+AJ8GLhSIiXM=; b=ubIG+OQikUN/RGPjKvR5IBx1e+fNl0JUXezg624DKnqjV+/OuTUXIBOGl3ITMhebZp 3bamDqVi5S8ZRthyU+UpkXAfRn4we1NBkfQU7AmtG4Rl7dz+ZQCX+NnKZy1iS4N+avLC Ui3Cej06UwdTGmhl4x1CvJhzKSWzy5KAu+92Q= 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=BLMbbH61JcukTCIKICWMGvyHRZvbTc1q8ZWmcviTtifUEe8340MCyhfjlgaGD6wY5K tfYAd9l7BQ3T8Y8vXU5TMLqsxldQ39wJ6G26OiR5wEStXKKnoIUvkJAanziPTGgZKBNU zZCgAqh1dXVPZ0A5xcWNgXyGa7xj+9kiUjxzE= Original-Received: by 10.100.164.12 with SMTP id m12mr4508668ane.131.1248445236012; Fri, 24 Jul 2009 07:20:36 -0700 (PDT) In-Reply-To: <4A69A4C1.1010408@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:113097 Archived-At: On Fri, Jul 24, 2009 at 2:10 PM, martin rudalics wrote: >> As an example consider ECBs windows. There is currently a command in >> ECB to hide/show them today. That could be implemented by >> hiding/showing a window group. > > ECB does this by saving a window configuration, deleting the respective > windows, and resurrecting the saved configuration when the user wants > the windows to show up again. =C2=A0Resurrection occurs procedurally, tha= t is > by recursively splitting the root window of a frame. Yes, maybe that is the best way, I am not sure. > There's no problem doing that the way sketched above. =C2=A0I'm skeptical > about hiding windows by giving them zero height or width, though. I did not mean giving the zero height ot width. That would be confusing. I meant visibility as a new property. > My code can split any root window (or any group root window) and clone > any saved window group into any of the two emanating halves. =C2=A0And it > does not need to split windows to accomplish that. That sounds very good. To throw away that part of my code in winsav.el I would need three more things: - Rotate - Transpose and > The > additional frame resizing code when a window group that spans an entire > side of that frame is removed would have to be written but that seems > fairly straightforward. - Resizing. Actually the reszing code when putting back a window tree in winsav was one of the most frustrating pieces of code I have written because it had to fight what the C code was doing. I think the resizing code is one of those pieces that should be written in C. It should be much more simple there (the logic I mean ...).