From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: New balance-windows Date: Sat, 06 Aug 2005 23:14:35 +0200 Message-ID: <42F5283B.7000000@student.lu.se> References: <87pssv3kai.fsf@thalassa.informatimago.com> <1123035204.009217.187300@g14g2000cwa.googlegroups.com> <87fytr3ea2.fsf@thalassa.informatimago.com> <87vf2juij1.fsf@thalassa.informatimago.com> <878xzevlop.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123363796 5703 80.91.229.2 (6 Aug 2005 21:29:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2005 21:29:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 23:29:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1WE7-00017O-0s for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Aug 2005 23:29:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1WH2-0003mJ-2G for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Aug 2005 17:32:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1WG5-0003cz-IU for help-gnu-emacs@gnu.org; Sat, 06 Aug 2005 17:31:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1WFm-0003TT-VR for help-gnu-emacs@gnu.org; Sat, 06 Aug 2005 17:31:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1WFl-0003P4-3E for help-gnu-emacs@gnu.org; Sat, 06 Aug 2005 17:30:49 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E1WDO-0007Qu-CU for help-gnu-emacs@gnu.org; Sat, 06 Aug 2005 17:28:22 -0400 Original-Received: from [192.168.123.121] (83.249.202.239) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 42B93717006EFCAB; Sat, 6 Aug 2005 23:14:35 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Pascal Bourguignon In-Reply-To: <878xzevlop.fsf@thalassa.informatimago.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28498 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28498 Pascal Bourguignon wrote: >>Is the problem really that welldefined in Emacs? Do you know how the >>windows have been splitted? The difference above may perhaps be seen >>as emerging from that difficulty? >> >> > >Indeed, but the data is available at least internally, so it should be >easy to patch emacs to publish window parameters like it's done for >frame parameters for example. > >File: elisp, Node: Window Internals > > Thanks, I did not know this was available. Then the windows in each frame can be seen as a tree using those fields you mentioned. But what should then be done with this? What should the mapping between this tree and the visual view be? It looks to me that the level in the tree alone will not give any useful hint. The topology (ie whether the splitting was horizontal or vertical) must be taken into account, but maybe the level in the tree can be used too? It actually looks a bit difficult...