From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Window configurations Date: Tue, 18 May 2010 01:48:30 +0300 Organization: JURTA Message-ID: <874oi6kvsh.fsf@mail.jurta.org> References: <4BE96186.7060504@gmx.de> <4BEA74B7.2070609@gmx.at> <4BEA8D2D.4090109@gmx.de> <4BEAA73F.4060608@gmx.at> <4BEAF487.1070605@gmx.de> <4BEBD2E3.8020200@gmx.at> <4BEBE52D.5080102@gmx.de> <87eihf3don.fsf@mail.jurta.org> <87ocgfcwx3.fsf@mail.jurta.org> <4BF10710.8070106@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274137905 2122 80.91.229.12 (17 May 2010 23:11:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 May 2010 23:11:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 18 01:11:44 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OE9TJ-0005ZY-TW for ged-emacs-devel@m.gmane.org; Tue, 18 May 2010 01:11:44 +0200 Original-Received: from localhost ([127.0.0.1]:54990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OE9TF-00049Y-Fq for ged-emacs-devel@m.gmane.org; Mon, 17 May 2010 19:11:37 -0400 Original-Received: from [140.186.70.92] (port=46749 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OE9T0-00041S-AS for emacs-devel@gnu.org; Mon, 17 May 2010 19:11:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OE9Su-0007bS-M7 for emacs-devel@gnu.org; Mon, 17 May 2010 19:11:22 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:44265 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OE9Su-0007b9-FV for emacs-devel@gnu.org; Mon, 17 May 2010 19:11:16 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.31.134.cable.starman.ee [82.131.31.134]) by mx1.starman.ee (Postfix) with ESMTP id BCD7B3F40A7; Tue, 18 May 2010 02:11:12 +0300 (EEST) In-Reply-To: <4BF10710.8070106@gmx.at> (martin rudalics's message of "Mon, 17 May 2010 11:06:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:124875 Archived-At: >> We could use something like this to define window configurations because >> FRAME is like Emacs window, and FRAMESET is like internal window, e.g. >> >> (window-set (rows 30 55 15) >> (window-set (cols 75 25) >> (window (buffer . "top-window-1")) > [...] >> where window-set with rows splits vertically, >> and window-set with cols splits horizontally. > > I suppose we need something more accurate than integer precentages. > > And we have to decide how to handle fixed-size windows - they want some > absolute size. HTML frame configurations allow percentages, relative and absolute values, e.g. rows="30%,400,*,2*". We could support the same specification http://www.w3.org/TR/REC-html40/present/frames.html with a list like (rows 0.3 400 '* '(* 2)) -- Juri Linkov http://www.jurta.org/emacs/