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: session management with desktop and window configuration Date: Fri, 1 Jan 2010 16:04:30 +0100 Message-ID: References: <4B3C8BAB.7000607@gmx.at> <4B3CE01B.5090502@gmx.at> <4B3E0CCC.8090107@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 1262358331 4054 80.91.229.12 (1 Jan 2010 15:05:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jan 2010 15:05:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Kiwon Um To: martin rudalics Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 01 16:05:24 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NQj48-0007vK-3Z for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Jan 2010 16:05:24 +0100 Original-Received: from localhost ([127.0.0.1]:41352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQj48-0002gW-MW for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Jan 2010 10:05:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQj3h-0002eX-H1 for help-gnu-emacs@gnu.org; Fri, 01 Jan 2010 10:04:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQj3b-0002dX-JU for help-gnu-emacs@gnu.org; Fri, 01 Jan 2010 10:04:55 -0500 Original-Received: from [199.232.76.173] (port=44886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQj3b-0002dU-EM for help-gnu-emacs@gnu.org; Fri, 01 Jan 2010 10:04:51 -0500 Original-Received: from mail-yw0-f177.google.com ([209.85.211.177]:53006) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQj3a-0002zN-SG for help-gnu-emacs@gnu.org; Fri, 01 Jan 2010 10:04:50 -0500 Original-Received: by ywh7 with SMTP id 7so4078255ywh.24 for ; Fri, 01 Jan 2010 07:04:50 -0800 (PST) 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 :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=6umjNpjSCzI+W6TbjE25cucM+LHDhBiZ3v/uaFTOmtw=; b=skofxKwlceF+yAFeXJsAtJHisjJa1DkFqmYC4qV4noRFpi342n6LcmKtOnEZq5bbDL zQBGPgWoVobQ+A8pSOyQEumLxIZBtSIkDAxlj6WmvIELjFounOgxUyWFYyS20xDMXjFN 27kGQtu+yam2VDRwHllIcL7A9sbbiQOQNk4/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=DNt9Gr2cNHlBVnv/YIUO/wTRYW0mexe1FoJDtfkfhRLNqB9W6ixdLGb74N5t4m19bG Mq7XGSNLyEUBRlBApSFQbsPPPn8YXvrHgl5A9MfpOKC4/oUflkLwceWkB2rm4awOf0Cr h7IOkeEoPqMWgfkfq9d7CLcaRFXj8Y5IeYmyw= Original-Received: by 10.101.105.25 with SMTP id h25mr30554792anm.63.1262358290231; Fri, 01 Jan 2010 07:04:50 -0800 (PST) In-Reply-To: <4B3E0CCC.8090107@gmx.at> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:71004 Archived-At: On Fri, Jan 1, 2010 at 3:55 PM, martin rudalics wrote: >> Strange things happens during resizing. > > The inherent problem of resizing is that you can't specify _which_ other > windows may be affected when resizing a particular window. =C2=A0So you e= nd > up doing what your and Stefan's balancing routines do: Adjusting the > size of one window may break the size of another one and ou have to go > on until the configuration converges to (a possibly suboptimal) one > which can't be improved by the algorithm. > > My current code allows to specify the sizes of windows directly. =C2=A0It > only checks whether the sizes fit - if they do it applies them Is there an elisp function to access it? > (in one > direction only though - so for resizing horizontally and vertically you > have to run the code twice). Don't you have to run it once for every node in the window tree? > What I don't know yet is whether we should > keep the splitting concept of winsave.el. =C2=A0IIRC it's a bit tedious s= ince > you have to make sure that the window you want to split is large enough. > OTOH writing some extra code to construct a window tree from a saved > description is not very funny either (especially because I would have to > write it in C.) > > martin >